CVE-2026-43321: bpf: Properly mark live registers for indirect jumps
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
bpf: Properly mark live registers for indirect jumps
For a gotox rX instruction the rX register should be marked as used in the compute_insn_live_regs() function. Fix this.
The Linux kernel CVE team has assigned CVE-2026-43321 to this issue.
Affected and fixed versions
===========================
Fixed in 6.18.16 with commit df02c3ff3be4bf998812c8c8e79d10db1329d535 Fixed in 6.19.6 with commit 7beae54111c34ca63357ef120e115889b915beb5 Fixed in 7.0 with commit d1aab1ca576c90192ba961094d51b0be6355a4d6
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-43321
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
kernel/bpf/verifier.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/df02c3ff3be4bf998812c8c8e79d10db1329d535 https://git.kernel.org/stable/c/7beae54111c34ca63357ef120e115889b915beb5 https://git.kernel.org/stable/c/d1aab1ca576c90192ba961094d51b0be6355a4d6