Linux kernel bug fix: bpf: Reject struct_ops registration that uses module ptr and the module btf_id is missing
Subsystem: bpf (kernel/bpf/bpf_struct_ops.c)
Bug type: use-after-free, severity: medium
Keywords: refcount;UAF
Files changed: include/linux/btf.h;kernel/bpf/bpf_struct_ops.c;kernel/bpf/btf.c
Introduced by Kui-Feng Lee on 2024-02-13 15:16:44 -0800; fixed by Martin KaFai Lau on 2025-01-03 10:16:46 -0800 (lifetime: 324 days)