CVE-2026-98037
bpf: Reject untrusted allocated-object pointers
Check your servers for CVE-2026-98037
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98037 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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 ]
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.31% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1b12171533a9bb23cf6fba7262b479028b65e1e8, before 092c2874dc1b2060fa77a465a971acd4fdf87683 affected from 1b12171533a9bb23cf6fba7262b479028b65e1e8, before 135d542b97fa93e32c457d49d6e7b33ca7d05bae affected from 1b12171533a9bb23cf6fba7262b479028b65e1e8, before 6b1f786ad85a0b63393b76f5e634deab1a73198c affected from 1b12171533a9bb23cf6fba7262b479028b65e1e8, before 7441ee8276641bddaf1cba7bb75ef9c1458ceb3b
Other versions: unaffected
|
| Linux |
affected 6.8 unaffected before 6.8 unaffected from 6.12.111 up to and including 6.12.* unaffected from 6.18.53 up to and including 6.18.* unaffected from 7.2.7 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98037 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98037
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98037
trivy image --scanners vuln IMAGE | grep CVE-2026-98037
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/092c2874dc1b2060fa77a465a971acd4fdf87683 git.kernel.org
- https://git.kernel.org/stable/c/135d542b97fa93e32c457d49d6e7b33ca7d05bae git.kernel.org
- https://git.kernel.org/stable/c/6b1f786ad85a0b63393b76f5e634deab1a73198c git.kernel.org
- https://git.kernel.org/stable/c/7441ee8276641bddaf1cba7bb75ef9c1458ceb3b git.kernel.org
Source: the record CVE-2026-98037 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse