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.
Update Linux/Linux to 0b217a40156f497e09dd20d3f7baec40c785f386 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scannet: mscc: ocelot: add missing lock protection in ocelot_port_xmit_inj() affects Linux/Linux (generic), Linux/Linux (generic). Severity is medium. 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.
AI coding agents often install or upgrade packages automatically in generic. A medium vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
| Linux/Linux |
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.
Update Linux/Linux to 0b217a40156f497e09dd20d3f7baec40c785f386 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scannet: mscc: ocelot: add missing lock protection in ocelot_port_xmit_inj() affects Linux/Linux (generic), Linux/Linux (generic). Severity is medium. 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.
AI coding agents often install or upgrade packages automatically in generic. A medium vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
| Linux/Linux |
| >=960ec92774e152b677ccd0006abcab7b9dd814c2 <0b217a40156f497e09dd20d3f7baec40c785f386 || >=e83b49ecb569c9c5fa7cc30e55cf2c15f71f9f39 <cc1b179f778f98270bdbbb48d183b4b6427ae198 || >=c5e12ac3beb0dd3a718296b2d8af5528e9ab728e <7ac58d8832802ec89baa7539e13e6d58a88cce04 || >=c5e12ac3beb0dd3a718296b2d8af5528e9ab728e <51c32ae7fae14552d79f7139614b77c1bbd57a48 || >=c5e12ac3beb0dd3a718296b2d8af5528e9ab728e <63da961381e0d979459dede713001f8452364477 || >=c5e12ac3beb0dd3a718296b2d8af5528e9ab728e <026f6513c5880c2c89e38ad66bbec2868f978605 || 609cd73bf38bbd48f1e695e01802114b01aa8811 || >=6.1.107 <6.1.165 || >=6.6.48 <6.6.128 || >=6.10.7 <6.11 |
| 0b217a40156f497e09dd20d3f7baec40c785f386, cc1b179f778f98270bdbbb48d183b4b6427ae198, 7ac58d8832802ec89baa7539e13e6d58a88cce04, 51c32ae7fae14552d79f7139614b77c1bbd57a48, 63da961381e0d979459dede713001f8452364477, 026f6513c5880c2c89e38ad66bbec2868f978605, 6.1.165, 6.6.128, 6.11 |
| Linux/Linuxgeneric | 6.11 | Not reported |
|---|
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by CVE List V5 (cvelist).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard| >=960ec92774e152b677ccd0006abcab7b9dd814c2 <0b217a40156f497e09dd20d3f7baec40c785f386 || >=e83b49ecb569c9c5fa7cc30e55cf2c15f71f9f39 <cc1b179f778f98270bdbbb48d183b4b6427ae198 || >=c5e12ac3beb0dd3a718296b2d8af5528e9ab728e <7ac58d8832802ec89baa7539e13e6d58a88cce04 || >=c5e12ac3beb0dd3a718296b2d8af5528e9ab728e <51c32ae7fae14552d79f7139614b77c1bbd57a48 || >=c5e12ac3beb0dd3a718296b2d8af5528e9ab728e <63da961381e0d979459dede713001f8452364477 || >=c5e12ac3beb0dd3a718296b2d8af5528e9ab728e <026f6513c5880c2c89e38ad66bbec2868f978605 || 609cd73bf38bbd48f1e695e01802114b01aa8811 || >=6.1.107 <6.1.165 || >=6.6.48 <6.6.128 || >=6.10.7 <6.11 |
| 0b217a40156f497e09dd20d3f7baec40c785f386, cc1b179f778f98270bdbbb48d183b4b6427ae198, 7ac58d8832802ec89baa7539e13e6d58a88cce04, 51c32ae7fae14552d79f7139614b77c1bbd57a48, 63da961381e0d979459dede713001f8452364477, 026f6513c5880c2c89e38ad66bbec2868f978605, 6.1.165, 6.6.128, 6.11 |
| Linux/Linuxgeneric | 6.11 | Not reported |
|---|
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by CVE List V5 (cvelist).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard