Bug 2320254 (CVE-2024-47675) - CVE-2024-47675 kernel: bpf: Fix use-after-free in bpf_uprobe_multi_link_attach()
Summary: CVE-2024-47675 kernel: bpf: Fix use-after-free in bpf_uprobe_multi_link_attach()
Keywords:
Status: NEW
Alias: CVE-2024-47675
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2320364
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 13:05 UTC by OSIDB Bzimport
Modified: 2025-04-25 17:25 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2025:0001 0 None None None 2025-01-01 07:22:59 UTC
Red Hat Product Errata RHSA-2024:10942 0 None None None 2024-12-11 01:19:53 UTC
Red Hat Product Errata RHSA-2024:11486 0 None None None 2024-12-19 00:43:13 UTC

Description OSIDB Bzimport 2024-10-21 13:05:48 UTC
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.

Comment 2 errata-xmlrpc 2024-12-11 01:19:53 UTC
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

Comment 3 errata-xmlrpc 2024-12-19 00:43:12 UTC
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


Note You need to log in before you can comment on or make changes to this bug.