CVEvulnerability

CVE-2026-45849

5.5 MEDIUM Published 2026-05-27 Modified 2026-06-25 Official page ↗
Status
Analyzed
Published
2026-05-27
Last modified
2026-06-25
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-667

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 configurations

• linux linux kernel (>= 6.1.107 < 6.1.165) • linux linux kernel (>= 6.6.48 < 6.6.128) • linux linux kernel (>= 6.10.7 < 6.11) • linux linux kernel (>= 6.11.1 < 6.12.75) • linux linux kernel (>= 6.13 < 6.18.14) • linux linux kernel (>= 6.19 < 6.19.4) • linux linux kernel 6.11

Related

Weakness · CWE (1)

  • CWE-667 Improper Locking weakness

References