In the Linux kernel, the following vulnerability has been resolved: bpf: Disable preemption in bpf_get_stackid The get_perf_callchain call needs disabled preemption plus we need it disabled as long as we access its returned trace entries buffer. Note the bpf_get_stackid_pe function is executed already with preemption disabled.
https://git.kernel.org/stable/c/ccf481d73bce6e851cec364fe831c86fe66877cf
https://git.kernel.org/stable/c/c4efdc1d4cb3e9183e41a1b2a5e0901dbbb31cdf
https://git.kernel.org/stable/c/15f1bd8574662f1b7b26aaa2e23ebf4066f0117d