CVE-2026-45932 (GCVE-0-2026-45932)
Vulnerability from cvelistv5
Published
2026-05-27 12:17
Modified
2026-08-05 12:28
Summary
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix tcx/netkit detach permissions when prog fd isn't given This commit fixes a security issue where BPF_PROG_DETACH on tcx or netkit devices could be executed by any user when no program fd was provided, bypassing permission checks. The fix adds a capability check for CAP_NET_ADMIN or CAP_SYS_ADMIN in this case.
Impacted products
Vendor Product Version
Linux Linux Version: e420bed025071a623d2720a92bc2245c84757ecb
Version: e420bed025071a623d2720a92bc2245c84757ecb
Version: e420bed025071a623d2720a92bc2245c84757ecb
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "include/linux/bpf.h",
            "include/linux/bpf_mprog.h",
            "kernel/bpf/syscall.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "4e0772cded109c238411f2fac36ac39302758b81",
              "status": "affected",
              "version": "e420bed025071a623d2720a92bc2245c84757ecb",
              "versionType": "git"
            },
            {
              "lessThan": "3f04cc1e5374da4c5e791ae010a06cfea7bacbe6",
              "status": "affected",
              "version": "e420bed025071a623d2720a92bc2245c84757ecb",
              "versionType": "git"
            },
            {
              "lessThan": "ae23bc81ddf7c17b663c4ed1b21e35527b0a7131",
              "status": "affected",
              "version": "e420bed025071a623d2720a92bc2245c84757ecb",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "include/linux/bpf.h",
            "include/linux/bpf_mprog.h",
            "kernel/bpf/syscall.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.6"
            },
            {
              "lessThan": "6.6",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.14",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.14",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.4",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix tcx/netkit detach permissions when prog fd isn\u0027t given\n\nThis commit fixes a security issue where BPF_PROG_DETACH on tcx or\nnetkit devices could be executed by any user when no program fd was\nprovided, bypassing permission checks. The fix adds a capability\ncheck for CAP_NET_ADMIN or CAP_SYS_ADMIN in this case."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.3,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerability is reached through the local bpf(2) syscall (BPF_PROG_DETACH command); there is no remote network entry point to this code.\nAC:L - An unprivileged user can reliably trigger the detach with a single deterministic syscall; there is no race, timing, or memory-layout dependency, and the only precondition (a tcx/netkit program already attached) is a standard deployment condition.\nPR:L - The entire bug is that no capability is required where CAP_NET_ADMIN/CAP_SYS_ADMIN should be; any basic local unprivileged user can call BPF_PROG_DETACH, which is not gated by unprivileged_bpf_disabled or any default check.\nUI:N - Detaching the program requires only the attacker\u0027s own syscall; no action by any other user or victim is needed.\nS:U - The impact stays within the kernel\u0027s own security authority (manipulating network BPF attachment state); no VM/IOMMU/sandbox boundary is crossed.\nC:L - Detaching does not read kernel memory directly, but removing a tcx/netkit filtering/isolation program (e.g., a Cilium network policy) can expose traffic or services that were previously confidential, a limited information exposure.\nI:H - An unprivileged user can make an unauthorized, CAP_NET_ADMIN-level modification to the device\u0027s network datapath, and by repeating the call can remove all attached programs, fully subverting the configured network security/policy enforcement.\nA:H - Removing the tcx/netkit datapath program disrupts packet processing for the affected device; in eBPF-datapath deployments this breaks forwarding/NAT/policy and causes loss of network connectivity for the node or its workloads."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:28:46.414Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/4e0772cded109c238411f2fac36ac39302758b81"
        },
        {
          "url": "https://git.kernel.org/stable/c/3f04cc1e5374da4c5e791ae010a06cfea7bacbe6"
        },
        {
          "url": "https://git.kernel.org/stable/c/ae23bc81ddf7c17b663c4ed1b21e35527b0a7131"
        }
      ],
      "title": "bpf: Fix tcx/netkit detach permissions when prog fd isn\u0027t given",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-45932",
    "datePublished": "2026-05-27T12:17:50.353Z",
    "dateReserved": "2026-05-13T15:03:33.086Z",
    "dateUpdated": "2026-08-05T12:28:46.414Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…