Skip to content
Threat Brief

← All advisories

CVE-2026-98038

Severity unknownNo known exploitationFix available

bpf: Keep refcount_acquire nullable for borrowed RCU kptrs

Record last updated

CVSS score

None

No score published yet

EPSS, chance of exploitation in 30 days

0.2%

Higher than 12% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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 ]

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

VendorProductAffected versionsFixed inPer
LinuxLinuxfrom 1b12171533a9bb23cf6fba7262b479028b65e1e8 before 85bfc8b6db43502444c428eaa2de20bdd2fb906485bfc8b6db43502444c428eaa2de20bdd2fb9064CVE Program
LinuxLinuxfrom 1b12171533a9bb23cf6fba7262b479028b65e1e8 before 8d19e2cdfba9ba8c8eb6a459cd666bec00a1d2c68d19e2cdfba9ba8c8eb6a459cd666bec00a1d2c6CVE Program
LinuxLinuxfrom 1b12171533a9bb23cf6fba7262b479028b65e1e8 before 85074498228a2500ea8b8039c49cc1ab8ad5328f85074498228a2500ea8b8039c49cc1ab8ad5328fCVE Program
LinuxLinuxfrom 1b12171533a9bb23cf6fba7262b479028b65e1e8 before dc36739e5cc9f60485418a910b42bc95339218d2dc36739e5cc9f60485418a910b42bc95339218d2CVE Program
LinuxLinux6.8Not documentedCVE Program
Microsoftazl4 kernel 6.18.50-1.5.azl4 on Azure Linux 4.0Not documented0:6.18.57-1.1.azl4Microsoft MSRC
LinuxLinux (unaffected)from 6.12.114 up to and including 6.12.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.18.57 up to and including 6.18.*Not documentedCVE Program
LinuxLinux (unaffected)from 7.2.7 up to and including 7.2.*Not documentedCVE Program
LinuxLinux (unaffected)7.3Not documentedCVE Program
LinuxLinux (unaffected)all versions before 6.8Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by Linux

    Source: CVE Program (opens in a new tab)

  2. Advisory

    Microsoft advisory published

    Source: Microsoft MSRC (opens in a new tab)

  3. Advisory change

    Microsoft advisory revised (2.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  4. Advisory change

    Microsoft advisory revised (3.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  5. Patch

    Fix documented by Microsoft MSRC

    Source: Microsoft MSRC (opens in a new tab)

Vendor guidance and references