7.8high
bpf: Fix use-after-free in bpf_uprobe_multi_link_attach()
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.31% (higher than 16% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 89ae89f53d201143560f1e9ed4bfa62eee34f88e before 790c630ab0e7d7aba6d186581d4627c09fce60f3, from 89ae89f53d201143560f1e9ed4bfa62eee34f88e before 7c1d782e5afbf7c50ba74ecc4ddc18a05d63e5ee, from 89ae89f53d201143560f1e9ed4bfa62eee34f88e before cdf27834c3dd5d9abf7eb8e4ee87ee9e307eb25c, from 89ae89f53d201143560f1e9ed4bfa62eee34f88e before 5fe6e308abaea082c20fbf2aa5df8e14495622cf, 6.6 Not affected: before 6.6, from 6.6.54 up to 6.6.*, from 6.10.13 up to 6.10.*, from 6.11.2 up to 6.11.*, from 6.12 up to * | CVE List |
| linux linux_kernel | from 6.6 before 6.6.54, from 6.7 before 6.10.13, from 6.11 before 6.11.2 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: bpf: Se corrige el use after free en bpf_uprobe_multi_link_attach() Si bpf_link_prime() fallo, bpf_uprobe_multi_link_attach() va a la etiqueta error_free y libera la matriz de bpf_uprobe sin llamar a bpf_uprobe_unregister(). Esto filtra bpf_uprobe->uprobe y, lo que es peor, libera bpf_uprobe->consumer sin eliminarlo de la lista uprobe->consumers.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-47675 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-47675 changed 2026-08-04 | Public domain |