{"id":"CVE-2026-143306","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T10:18:16.780","lastModified":"2026-12-03T10:18:16.780","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Emit timed may_goto for JITed progs only\n\nThe timed form of may_goto calls arch_bpf_timed_may_goto(). This function\ntakes its argument and returns its result in BPF_REG_AX, in a register of\nthe cpu. Only JITed code can call it.\n\nThe verifier emits the timed form when the arch has a JIT that supports it.\nIt does not look at the prog. With CONFIG_BPF_JIT_ALWAYS_ON=n the\ninterpreter can run such a prog: the JIT is off, or it fails. The\ninterpreter calls the function like a helper. The function takes what the C\ncode left in that register for a pointer, and bpf_check_timed_may_goto()\nreads and writes through it.\n\nEmit the timed form only when the prog asks for a JIT, and make the JIT\nmandatory for such a prog. All other progs get the form that counts down\nfrom BPF_MAX_LOOPS.\n\nOne test of verifier_may_goto_1 shows the insns of the timed form. Load it\nonly when progs are JITed."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["kernel/bpf/fixups.c","tools/testing/selftests/bpf/progs/verifier_may_goto_1.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"e723608bf428014b15d9904e062f44f5fe473ad6","lessThan":"4373cf52166e170c8e4f24919240fbc6d8d346ab","versionType":"git","status":"affected"},{"version":"e723608bf428014b15d9904e062f44f5fe473ad6","lessThan":"1ddffb57b36239e84b8224b12e34b87f6031b29c","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["kernel/bpf/fixups.c","tools/testing/selftests/bpf/progs/verifier_may_goto_1.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.15","status":"affected"},{"version":"0","lessThan":"6.15","versionType":"semver","status":"unaffected"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc2","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/1ddffb57b36239e84b8224b12e34b87f6031b29c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/4373cf52166e170c8e4f24919240fbc6d8d346ab","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}