{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "960ec92774e152b677ccd0006abcab7b9dd814c2"
            },
            {
              "fixed": "0b217a40156f497e09dd20d3f7baec40c785f386"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "e83b49ecb569c9c5fa7cc30e55cf2c15f71f9f39"
            },
            {
              "fixed": "cc1b179f778f98270bdbbb48d183b4b6427ae198"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "c5e12ac3beb0dd3a718296b2d8af5528e9ab728e"
            },
            {
              "fixed": "7ac58d8832802ec89baa7539e13e6d58a88cce04"
            },
            {
              "fixed": "51c32ae7fae14552d79f7139614b77c1bbd57a48"
            },
            {
              "fixed": "63da961381e0d979459dede713001f8452364477"
            },
            {
              "fixed": "026f6513c5880c2c89e38ad66bbec2868f978605"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "609cd73bf38bbd48f1e695e01802114b01aa8811"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.1.107"
            },
            {
              "fixed": "6.1.165"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.6.48"
            },
            {
              "fixed": "6.6.128"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.10.7"
            },
            {
              "fixed": "6.11"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.1.165"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.128"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.75"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.11.0"
            },
            {
              "fixed": "6.18.14"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.19.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45849.json"
  },
  "details": "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.",
  "id": "CVE-2026-45849",
  "modified": "2026-07-08T05:37:17.540181691Z",
  "published": "2026-05-27T12:15:15.494Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/026f6513c5880c2c89e38ad66bbec2868f978605"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0b217a40156f497e09dd20d3f7baec40c785f386"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/51c32ae7fae14552d79f7139614b77c1bbd57a48"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/63da961381e0d979459dede713001f8452364477"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7ac58d8832802ec89baa7539e13e6d58a88cce04"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/cc1b179f778f98270bdbbb48d183b4b6427ae198"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45849.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-45849"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "net: mscc: ocelot: add missing lock protection in ocelot_port_xmit_inj()"
}