CVE-2026-143306
not scored yetbpf: Emit timed may_goto for JITed progs only
In the Linux kernel, the following vulnerability has been resolved:
bpf: Emit timed may_goto for JITed progs only
The timed form of may_goto calls arch_bpf_timed_may_goto(). This function
takes its argument and returns its result in BPF_REG_AX, in a register of
the cpu. Only JITed code can call it.
The verifier emits the timed form when the arch has a JIT that supports it.
It does not look at the prog. With CONFIG_BPF_JIT_ALWAYS_ON=n the
interpreter can run such a prog: the JIT is off, or it fails. The
interpreter calls the function like a helper. The function takes what the C
code left in that register for a pointer, and bpf_check_timed_may_goto()
reads and writes through it.
Emit the timed form only when the prog asks for a JIT, and make the JIT
mandatory for such a prog. All other progs get the form that counts down
from BPF_MAX_LOOPS.
One test of verifier_may_goto_1 shows the insns of the timed form. Load it
only when progs are JITed.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= e723608bf428014b15d9904e062f44f5fe473ad6, < 4373cf52166e170c8e4f24919240fbc6d8d346ab; >= e723608bf428014b15d9904e062f44f5fe473ad6, < 1ddffb57b36239e84b8224b12e34b87f6031b29c | 4373cf52166e170c8e4f24919240fbc6d8d346ab, 1ddffb57b36239e84b8224b12e34b87f6031b29c |
| CVE List | Linux | Linux | = 6.15 |
References
- https://git.kernel.org/stable/c/1ddffb57b36239e84b8224b12e34b87f6031b29c
- https://git.kernel.org/stable/c/4373cf52166e170c8e4f24919240fbc6d8d346ab
History
- 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 10:08 UTC · CVE List: first stored (published 3 Dec 2026)