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 == NULL, and will cause a NULL pointer dereference in the following access to prog->sec_idx.
Upstream patch & commit:
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):