7.0high
devlink: fix possible use-after-free and memory leaks in devlink_init()
- Severity
- 7.0high CVSS:3.1 by Linux
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: devlink: fix possible use-after-free and memory leaks in devlink_init() The pernet operations structure for the subsystem must be registered before registering the generic netlink family. Make an unregister in case of unsuccessful registration.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 687125b5799cd5120437fa455cfccbe8537916ff before 919092bd5482b7070ae66d1daef73b600738f3a2, from 687125b5799cd5120437fa455cfccbe8537916ff before e91d3561e28d7665f4f837880501dc8755f635a9, from 687125b5799cd5120437fa455cfccbe8537916ff before def689fc26b9a9622d2e2cb0c4933dd3b1c8071c, 6.3 Not affected: before 6.3, from 6.6.19 up to 6.6.*, from 6.7.7 up to 6.7.*, from 6.8 up to * | CVE List |
| linux linux_kernel | from 6.3 before 6.6.19, from 6.7 before 6.7.7, 6.8 | NVD |
All scores
| Linux | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/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
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: devlink: fix possible use-after-free and memory leaks in devlink_init() The pernet operations structure for the subsystem must be registered before registering the generic netlink family. Make an unregister in case of unsuccessful registration.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: devlink: corrige posibles pérdidas de memoria y use-after-free en devlink_init() La estructura de operaciones pernet para el subSYSTEM debe registrarse antes de registrar la familia netlink genérica. Realice una cancelación del registro en caso de que el registro no sea exitoso.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-26734 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-26734 changed 2026-08-04 | Public domain |