A NULL pointer dereference issue was found in libbpf. When there are no program sections, obj->programs is left unallocated, and find_prog_by_sec_insn()'s search lands on &obj->programs[0] == NULL, and will cause a NULL pointer dereference in the following access to prog->sec_idx. Upstream patch & commit: https://lore.kernel.org/bpf/20221012022353.7350-4-shung-hsi.yu@suse.com/ https://github.com/torvalds/linux/commit/d0d382f95a9270dcf803539d6781d6bd67e3f5b2
Created kernel tracking bugs for this issue: Affects: fedora-all [bug 2155222] Created libbpf tracking bugs for this issue: Affects: fedora-all [bug 2155228]
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2022-3606