CVE-2026-98038
Last modified
CVE-2026-98038 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: bpf: Keep refcount_acquire nullable for borrowed RCU kptrs bpf_refcount_acquire() is fallible for a borrowed reference because the object may have reached a zero refcount. The verifier therefore keeps KF_RET_NULL on the return value unless the argument is an owning reference. An RCU-protected load of a local kptr is marked MEM_ALLOC, but it only receives NON_OWN_REF when the pointee contains a graph node.
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Keep refcount_acquire nullable for borrowed RCU kptrs bpf_refcount_acquire() is fallible for a borrowed reference because the object may have reached a zero refcount. The verifier therefore keeps KF_RET_NULL on the return value unless the argument is an owning reference. An RCU-protected load of a local kptr is marked MEM_ALLOC, but it only receives NON_OWN_REF when the pointee contains a graph node. A refcounted object without a graph node consequently looks like an owning reference even though the loaded register has no acquired reference state. If the program drops the last real reference while remaining in the RCU critical section, refcount_inc_not_zero() returns NULL while the verifier treats the result as non-NULL. Only classify the argument as owning when it is backed by a verifier-tracked reference. This retains the non-NULL return for pointers from bpf_obj_new(), bpf_kptr_xchg(), or an earlier successful acquisition, while requiring a NULL check for borrowed RCU kptrs. [ kkd: Rewrote commit log ]
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < 85074498228a2500ea8b8039c49cc1ab8ad5328f; >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < dc36739e5cc9f60485418a910b42bc95339218d2 |
| Linux | Linux | 6.8 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-98038?
How severe is CVE-2026-98038?
How do I fix CVE-2026-98038?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-98032In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98033In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98034In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98035In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98036In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98037In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98039In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9804A flaw was found in KubeVirt's virt-exportserver component. …7.7
- CVE-2026-98040In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98041In the Linux kernel, the following vulnerability has been re…7
- CVE-2026-98042In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98043In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-98038?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
