CVE-2026-45849

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

No CVSS score yet EPSS 0.14%

Published 27 May 2026 Updated 27 May 2026 CNA: Linux

Check your servers for CVE-2026-45849

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-45849 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.14%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 1.76% of all scored CVEs. Scores of 30 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 960ec92774e152b677ccd0006abcab7b9dd814c2, before 0b217a40156f497e09dd20d3f7baec40c785f386
affected from e83b49ecb569c9c5fa7cc30e55cf2c15f71f9f39, before cc1b179f778f98270bdbbb48d183b4b6427ae198
affected from c5e12ac3beb0dd3a718296b2d8af5528e9ab728e, before 7ac58d8832802ec89baa7539e13e6d58a88cce04
affected from c5e12ac3beb0dd3a718296b2d8af5528e9ab728e, before 51c32ae7fae14552d79f7139614b77c1bbd57a48
affected from c5e12ac3beb0dd3a718296b2d8af5528e9ab728e, before 63da961381e0d979459dede713001f8452364477
affected from c5e12ac3beb0dd3a718296b2d8af5528e9ab728e, before 026f6513c5880c2c89e38ad66bbec2868f978605
affected 609cd73bf38bbd48f1e695e01802114b01aa8811
affected from 6.1.107, before 6.1.165
affected from 6.6.48, before 6.6.128
affected from 6.10.7, before 6.11
Other versions: unaffected
Linux
affected 6.11
unaffected before 6.11
unaffected from 6.1.165 up to and including 6.1.*
unaffected from 6.6.128 up to and including 6.6.*
unaffected from 6.12.75 up to and including 6.12.*
unaffected from 6.18.14 up to and including 6.18.*
unaffected from 6.19.4 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-45849 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-45849

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-45849
trivy image --scanners vuln IMAGE | grep CVE-2026-45849

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-45849 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.