{"id":"CVE-2026-45849","aliases":["CVE-2026-45849"],"related":[],"kind":"vulnerability","state":"published","title":"net: mscc: ocelot: add missing lock protection in ocelot_port_xmit_inj()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mscc: ocelot: add missing lock protection in ocelot_port_xmit_inj()\n\nocelot_port_xmit_inj() calls ocelot_can_inject() and\nocelot_port_inject_frame() without holding the injection group lock.\nBoth functions contain lockdep_assert_held() for the injection lock,\nand the correct caller felix_port_deferred_xmit() properly acquires\nthe lock using ocelot_lock_inj_grp() before calling these functions.\n\nAdd ocelot_lock_inj_grp()/ocelot_unlock_inj_grp() around the register\ninjection path to fix the missing lock protection. The FDMA path is not\naffected as it uses its own locking mechanism.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mscc: ocelot: add missing lock protection in ocelot_port_xmit_inj()\n\nocelot_port_xmit_inj() calls ocelot_can_inject() and\nocelot_port_inject_frame() without holding the injection group lock.\nBoth functions contain lockdep_assert_held() for the injection lock,\nand the correct caller felix_port_deferred_xmit() properly acquires\nthe lock using ocelot_lock_inj_grp() before calling these functions.\n\nAdd ocelot_lock_inj_grp()/ocelot_unlock_inj_grp() around the register\ninjection path to fix the missing lock protection. The FDMA path is not\naffected as it uses its own locking mechanism.","source":"cvelist"}],"published":"2026-05-27T12:15:15.494Z","modified":"2026-06-25T21:03:35.277Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-667"],"affected":[{"ranges":[{"type":"git","introduced":"960ec92774e152b677ccd0006abcab7b9dd814c2","fixed":"0b217a40156f497e09dd20d3f7baec40c785f386","status":"affected"},{"type":"git","introduced":"e83b49ecb569c9c5fa7cc30e55cf2c15f71f9f39","fixed":"cc1b179f778f98270bdbbb48d183b4b6427ae198","status":"affected"},{"type":"git","introduced":"c5e12ac3beb0dd3a718296b2d8af5528e9ab728e","fixed":"7ac58d8832802ec89baa7539e13e6d58a88cce04","status":"affected"},{"type":"git","introduced":"c5e12ac3beb0dd3a718296b2d8af5528e9ab728e","fixed":"51c32ae7fae14552d79f7139614b77c1bbd57a48","status":"affected"},{"type":"git","introduced":"c5e12ac3beb0dd3a718296b2d8af5528e9ab728e","fixed":"63da961381e0d979459dede713001f8452364477","status":"affected"},{"type":"git","introduced":"c5e12ac3beb0dd3a718296b2d8af5528e9ab728e","fixed":"026f6513c5880c2c89e38ad66bbec2868f978605","status":"affected"},{"type":"git","version":"609cd73bf38bbd48f1e695e01802114b01aa8811","status":"affected"},{"type":"semver","introduced":"6.1.107","fixed":"6.1.165","status":"affected"},{"type":"semver","introduced":"6.6.48","fixed":"6.6.128","status":"affected"},{"type":"semver","introduced":"6.10.7","fixed":"6.11","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"6.1.165","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.128","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.75","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.14","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.4","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.1.107","fixed":"6.1.165"},{"status":"affected","introduced":"6.6.48","fixed":"6.6.128"},{"status":"affected","introduced":"6.10.7","fixed":"6.11"},{"status":"affected","introduced":"6.11.1","fixed":"6.12.75"},{"status":"affected","introduced":"6.13","fixed":"6.18.14"},{"status":"affected","introduced":"6.19","fixed":"6.19.4"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0b217a40156f497e09dd20d3f7baec40c785f386","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cc1b179f778f98270bdbbb48d183b4b6427ae198","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7ac58d8832802ec89baa7539e13e6d58a88cce04","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/51c32ae7fae14552d79f7139614b77c1bbd57a48","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/63da961381e0d979459dede713001f8452364477","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/026f6513c5880c2c89e38ad66bbec2868f978605","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45849","url":"https://www.cve.org/CVERecord?id=CVE-2026-45849","licence":"CVE Terms of Use","modified":"2026-05-27T12:15:15.494Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45849","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45849","licence":"Public domain","modified":"2026-06-25T21:03:35.277Z"}],"updatedAt":"2026-11-25T22:59:22.473Z","epss":{"score":0.0014,"percentile":0.03572,"date":"2026-12-01T12:00:22.000Z"}}