bpf: Assume no bounds for a writable tp with tail calls
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 9df1c28bb75217b244257152ab7d788bb2a386d0 to before d4aa50725e53d5bb924adede6081d641a0203cc0 Affected9df1c28bb75217b244257152ab7d788bb2a386d0 to before f1863768d15944d3856d539c0c4044c94555150f Affected9df1c28bb75217b244257152ab7d788bb2a386d0 to before 6c6b5ec860b71e17d38304a6def192ce49f2d159 Affected9df1c28bb75217b244257152ab7d788bb2a386d0 to before cd0490e671d70326d70c7d36e82388939fd9b071 Affected |
| Linux Linux | 5.2 Affectedbefore 5.2 Not Affected6.12.120 through 6.12.* Not Affected6.18.66 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.