{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "026a4c28e1db3b0cb99cd9a3e495d4a8b632fa74"
            },
            {
              "fixed": "ea7b35dcc9430293b861bc7bad0c546f193c85f9"
            },
            {
              "fixed": "03022dd874070768a7099f18b1944c633641315f"
            },
            {
              "fixed": "ad27ed7d2309419a129078d781504f486b1b469a"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.9.0"
            },
            {
              "fixed": "6.18.52"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90146.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, xdp: move offload check into dev_xdp_install()\n\nbpf_xdp_link_update() calls dev_xdp_install() directly and skips\ndev_xdp_attach(), so the checks in dev_xdp_attach() do not run. A user can\nmake an XDP link with a normal program and then swap in an offloaded or\ndevice-bound program with BPF_LINK_UPDATE, which puts it on the software\npath.\n\ndev_xdp_install() is the one place all three paths go through:\n\"ip link set xdp\" and BPF_LINK_CREATE reach it via dev_xdp_attach(), and\nBPF_LINK_UPDATE calls it directly. So move the program checks (offloaded,\nbound to another device, device-bound in generic mode, native vs generic,\nDEVMAP and CPUMAP) there, and keep only the netlink-flag check\n(XDP_FLAGS_UPDATE_IF_NOEXIST) in dev_xdp_attach().",
  "id": "CVE-2026-90146",
  "modified": "2026-09-19T03:30:50.359160271Z",
  "published": "2026-09-17T16:06:41.695Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/03022dd874070768a7099f18b1944c633641315f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ad27ed7d2309419a129078d781504f486b1b469a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ea7b35dcc9430293b861bc7bad0c546f193c85f9"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90146.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-90146"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "bpf, xdp: move offload check into dev_xdp_install()"
}