In the Linux kernel, the following vulnerability has been resolved: bpf: Fix offset warn check for bpf_res_spin_lock Sashiko pointed out correctly that the case statement for BPF_RES_SPIN_LOCK incorrectly checks offset for BPF_SPIN_LOCK. Fix it by checking res_spin_lock_off instead.
https://git.kernel.org/stable/c/dfdce1f20a7e5e826165c556fd3367c65387e966
https://git.kernel.org/stable/c/92356df4aa2b044b62bc7e45e0d99231af147f29
https://git.kernel.org/stable/c/04e19012efaec2bfd8c3b37fd8a6c3f1fe731ffc