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

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-04-03T17:00:21.162Z
- Modified: 2026-08-05T11:26:53.941Z
- Weaknesses: CWE-401, CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: from 6.3 before 6.6.19; from 6.7 before 6.7.7; 6.8

## Every score

- Linux: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/919092bd5482b7070ae66d1daef73b600738f3a2> (patch)
- <https://git.kernel.org/stable/c/e91d3561e28d7665f4f837880501dc8755f635a9> (patch)
- <https://git.kernel.org/stable/c/def689fc26b9a9622d2e2cb0c4933dd3b1c8071c> (patch)

## Sources

- CVE List: [CVE-2024-26734](https://www.cve.org/CVERecord?id=CVE-2024-26734), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-26734](https://nvd.nist.gov/vuln/detail/CVE-2024-26734), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-26734 · Whole record: https://cve.day/CVE-2024-26734.json · Rebuilt by cve.day 2026-11-25T22:58:38.674Z
