CVE-2026-143306

Source
https://cve.org/CVERecord?id=CVE-2026-143306
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143306.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143306
Downstream
Published
2026-12-03T09:21:36Z
Modified
2026-12-03T11:02:00Z
Summary
bpf: Emit timed may_goto for JITed progs only
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143306.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e723608bf428014b15d9904e062f44f5fe473ad6
Fixed
4373cf52166e170c8e4f24919240fbc6d8d346ab
Fixed
1ddffb57b36239e84b8224b12e34b87f6031b29c

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143306.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.15.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143306.json"