Not scored
bpf: Assume no bounds for a writable tp with tail calls
- Severity
- Not scored
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Assume no bounds for a writable tp with tail calls A writable raw tracepoint hands a buffer to the program. The verifier notes how far the program reaches into it, and bpf_probe_register() refuses a program that reaches further than the tracepoint allows. A program that does not touch the buffer passes, and can tail-call one of its type that reads and writes behind it. Take a BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE program with a tail call to reach as far as can be, as for the stack, the packet and the buffers of iterators. It cannot be attached any more. Plain raw tracepoint programs, for which the limit is zero, cannot get at the buffer, and a tail call stays within one type: they are left alone.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 9df1c28bb75217b244257152ab7d788bb2a386d0 before d4aa50725e53d5bb924adede6081d641a0203cc0, from 9df1c28bb75217b244257152ab7d788bb2a386d0 before f1863768d15944d3856d539c0c4044c94555150f, from 9df1c28bb75217b244257152ab7d788bb2a386d0 before 6c6b5ec860b71e17d38304a6def192ce49f2d159, from 9df1c28bb75217b244257152ab7d788bb2a386d0 before cd0490e671d70326d70c7d36e82388939fd9b071, 5.2 Not affected: before 5.2, from 6.12.120 up to 6.12.*, from 6.18.66 up to 6.18.*, from 7.3.6 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-139301 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-139301 changed 2026-11-30 | Public domain |