Skip to content
Heist/ feed
High

bpf, xdp: move offload check into dev_xdp_install()

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: bpf, xdp: move offload check into dev_xdp_install() bpf_xdp_link_update() calls dev_xdp_install() directly and skips dev_xdp_attach(), so the checks in dev_xdp_attach() do not run. A user can make an XDP link with a normal program and then swap in an offloaded or device-bound program with BPF_LINK_UPDATE, which puts it on the software path. dev_xdp_install() is the one place all three paths go through: "ip link set xdp" and BPF_LINK_CREATE reach it via dev_xdp_attach(), and BPF_LINK_UPDATE calls it directly. So move the program checks (offloaded, bound to another device, device-bound in generic mode, native vs generic, DEVMAP and CPUMAP) there, and keep only the netlink-flag check (XDP_FLAGS_UPDATE_IF_NOEXIST) in dev_xdp_attach().

Announced Group revision 1
Original source ↗

CVE-2026-90146

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-90146

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "026a4c28e1db3b0cb99cd9a3e495d4a8b632fa74",
        "lessThan": "bd06033625ec20b7bdec43d21f776fc1a5e9000e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "026a4c28e1db3b0cb99cd9a3e495d4a8b632fa74",
        "lessThan": "486dbe7efec2be19cd3625be282f7f6b34a3f2c5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "026a4c28e1db3b0cb99cd9a3e495d4a8b632fa74",
        "lessThan": "f14b774ec9bd52d0f4ec29a6597a35fd107197f9",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "026a4c28e1db3b0cb99cd9a3e495d4a8b632fa74",
        "lessThan": "ea7b35dcc9430293b861bc7bad0c546f193c85f9",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "026a4c28e1db3b0cb99cd9a3e495d4a8b632fa74",
        "lessThan": "03022dd874070768a7099f18b1944c633641315f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "026a4c28e1db3b0cb99cd9a3e495d4a8b632fa74",
        "lessThan": "ad27ed7d2309419a129078d781504f486b1b469a",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "net/core/dev.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.9"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.9",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.113",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.114",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.52",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.6",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "net/core/dev.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-90146

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#48614 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement