CVE-2026-45849
net: mscc: ocelot: add missing lock protection in ocelot_port_xmit_inj()
MEDIUM 5.5
En bref
- Source
- NVD
- EPSS
- EPSS 0.14 % · centile 3 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Analyzed
Description
In the Linux kernel, the following vulnerability has been resolved: net: mscc: ocelot: add missing lock protection in ocelot_port_xmit_inj() ocelot_port_xmit_inj() calls ocelot_can_inject() and ocelot_port_inject_frame() without holding the injection group lock. Both functions contain lockdep_assert_held() for the injection lock, and the correct caller felix_port_deferred_xmit() properly acquires the lock using ocelot_lock_inj_grp() before calling these functions. Add ocelot_lock_inj_grp()/ocelot_unlock_inj_grp() around the register injection path to fix the missing lock protection. The FDMA path is not affected as it uses its own locking mechanism.
Faiblesses (CWE)
- CWE-667 — Improper Locking
Références
- https://git.kernel.org/stable/c/0b217a40156f497e09dd20d3f7baec40c785f386
- https://git.kernel.org/stable/c/cc1b179f778f98270bdbbb48d183b4b6427ae198
- https://git.kernel.org/stable/c/7ac58d8832802ec89baa7539e13e6d58a88cce04
- https://git.kernel.org/stable/c/51c32ae7fae14552d79f7139614b77c1bbd57a48
- https://git.kernel.org/stable/c/63da961381e0d979459dede713001f8452364477
- https://git.kernel.org/stable/c/026f6513c5880c2c89e38ad66bbec2868f978605
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
Références européennes
- ENISA EUVD · EUVD-2026-32315
- GCVE · GCVE-0-2026-45849
Avis du CERT-FR
- CERTFR-2026-AVI-1064 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0954 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0861 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0831 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.1.107 < 6.1.165cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.6.48 < 6.6.128cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.10.7 < 6.11cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.11.1 < 6.12.75cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.13 < 6.18.14cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.19 < 6.19.4cpe:2.3:o:linux:linux_kernel:6.11:-:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.11:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.11:rc6:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.11:rc7:*:*:*:*:*:*
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 960ec92774e152b677ccd0006abcab7b9dd814c2 < 0b217a40156f497e09dd20d3f7baec40c785f386 ; affected e83b49ecb569c9c5fa7cc30e55cf2c15f71f9f39 < cc1b179f778f98270bdbbb48d183b4b6427ae198 ; affected c5e12ac3beb0dd3a718296b2d8af5528e9ab728e < 7ac58d8832802ec89baa7539e13e6d58a88cce04 ; affected c5e12ac3beb0dd3a718296b2d8af5528e9ab728e < 51c32ae7fae14552d79f7139614b77c1bbd57a48 ; affected c5e12ac3beb0dd3a718296b2d8af5528e9ab728e < 63da961381e0d979459dede713001f8452364477 ; affected c5e12ac3beb0dd3a718296b2d8af5528e9ab728e < 026f6513c5880c2c89e38ad66bbec2868f978605 |
| Linux · Linux | affected 6.11 ; unaffected 0 < 6.11 ; unaffected 6.1.165 ≤ 6.1.* ; unaffected 6.6.128 ≤ 6.6.* ; unaffected 6.12.75 ≤ 6.12.* ; unaffected 6.18.14 ≤ 6.18.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |