CVE-2026-90392 (GCVE-0-2026-90392)

Vulnerability from cvelistv5 – Published: 2026-09-17 16:09 – Updated: 2026-09-18 17:55
VLAI
Title
bpf: Fix potential UAF when reading bpf link info
Summary
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix potential UAF when reading bpf link info In bpf_link_show_fdinfo and bpf_link_get_info_by_fd, link->prog is accessed without holding any locks. If the prog is concurrently replaced via bpf_link_update, the old prog can be freed, leading to a potential UAF issue. Fix this by accessing link->prog under RCU protection to safely fetch the pointer and guarantee its lifetime while reading its fields.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab , < a5c936ac904767fc1d943d40b0308bcb2ae2509b (git)
Affected: 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab , < d7d7208e2603b45724b684f4df73904fb347741e (git)
Affected: 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab , < 85cf991c881e7198be32be05a9daa2625390c8b3 (git)
Affected: 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab , < 79347e42cfbc9e78872922e8f08a70609c9af82f (git)
Affected: 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab , < 863f3ddd0b8ac65abfb50d3be0869268ac0e277b (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.7
Unaffected: 0 , < 5.7 (semver)
Unaffected: 6.6.157 , ≤ 6.6.* (semver)
Unaffected: 6.12.110 , ≤ 6.12.* (semver)
Unaffected: 6.18.52 , ≤ 6.18.* (semver)
Unaffected: 7.2.6 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/bpf/syscall.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a5c936ac904767fc1d943d40b0308bcb2ae2509b",
              "status": "affected",
              "version": "0c991ebc8c69d29b7fc44db17075c5aa5253e2ab",
              "versionType": "git"
            },
            {
              "lessThan": "d7d7208e2603b45724b684f4df73904fb347741e",
              "status": "affected",
              "version": "0c991ebc8c69d29b7fc44db17075c5aa5253e2ab",
              "versionType": "git"
            },
            {
              "lessThan": "85cf991c881e7198be32be05a9daa2625390c8b3",
              "status": "affected",
              "version": "0c991ebc8c69d29b7fc44db17075c5aa5253e2ab",
              "versionType": "git"
            },
            {
              "lessThan": "79347e42cfbc9e78872922e8f08a70609c9af82f",
              "status": "affected",
              "version": "0c991ebc8c69d29b7fc44db17075c5aa5253e2ab",
              "versionType": "git"
            },
            {
              "lessThan": "863f3ddd0b8ac65abfb50d3be0869268ac0e277b",
              "status": "affected",
              "version": "0c991ebc8c69d29b7fc44db17075c5aa5253e2ab",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/bpf/syscall.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.7"
            },
            {
              "lessThan": "5.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.52",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.52",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.6",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc1",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix potential UAF when reading bpf link info\n\nIn bpf_link_show_fdinfo and bpf_link_get_info_by_fd, link-\u003eprog is\naccessed without holding any locks. If the prog is concurrently replaced\nvia bpf_link_update, the old prog can be freed, leading to a potential\nUAF issue.\n\nFix this by accessing link-\u003eprog under RCU protection to safely fetch\nthe pointer and guarantee its lifetime while reading its fields."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The dangling link-\u003eprog is read from the local bpf(2) BPF_OBJ_GET_INFO_BY_FD command (bpf_obj_get_info_by_fd()-\u003ebpf_link_get_info_by_fd()) or from bpf_link_show_fdinfo() when reading /proc/self/fdinfo on a bpf_link fd; neither path takes the malformed state from a network protocol.\nAC:L - The attacker owns both sides: one thread issues BPF_LINK_UPDATE so link_update() runs cgroup_bpf_replace()/tcx_link_update()/sock_map_link_update_prog() which xchg(\u0026link-\u003eprog) and bpf_prog_put() the old program, while another thread they control races bpf_link_get_info_by_fd() or bpf_link_show_fdinfo(), which sleeps in seq_printf after capturing the pointer.\nPR:L - Creating a replaceable link requires bpf_prog_load() of a type whose ops implement update_prog (CGROUP_SKB, SCHED_CLS, SK_SKB, XDP, FLOW_DISSECTOR) plus BPF_LINK_CREATE; those paths require bpf_token_capable(CAP_BPF) and usually CAP_NET_ADMIN (CGROUP_SKB attach also checks it in bpf_prog_attach_check_attach_type), which a BPF token delegates into a user namespace.\nUI:N - The attacker loads two programs, BPF_LINK_CREATE the first as a cgroup/tcx/sockmap/xdp/netns link, closes the old program fd so the link holds the last ref, then races BPF_LINK_UPDATE against BPF_OBJ_GET_INFO_BY_FD or fdinfo in their own process; no other user action is required.\nS:U - The use-after-free is of the replaced bpf_prog inside bpf_link_get_info_by_fd()/bpf_link_show_fdinfo() on the host kernel; impact is local kernel memory corruption and privilege escalation, not a VM, IOMMU, or other authority-boundary cross.\nC:H - After the concurrent bpf_prog_put(), bpf_link_get_info_by_fd() reads prog-\u003eaux-\u003eid and bpf_link_show_fdinfo() copies prog-\u003etag then aux-\u003eid from the freed bpf_prog; __bpf_prog_free() kfree()s the kmalloc bpf_prog_aux, so reclaiming that object turns the dangling aux pointer into an arbitrary kernel read.\nI:H - The same bpf_prog/bpf_prog_aux use-after-free after cgroup_bpf_replace() (or tcx/sockmap/xdp/netns update_prog) lets the attacker spray the freed kmalloc aux and vmalloc prog; kernel heap UAF of those objects yields write and control-flow hijack primitives.\nA:H - bpf_link_get_info_by_fd() and bpf_link_show_fdinfo() dereference the freed bpf_prog and prog-\u003eaux after BPF_LINK_UPDATE drops the last ref via bpf_prog_put(); a recycled or poisoned aux pointer causes a kernel oops."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-18T17:55:04.014Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a5c936ac904767fc1d943d40b0308bcb2ae2509b"
        },
        {
          "url": "https://git.kernel.org/stable/c/d7d7208e2603b45724b684f4df73904fb347741e"
        },
        {
          "url": "https://git.kernel.org/stable/c/85cf991c881e7198be32be05a9daa2625390c8b3"
        },
        {
          "url": "https://git.kernel.org/stable/c/79347e42cfbc9e78872922e8f08a70609c9af82f"
        },
        {
          "url": "https://git.kernel.org/stable/c/863f3ddd0b8ac65abfb50d3be0869268ac0e277b"
        }
      ],
      "title": "bpf: Fix potential UAF when reading bpf link info",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-90392",
    "datePublished": "2026-09-17T16:09:25.738Z",
    "dateReserved": "2026-09-11T19:38:34.810Z",
    "dateUpdated": "2026-09-18T17:55:04.014Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-90392",
      "date": "2026-09-29",
      "epss": "0.00175",
      "percentile": "0.06232"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "kernel/bpf/syscall.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "a5c936ac904767fc1d943d40b0308bcb2ae2509b",
                    "status": "affected",
                    "version": "0c991ebc8c69d29b7fc44db17075c5aa5253e2ab",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d7d7208e2603b45724b684f4df73904fb347741e",
                    "status": "affected",
                    "version": "0c991ebc8c69d29b7fc44db17075c5aa5253e2ab",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "85cf991c881e7198be32be05a9daa2625390c8b3",
                    "status": "affected",
                    "version": "0c991ebc8c69d29b7fc44db17075c5aa5253e2ab",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "79347e42cfbc9e78872922e8f08a70609c9af82f",
                    "status": "affected",
                    "version": "0c991ebc8c69d29b7fc44db17075c5aa5253e2ab",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "863f3ddd0b8ac65abfb50d3be0869268ac0e277b",
                    "status": "affected",
                    "version": "0c991ebc8c69d29b7fc44db17075c5aa5253e2ab",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "kernel/bpf/syscall.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.7"
                  },
                  {
                    "lessThan": "5.7",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.157",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.110",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.52",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.6",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix potential UAF when reading bpf link info\n\nIn bpf_link_show_fdinfo and bpf_link_get_info_by_fd, link-\u003eprog is\naccessed without holding any locks. If the prog is concurrently replaced\nvia bpf_link_update, the old prog can be freed, leading to a potential\nUAF issue.\n\nFix this by accessing link-\u003eprog under RCU protection to safely fetch\nthe pointer and guarantee its lifetime while reading its fields."
          }
        ],
        "id": "CVE-2026-90392",
        "lastModified": "2026-09-18T18:17:56.940",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-09-17T17:17:38.790",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/79347e42cfbc9e78872922e8f08a70609c9af82f"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/85cf991c881e7198be32be05a9daa2625390c8b3"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/863f3ddd0b8ac65abfb50d3be0869268ac0e277b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/a5c936ac904767fc1d943d40b0308bcb2ae2509b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d7d7208e2603b45724b684f4df73904fb347741e"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-22T16:28:59Z",
      "cve": "CVE-2026-90392",
      "id": "CVE-2026-90392",
      "initial_release_date": "2026-09-18T00:17:00Z",
      "product_status:known_affected": "230",
      "product_status:known_not_affected": "117",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-90392",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-90392.json",
      "version": "4"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…