CVE-2026-45849

net: mscc: ocelot: add missing lock protection in ocelot_port_xmit_inj()

MEDIUM
5.5
CVSS Score
Published: May 27, 2026 at 12:15 PM UTC
Updated: June 27, 2026 at 11:41 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 6.10.76.1.107 ≤ v < 6.1.1656.10.7 ≤ v < 6.116.11 ≤ v < 6.12.756.11 ≤ v < 6.18.146.11 ≤ v < 6.19.46.11 ≤ v < 7.06.11.1 ≤ v < 6.12.756.13 ≤ v < 6.18.146.19 ≤ v < 6.19.46.6.48 ≤ v < 6.6.1286.1.1076.10.76.116.11 rc56.11 rc66.11 rc76.6.48609cd73bf38bbd48f1e695e01802114b01aa8811960ec92774e152b677ccd0006abcab7b9dd814c2c5e12ac3beb0dd3a718296b2d8af5528e9ab728ee83b49ecb569c9c5fa7cc30e55cf2c15f71f9f39
Vendor states this is fixed in 026f6513c5880c2c89e38ad66bbec2868f978605 (fixed)
Vendor states this is fixed in 0b217a40156f497e09dd20d3f7baec40c785f386 (fixed)
Vendor states this is fixed in 51c32ae7fae14552d79f7139614b77c1bbd57a48 (fixed)
Vendor states this is fixed in 63da961381e0d979459dede713001f8452364477 (fixed)
Vendor states this is fixed in 7ac58d8832802ec89baa7539e13e6d58a88cce04 (fixed)
Vendor states this is fixed in cc1b179f778f98270bdbbb48d183b4b6427ae198 (fixed)
Vendor states this is fixed in 6.1.165 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.12.75 (unaffected)
Vendor states this is fixed in 6.18.14 (unaffected)
Vendor states this is fixed in 6.19.4 (unaffected)
Vendor states this is fixed in 6.6.128 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-667

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card