VDB

CVE-2026-98037

CVE-2026-98037 PUBLISHED

bpf: Reject untrusted allocated-object pointers

Reported by linux · Published September 25, 2026

In the Linux kernel, the following vulnerability has been resolved: bpf: Reject untrusted allocated-object pointers When the final RCU read-side critical section ends, a local kptr is demoted to PTR_UNTRUSTED but retains MEM_ALLOC. The pointer may be NULL or may refer to an object whose lifetime is no longer protected. type_is_ptr_alloc_obj() nevertheless recognizes any PTR_TO_BTF_ID with MEM_ALLOC as a live allocated object. In particular, a refcount-only local kptr never carries NON_OWN_REF, so it still passes the bpf_refcount_acquire() argument check after RCU protection ends. The kfunc can then dereference NULL or stale memory. Make type_is_ptr_alloc_obj() reject PTR_UNTRUSTED pointers. Since type_is_non_owning_ref() is based on the same predicate, graph kfunc arguments obey the same live-object requirement. Fault-protected reads of the demoted pointer remain valid: writes are already rejected, and read fixups use bpf_may_fault_on_deref() rather than this predicate. [ kkd: Rewrote commit log ]

EPSS 0.20% · 9.9th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-modules-extra-commonAmazon Linux1:6.18.54-121.166.amzn2023
python3-perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.12-develAmazon Linux1:6.12.111-136.204.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.111-136.204.amzn2023

Risk scores

EPSS Score
0.20%
9.9th percentile

Affected products

VendorProductVersions
LinuxLinux1b12171533a9bb23cf6fba7262b479028b65e1e8, 1b12171533a9bb23cf6fba7262b479028b65e1e8, 1b12171533a9bb23cf6fba7262b479028b65e1e8
LinuxLinux6.8, 0, 6.12.111
amazon:2023kernel6.18-modules-extra-common0
amazon:2023python3-perf6.180
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-modules-extra-common0
linuxlinux_kernel6.8, 6.8, 6.8
amazon:2023kernel6.18-headers0
LinuxLinux kernel
amazon:2023kernel6.180
amazon:2023bpftool6.180
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.12-headers0
amazon:2023bpftool6.120
amazon:2023python3-perf6.120
amazon:2023kernel6.18-devel0
amazon:2023perf6.180
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-livepatch-6.12.111-136.2040

…and 8 more

Timeline

  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (8 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98037
vulnetix vdb fixes CVE-2026-98037

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98037/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›