CVE-2026-98037
Severity unknownNo known exploitationFix availablebpf: Reject untrusted allocated-object pointers
Record last updated
CVSS score
No score published yet
EPSS, chance of exploitation in 30 days
Higher than 10% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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 ]
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from 1b12171533a9bb23cf6fba7262b479028b65e1e8 before 092c2874dc1b2060fa77a465a971acd4fdf87683 | 092c2874dc1b2060fa77a465a971acd4fdf87683 | CVE Program |
| Linux | Linux | from 1b12171533a9bb23cf6fba7262b479028b65e1e8 before 135d542b97fa93e32c457d49d6e7b33ca7d05bae | 135d542b97fa93e32c457d49d6e7b33ca7d05bae | CVE Program |
| Linux | Linux | from 1b12171533a9bb23cf6fba7262b479028b65e1e8 before 6b1f786ad85a0b63393b76f5e634deab1a73198c | 6b1f786ad85a0b63393b76f5e634deab1a73198c | CVE Program |
| Linux | Linux | from 1b12171533a9bb23cf6fba7262b479028b65e1e8 before 7441ee8276641bddaf1cba7bb75ef9c1458ceb3b | 7441ee8276641bddaf1cba7bb75ef9c1458ceb3b | CVE Program |
| Linux | Linux | 6.8 | Not documented | CVE Program |
| Microsoft | azl4 kernel 6.18.50-1.5.azl4 on Azure Linux 4.0 | Not documented | 0:6.18.57-1.1.azl4 | Microsoft MSRC |
| Linux | Linux (unaffected) | from 6.12.111 up to and including 6.12.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.18.53 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 7.2.7 up to and including 7.2.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.3 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 6.8 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- https://git.kernel.org/stable/c/092c2874dc1b2060fa77a465a971acd4fdf87683 (opens in a new tab)
- https://git.kernel.org/stable/c/135d542b97fa93e32c457d49d6e7b33ca7d05bae (opens in a new tab)
- https://git.kernel.org/stable/c/6b1f786ad85a0b63393b76f5e634deab1a73198c (opens in a new tab)
- https://git.kernel.org/stable/c/7441ee8276641bddaf1cba7bb75ef9c1458ceb3b (opens in a new tab)