{"id":"CVE-2026-90146","aliases":["CVE-2026-90146"],"related":[],"kind":"vulnerability","state":"published","title":"bpf, xdp: move offload check into dev_xdp_install()","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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().","source":"cvelist"}],"published":"2026-09-17T16:06:41.695Z","modified":"2026-10-30T13:20:43.170Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"026a4c28e1db3b0cb99cd9a3e495d4a8b632fa74","fixed":"4a0467819bc2423be8fc4c9834e8f42af2af0861","status":"affected"},{"type":"git","introduced":"026a4c28e1db3b0cb99cd9a3e495d4a8b632fa74","fixed":"bd06033625ec20b7bdec43d21f776fc1a5e9000e","status":"affected"},{"type":"git","introduced":"026a4c28e1db3b0cb99cd9a3e495d4a8b632fa74","fixed":"486dbe7efec2be19cd3625be282f7f6b34a3f2c5","status":"affected"},{"type":"git","introduced":"026a4c28e1db3b0cb99cd9a3e495d4a8b632fa74","fixed":"f14b774ec9bd52d0f4ec29a6597a35fd107197f9","status":"affected"},{"type":"git","introduced":"026a4c28e1db3b0cb99cd9a3e495d4a8b632fa74","fixed":"ea7b35dcc9430293b861bc7bad0c546f193c85f9","status":"affected"},{"type":"git","introduced":"026a4c28e1db3b0cb99cd9a3e495d4a8b632fa74","fixed":"03022dd874070768a7099f18b1944c633641315f","status":"affected"},{"type":"git","introduced":"026a4c28e1db3b0cb99cd9a3e495d4a8b632fa74","fixed":"ad27ed7d2309419a129078d781504f486b1b469a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.9","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/4a0467819bc2423be8fc4c9834e8f42af2af0861","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bd06033625ec20b7bdec43d21f776fc1a5e9000e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/486dbe7efec2be19cd3625be282f7f6b34a3f2c5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f14b774ec9bd52d0f4ec29a6597a35fd107197f9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ea7b35dcc9430293b861bc7bad0c546f193c85f9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/03022dd874070768a7099f18b1944c633641315f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad27ed7d2309419a129078d781504f486b1b469a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90146","url":"https://www.cve.org/CVERecord?id=CVE-2026-90146","licence":"CVE Terms of Use","modified":"2026-10-30T12:34:21.703Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90146","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90146","licence":"Public domain","modified":"2026-10-30T13:20:43.170Z"}],"updatedAt":"2026-11-25T22:59:39.318Z","epss":{"score":0.00192,"percentile":0.09345,"date":"2026-12-01T12:00:22.000Z"}}