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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
9df1c28bb75217b244257152ab7d788bb2a386d0 to < d4aa50725e53d5bb924adede6081d641a0203cc0affected9df1c28bb75217b244257152ab7d788bb2a386d0 to < f1863768d15944d3856d539c0c4044c94555150faffected9df1c28bb75217b244257152ab7d788bb2a386d0 to < 6c6b5ec860b71e17d38304a6def192ce49f2d159affected9df1c28bb75217b244257152ab7d788bb2a386d0 to < cd0490e671d70326d70c7d36e82388939fd9b071affected
Linux Linux
Default version status: affected
5.2affected0 to < 5.2unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected