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

Summary

CVECVE-2026-45849
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-05-27 14:16:56 UTC
Updated2026-05-27 14:48:31 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.000240000 probability, percentile 0.073320000 (date 2026-06-01)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 960ec92774e152b677ccd0006abcab7b9dd814c2 0b217a40156f497e09dd20d3f7baec40c785f386 git Not specified
CNA Linux Linux affected e83b49ecb569c9c5fa7cc30e55cf2c15f71f9f39 cc1b179f778f98270bdbbb48d183b4b6427ae198 git Not specified
CNA Linux Linux affected c5e12ac3beb0dd3a718296b2d8af5528e9ab728e 7ac58d8832802ec89baa7539e13e6d58a88cce04 git Not specified
CNA Linux Linux affected c5e12ac3beb0dd3a718296b2d8af5528e9ab728e 51c32ae7fae14552d79f7139614b77c1bbd57a48 git Not specified
CNA Linux Linux affected c5e12ac3beb0dd3a718296b2d8af5528e9ab728e 63da961381e0d979459dede713001f8452364477 git Not specified
CNA Linux Linux affected c5e12ac3beb0dd3a718296b2d8af5528e9ab728e 026f6513c5880c2c89e38ad66bbec2868f978605 git Not specified
CNA Linux Linux affected 609cd73bf38bbd48f1e695e01802114b01aa8811 git Not specified
CNA Linux Linux affected 6.1.107 6.1.165 semver Not specified
CNA Linux Linux affected 6.6.48 6.6.128 semver Not specified
CNA Linux Linux affected 6.10.7 6.11 semver Not specified
CNA Linux Linux affected 6.11 Not specified
CNA Linux Linux unaffected 6.11 semver Not specified
CNA Linux Linux unaffected 6.1.165 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.128 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.75 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.14 6.18.* semver Not specified
CNA Linux Linux unaffected 6.19.4 6.19.* semver Not specified
CNA Linux Linux unaffected 7.0 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/026f6513c5880c2c89e38ad66bbec2868f978605 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/63da961381e0d979459dede713001f8452364477 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/cc1b179f778f98270bdbbb48d183b4b6427ae198 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7ac58d8832802ec89baa7539e13e6d58a88cce04 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0b217a40156f497e09dd20d3f7baec40c785f386 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/51c32ae7fae14552d79f7139614b77c1bbd57a48 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report