bpf: Adjust pc-relative insn copied into its own patch
CVE-2026-139623
Key Information:
- Vendor
Linux
- Status
- CVE ID
- CVE ID:
- CVE-2026-139623
- Vendor
- CVE Published:
- 30 November 2026
- Fixed in
- Fixed in:
- 6.12.120, 6.18.66, 7.3.6 +1 more
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- No: Needs local access
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Update to a fixed version
Several version ranges are affected; the full list is under Affected Version(s).
Install the Linux release that fixes your version line, or later:
2Why it's rated "Check today"
- Its CVSS severity is high (7).
What is CVE-2026-139623?
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 Version(s)
Linux 011832b97b31β¦
Linux 011832b97b31β¦
Linux 011832b97b31β¦
References
More Linux Vulnerabilities
Memory Ordering Flaw in Linux Kernel
Linux Kernel Vulnerability in SCTP Control Chunk Migration
Data Copy Vulnerability in Linux Kernel
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction