Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-98038

UNSCOREDEPSS 6%

bpf: Keep refcount_acquire nullable for borrowed RCU kptrs

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < 85bfc8b6db43502444c428eaa2de20bdd2fb9064; >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < 8d19e2cdfba9ba8c8eb6a459cd666bec00a1d2c6; >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < 85074498228a2500ea8b8039c49cc1ab8ad5328f; >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < dc36739e5cc9f60485418a910b42bc95339218d2
  • Anyone running Linux 6.8

Vulnerability facts

Affected
Linux >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < 85bfc8b6db43502444c428eaa2de20bdd2fb9064; >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < 8d19e2cdfba9ba8c8eb6a459cd666bec00a1d2c6; >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < 85074498228a2500ea8b8039c49cc1ab8ad5328f; >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < dc36739e5cc9f60485418a910b42bc95339218d2; Linux 6.8
Fixed in
Linux 85bfc8b6db43502444c428eaa2de20bdd2fb9064, Linux 8d19e2cdfba9ba8c8eb6a459cd666bec00a1d2c6, Linux 85074498228a2500ea8b8039c49cc1ab8ad5328f
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Linux>= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < 85bfc8b6db43502444c428eaa2de20bdd2fb9064; >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < 8d19e2cdfba9ba8c8eb6a459cd666bec00a1d2c6; >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < 85074498228a2500ea8b8039c49cc1ab8ad5328f; >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < dc36739e5cc9f60485418a910b42bc95339218d2—cvelist
Linux6.8—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-98038. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98038.md
Affected: Linux >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < 85bfc8b6db43502444c428eaa2de20bdd2fb9064; >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < 8d19e2cdfba9ba8c8eb6a459cd666bec00a1d2c6; >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < 85074498228a2500ea8b8039c49cc1ab8ad5328f; >= 1b12171533a9bb23cf6fba7…
Fixed in: Linux 85bfc8b6db43502444c428eaa2de20bdd2fb9064, Linux 8d19e2cdfba9ba8c8eb6a459cd666bec00a1d2c6, Linux 85074498228a2500ea8b8039c49cc1ab8ad5328f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-98038 being exploited?

There is no confirmed exploitation: CVE-2026-98038 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-98038?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-98038?

Linux >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < 85bfc8b6db43502444c428eaa2de20bdd2fb9064; >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < 8d19e2cdfba9ba8c8eb6a459cd666bec00a1d2c6; >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < 85074498228a2500ea8b8039c49cc1ab8ad5328f; >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < dc36739e5cc9f60485418a910b42bc95339218d2; Linux 6.8.

Is there a fix for CVE-2026-98038?

Yes. Fixed in Linux 85bfc8b6db43502444c428eaa2de20bdd2fb9064, Linux 8d19e2cdfba9ba8c8eb6a459cd666bec00a1d2c6, Linux 85074498228a2500ea8b8039c49cc1ab8ad5328f. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2026-98038?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors