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

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