Skip to main content
Network Thinking Solutions Logo

CVE-2026-98038

Linux kernel: bpf: Keep refcount_acquire nullable for borrowed RCU kptrs

All CVEs
CVE-2026-98038Published 9/25/2026

Linux kernel: bpf: Keep refcount_acquire nullable for borrowed RCU kptrs

Vendor advisory
CVSS—Unscored

Overview

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 ]

Published
9/25/2026
Last modified
10/21/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Linux
Linux
≥ 1b12171533a9bb23cf6fba7262b479028b65e1e8, < 85bfc8b6db43502444c428eaa2de20bdd2fb9064

Verify advisory

Source
Linux
Linux
≥ 1b12171533a9bb23cf6fba7262b479028b65e1e8, < 8d19e2cdfba9ba8c8eb6a459cd666bec00a1d2c6

Verify advisory

Source
Linux
Linux
≥ 1b12171533a9bb23cf6fba7262b479028b65e1e8, < 85074498228a2500ea8b8039c49cc1ab8ad5328f

Verify advisory

Source
Linux
Linux
≥ 1b12171533a9bb23cf6fba7262b479028b65e1e8, < dc36739e5cc9f60485418a910b42bc95339218d2

Verify advisory

Source
Linux
Linux
6.8

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.