CVE-2024-26734
JSON

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 packageVersionsReported by
Linux Linuxfrom 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_kernelfrom 6.3 before 6.6.19, from 6.7 before 6.7.7, 6.8NVD

All scores

Linux7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-401CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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

SourceRecordLicence
CVE ListCVE-2024-26734 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-26734 changed 2026-08-04Public domain