CVE-2026-139623
bpf: Adjust pc-relative insn copied into its own patch
Mitigation
- Upgrade Linux to 67a3b916a7ae7c1a6bed08555417d444de6f5838 or later.
Who should check
- Anyone running Linux >= 011832b97b311bb9e3c27945bc0d1089a14209c9, < e254b23685ce3638605c0a80a72fcd8e9a9515d4; >= 011832b97b311bb9e3c27945bc0d1089a14209c9, < e76fc81e1f1494ee117be80ce843737aa7957371; >= 011832b97b311bb9e3c27945bc0d1089a14209c9, < c4a3a9f737e728fee10a1b9353bbfc89f04040d6; >= 011832b97b311bb9e3c27945bc0d1089a14209c9, < 67a3b916a7ae7c1a6bed08555417d444de6f5838
- Anyone running Linux 6.9
Vulnerability facts
- Affected
- Linux >= 011832b97b311bb9e3c27945bc0d1089a14209c9, < e254b23685ce3638605c0a80a72fcd8e9a9515d4; >= 011832b97b311bb9e3c27945bc0d1089a14209c9, < e76fc81e1f1494ee117be80ce843737aa7957371; >= 011832b97b311bb9e3c27945bc0d1089a14209c9, < c4a3a9f737e728fee10a1b9353bbfc89f04040d6; >= 011832b97b311bb9e3c27945bc0d1089a14209c9, < 67a3b916a7ae7c1a6bed08555417d444de6f5838; Linux 6.9
- Fixed in
- Linux 67a3b916a7ae7c1a6bed08555417d444de6f5838
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Adjust pc-relative insn copied into its own patch bpf_do_misc_fixups() inits may_goto count by patching the first insn of a subprog with [ST, ST, first insn]. bpf_convert_ctx_accesses() patches insn that needs a barrier with [nospec, insn]. bpf_adj_branches() doesn't adjust insns inside the patch, so when the copy is a call, ld_imm64 of a func or a jump that points backward its target is off by the number of insns in front of it: static int A(void) { return 1; } static int A2(void) { return 2; } static int B(void) { int i, ret = A(); for (i = 0; i < 10 && can_loop; i++) ... return ret; } When A is placed in front of B and may_goto is timed 'call A' becomes call of A + 2. B returns 2 when A + 2 is the start of A2. Otherwise the prog is rejected with "verifier bug: No program to jit at insn". Add bpf_adj_moved_insn() and use it for both copies.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 011832b97b311bb9e3c27945bc0d1089a14209c9, < e254b23685ce3638605c0a80a72fcd8e9a9515d4; >= 011832b97b311bb9e3c27945bc0d1089a14209c9, < e76fc81e1f1494ee117be80ce843737aa7957371; >= 011832b97b311bb9e3c27945bc0d1089a14209c9, < c4a3a9f737e728fee10a1b9353bbfc89f04040d6; >= 011832b97b311bb9e3c27945bc0d1089a14209c9, < 67a3b916a7ae7c1a6bed08555417d444de6f5838 | — | cvelist |
| Linux | 6.9 | — | 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-139623. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-139623.md Affected: Linux >= 011832b97b311bb9e3c27945bc0d1089a14209c9, < e254b23685ce3638605c0a80a72fcd8e9a9515d4; >= 011832b97b311bb9e3c27945bc0d1089a14209c9, < e76fc81e1f1494ee117be80ce843737aa7957371; >= 011832b97b311bb9e3c27945bc0d1089a14209c9, < c4a3a9f737e728fee10a1b9353bbfc89f04040d6; >= 011832b97b311bb9e3c2794… Fixed in: Linux 67a3b916a7ae7c1a6bed08555417d444de6f5838 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-139623 being exploited?
There is no confirmed exploitation: CVE-2026-139623 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-139623?
High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-139623?
Linux >= 011832b97b311bb9e3c27945bc0d1089a14209c9, < e254b23685ce3638605c0a80a72fcd8e9a9515d4; >= 011832b97b311bb9e3c27945bc0d1089a14209c9, < e76fc81e1f1494ee117be80ce843737aa7957371; >= 011832b97b311bb9e3c27945bc0d1089a14209c9, < c4a3a9f737e728fee10a1b9353bbfc89f04040d6; >= 011832b97b311bb9e3c27945bc0d1089a14209c9, < 67a3b916a7ae7c1a6bed08555417d444de6f5838; Linux 6.9.
Is there a fix for CVE-2026-139623?
Yes. Fixed in Linux 67a3b916a7ae7c1a6bed08555417d444de6f5838. Upgrade Linux to 67a3b916a7ae7c1a6bed08555417d444de6f5838 or later.
How do I check if I'm affected by CVE-2026-139623?
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.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 6.5 | CVE-2026-140063 Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker | Linux kernel+1 | ||
| MEDIUM 5.1 | CVE-2026-140038 Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-139801 KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM | Linux kernel | ||
| UNSCORED | CVE-2026-139800 9p/xen: drain response work after unbinding IRQ | Linux kernel | ||
| HIGH 7.0 | CVE-2026-139799 mm/shmem: hold off eviction in shmem_writeout() | Linux kernel |