CVE-2024-26734: devlink: fix possible use-after-free and memory leaks in devlink_init()
In the Linux kernel, the following vulnerability has been resolved:
devlink: fix possible use-after-free and memory leaks in devlinkinit()
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.133-1Fixed in 6.12.22-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-26734?
CVE-2024-26734 is classified as a medium severity vulnerability within the Linux kernel.
How do I fix CVE-2024-26734?
To fix CVE-2024-26734, update your Linux kernel to the latest patched version or apply the appropriate security updates.
Which versions of Linux kernel are affected by CVE-2024-26734?
CVE-2024-26734 affects multiple versions of the Linux kernel, specifically those between 6.3 and 6.6.19, as well as 6.8-rc1 to 6.8-rc5.
What is the nature of CVE-2024-26734 vulnerability?
CVE-2024-26734 is a use-after-free and memory leak vulnerability occurring in the devlink_init() function.
Is there a risk associated with CVE-2024-26734?
Yes, CVE-2024-26734 poses a risk of exploitation that could potentially allow an attacker to execute arbitrary code in the kernel context.