{"id":"CVE-2024-47675","summary":"bpf: Fix use-after-free in bpf_uprobe_multi_link_attach()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix use-after-free in bpf_uprobe_multi_link_attach()\n\nIf bpf_link_prime() fails, bpf_uprobe_multi_link_attach() goes to the\nerror_free label and frees the array of bpf_uprobe's without calling\nbpf_uprobe_unregister().\n\nThis leaks bpf_uprobe-\u003euprobe and worse, this frees bpf_uprobe-\u003econsumer\nwithout removing it from the uprobe-\u003econsumers list.","modified":"2026-04-02T12:20:12.336133Z","published":"2024-10-21T11:53:19.762Z","related":["ALSA-2024:11486","MGASA-2024-0344","MGASA-2024-0345","SUSE-SU-2024:3984-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47675.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5fe6e308abaea082c20fbf2aa5df8e14495622cf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/790c630ab0e7d7aba6d186581d4627c09fce60f3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7c1d782e5afbf7c50ba74ecc4ddc18a05d63e5ee"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cdf27834c3dd5d9abf7eb8e4ee87ee9e307eb25c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47675.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47675"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"89ae89f53d201143560f1e9ed4bfa62eee34f88e"},{"fixed":"790c630ab0e7d7aba6d186581d4627c09fce60f3"},{"fixed":"7c1d782e5afbf7c50ba74ecc4ddc18a05d63e5ee"},{"fixed":"cdf27834c3dd5d9abf7eb8e4ee87ee9e307eb25c"},{"fixed":"5fe6e308abaea082c20fbf2aa5df8e14495622cf"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47675.json"}}],"schema_version":"1.7.5"}