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.
https://git.kernel.org/stable/c/f1863768d15944d3856d539c0c4044c94555150f
https://git.kernel.org/stable/c/d4aa50725e53d5bb924adede6081d641a0203cc0
https://git.kernel.org/stable/c/cd0490e671d70326d70c7d36e82388939fd9b071
https://git.kernel.org/stable/c/6c6b5ec860b71e17d38304a6def192ce49f2d159