CVE-2024-26734: devlink: fix possible use-after-free and memory leaks in devlink_init()

Published Apr 3, 2024
·
Updated

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

8 affected componentsFixes available
Linux Linux kernel>=6.3<6.6.19
Linux Linux kernel>=6.7<6.7.7
Linux Linux kernel=6.8-rc1
Linux Linux kernel=6.8-rc2
Linux Linux kernel=6.8-rc3
Linux Linux kernel=6.8-rc4
Linux Linux kernel=6.8-rc5
debian/linux
5.10.223-15.10.234-16.1.129-16.1.133-16.12.22-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to 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

Apr 3, 2024
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
DescriptionSeverity
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 12, 2024
Data Sourced
via Launchpad·12:46 PM
Description
Jan 16, 2025
Data Sourced
via Ubuntu·01:19 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-26734?

CVE-2024-26734 is classified as a medium severity vulnerability within the Linux kernel.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203