All reports
Medium

kernel: devlink: fix possible use-after-free and memory leaks in devlink_init()

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-26734

Probability of exploitation in the next 30 days: 0.24%

FIRST EPSS · 2026-11-24

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.

A vulnerability was found in the devlink_init() function in the Linux kernel. Use-after-free and memory leak issues can occur due to an incorrect order of initialization and cleanup in case of errors. This issue could lead to memory corruption or crashes.