CVE-2026-45849: net: mscc: ocelot: add missing lock protection in ocelot_port_xmit_inj()

Published May 27, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

ocelotportxmitinj() calls ocelotcaninject() and ocelotportinjectframe() without holding the injection group lock. Both functions contain lockdepassertheld() for the injection lock, and the correct caller felixportdeferredxmit() properly acquires the lock using ocelotlockinjgrp() before calling these functions.

Add ocelotlockinjgrp()/ocelotunlockinjgrp() 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 Software

11 affected components
Linux Linux kernel (mscc: ocelot)
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
Linux Linux kernel=6.11-rc5
Linux Linux kernel=6.11-rc6
Linux Linux kernel=6.11-rc7

Event History

May 27, 2026
CVE Published
via MITRE·12:15 PM
Data Sourced
via MITRE·12:15 PM
Description
Data Sourced
via NVD·02:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Which systems are affected by this locking issue?

The issue affects Linux kernel deployments using the MSCC Ocelot driver and its register-based frame injection path. The FDMA path is not affected because it has separate locking.

2

What access would an attacker need to exploit it?

The CVSS vector indicates local access, low attack complexity, and low privileges are required. No user interaction is required.

3

What is the impact of successful exploitation?

The reported impact is limited to availability, with a High availability impact and no confidentiality or integrity impact in the supplied CVSS vector.

4

What should be done if the affected path is in use?

Apply a kernel update containing the missing injection-group locking fix. The provided stable kernel references identify commits carrying the correction.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203