In the Linux kernel, the following vulnerability has been resolved: bpf: Clear buf on error in __bpf_get_task_stack Both bpf_get_task_stack and bpf_get_task_stack_sleepable helpers that use __bpf_get_task_stack have buf defined as ARG_PTR_TO_UNINIT_MEM argument and we should initialize the buf on every return path. Adding missing buf memset for __bpf_get_task_stack fail paths. This provides deterministic buffer contents, which is useful when the buffer is used directly as a map key.
https://git.kernel.org/stable/c/f5d242825ca417bb6afe35fde6e8880f97ca43fb
https://git.kernel.org/stable/c/f523359c4789bb0396d2d642464a6e2fd4f2299d