{"id":"CVE-2024-47675","published":"2024-10-21T11:53:19Z","modified":"2026-08-05T11:39:21Z","title":"bpf: Fix use-after-free in bpf_uprobe_multi_link_attach()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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->uprobe and worse, this frees bpf_uprobe->consumer\nwithout removing it from the uprobe->consumers list.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00237,"percentile":0.14869,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/790c630ab0e7d7aba6d186581d4627c09fce60f3","tags":[]},{"url":"https://git.kernel.org/stable/c/7c1d782e5afbf7c50ba74ecc4ddc18a05d63e5ee","tags":[]},{"url":"https://git.kernel.org/stable/c/cdf27834c3dd5d9abf7eb8e4ee87ee9e307eb25c","tags":[]},{"url":"https://git.kernel.org/stable/c/5fe6e308abaea082c20fbf2aa5df8e14495622cf","tags":[]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":2.97},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 89ae89f53d201143560f1e9ed4bfa62eee34f88e, < 790c630ab0e7d7aba6d186581d4627c09fce60f3",">= 89ae89f53d201143560f1e9ed4bfa62eee34f88e, < 7c1d782e5afbf7c50ba74ecc4ddc18a05d63e5ee",">= 89ae89f53d201143560f1e9ed4bfa62eee34f88e, < cdf27834c3dd5d9abf7eb8e4ee87ee9e307eb25c",">= 89ae89f53d201143560f1e9ed4bfa62eee34f88e, < 5fe6e308abaea082c20fbf2aa5df8e14495622cf"]},{"vendor":"Linux","product":"Linux","versions":["6.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-21T13:08:07.484678Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-42596","exploited":false,"provenance":"source"}}