Skip to content
FlawDB
Sign in

CVE-2026-139604

UNSCORED

bpf: Clear the insn array used flag with release semantics

AI summary AI generated

An attacker can exploit a missing memory ordering in the Linux kernel BPF instruction array handling, leaving stale pointers to freed JIT images on weakly ordered architectures.

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= b4ce5923e780d6896d4aaf19de5a27652b8bf1ea, < ee864bab6d8ae655fb016e48cf07ab4ced5dea7f; >= b4ce5923e780d6896d4aaf19de5a27652b8bf1ea, < a83512036e0809497ee3259ba7458de287949b94
  • Anyone running Linux 6.19

Vulnerability facts

Affected
Linux >= b4ce5923e780d6896d4aaf19de5a27652b8bf1ea, < ee864bab6d8ae655fb016e48cf07ab4ced5dea7f; >= b4ce5923e780d6896d4aaf19de5a27652b8bf1ea, < a83512036e0809497ee3259ba7458de287949b94; Linux 6.19
Fixed in
No fix listed yet
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Clear the insn array used flag with release semantics A program that fails after the JIT ran, for example in bpf_check_tail_call(), has already stored its jitted offsets and target pointers into the insn array maps it uses through bpf_prog_update_insn_ptrs() when release_insn_arrays() hands them back by clearing the used flag with a plain atomic_set(). Nothing orders those stores before the flag, so on a weakly ordered architecture they can still be in flight when the next program takes the map: it is acquired with atomic_xchg() in bpf_insn_array_init() and reset there, and the late stores then land on top of whatever the new owner has written since, be it that reset or the pointers its own JIT stored, leaving entries that point into an image which is about to be freed. Clear the flag with atomic_set_release() instead, so that everything the releasing program stored is visible before the map can be acquired again. This pairs with the fully ordered atomic_xchg() on the acquire side.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= b4ce5923e780d6896d4aaf19de5a27652b8bf1ea, < ee864bab6d8ae655fb016e48cf07ab4ced5dea7f; >= b4ce5923e780d6896d4aaf19de5a27652b8bf1ea, < a83512036e0809497ee3259ba7458de287949b94—cvelist
Linux6.19—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-139604. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139604.md
Affected: Linux >= b4ce5923e780d6896d4aaf19de5a27652b8bf1ea, < ee864bab6d8ae655fb016e48cf07ab4ced5dea7f; >= b4ce5923e780d6896d4aaf19de5a27652b8bf1ea, < a83512036e0809497ee3259ba7458de287949b94; Linux 6.19
Fixed in: no fixed version listed yet

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.

Technologies

References

FAQ

Is CVE-2026-139604 being exploited?

There is no confirmed exploitation: CVE-2026-139604 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is CVE-2026-139604?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-139604?

Linux >= b4ce5923e780d6896d4aaf19de5a27652b8bf1ea, < ee864bab6d8ae655fb016e48cf07ab4ced5dea7f; >= b4ce5923e780d6896d4aaf19de5a27652b8bf1ea, < a83512036e0809497ee3259ba7458de287949b94; Linux 6.19.

Is there a fix for CVE-2026-139604?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

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

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.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
MEDIUM 6.5CVE-2026-140063

Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker

Linux kernel+1
MEDIUM 5.1CVE-2026-140038

Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber

Linux kernel+1
HIGH 7.3CVE-2026-139801

KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM

Linux kernel
UNSCOREDCVE-2026-139800

9p/xen: drain response work after unbinding IRQ

Linux kernel
HIGH 7.0CVE-2026-139799

mm/shmem: hold off eviction in shmem_writeout()

Linux kernel
Sponsors