In the Linux kernel, the following vulnerability has been resolved: bpf: Fix use-after-free in bpf_uprobe_multi_link_attach() If bpf_link_prime() fails, bpf_uprobe_multi_link_attach() goes to the error_free label and frees the array of bpf_uprobe's without calling bpf_uprobe_unregister(). This leaks bpf_uprobe->uprobe and worse, this frees bpf_uprobe->consumer without removing it from the uprobe->consumers list.
Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024102103-CVE-2024-47675-643d@gregkh/T
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.4 Extended Update Support Via RHSA-2024:10942 https://access.redhat.com/errata/RHSA-2024:10942
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2024:11486 https://access.redhat.com/errata/RHSA-2024:11486