What’s Vulnerable › Vulnerabilities
CVE-2024-26734: devlink: fix possible use-after-free and memory leaks in devlink_init()
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-04-03 · updated 2026-08-04
- Weakness: CWE-401
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 products
- Linux kernel: from 6.3 before 6.6.19; from 6.7 before 6.7.7; 6.8-rc1, 6.8-rc2, 6.8-rc3, 6.8-rc4, 6.8-rc5 — fixed in 6.6.19, 6.7.7
How to fix
Upgrade to a fixed version: Linux kernel 6.6.19, 6.7.7. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/919092bd5482b7070ae66d1daef73b600738f3a2
- https://git.kernel.org/stable/c/def689fc26b9a9622d2e2cb0c4933dd3b1c8071c
- https://git.kernel.org/stable/c/e91d3561e28d7665f4f837880501dc8755f635a9
- https://git.kernel.org/stable/c/919092bd5482b7070ae66d1daef73b600738f3a2
- https://git.kernel.org/stable/c/def689fc26b9a9622d2e2cb0c4933dd3b1c8071c
- https://git.kernel.org/stable/c/e91d3561e28d7665f4f837880501dc8755f635a9
Get alerted when CVE-2024-26734 or the next vulnerability affects your stack