CVE-2024-26734
published high CVSS 3.1 · 7.0devlink: fix possible use-after-free and memory leaks in devlink_init()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux687125b5799cd5120437fa455cfccbe8537916ff to < 919092bd5482b7070ae66d1daef73b600738f3a2 · 687125b5799cd5120437fa455cfccbe8537916ff to < e91d3561e28d7665f4f837880501dc8755f635a9 · 687125b5799cd5120437fa455cfccbe8537916ff to < def689fc26b9a9622d2e2cb0c4933dd3b1c8071c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.3 (affected) · 0 to < 6.3 (unaffected · semver) · 6.6.19 through 6.6.* (unaffected · semver) · 6.7.7 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el7uek | ELSA-2024-12845 |
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el7uek | ELSA-2024-12845 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el7uek | ELSA-2024-12845 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el7uek | ELSA-2024-12845 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el7uek | ELSA-2024-12845 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el7uek | ELSA-2024-12845 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el7uek | ELSA-2024-12845 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el7uek | ELSA-2024-12845 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el7uek | ELSA-2024-12845 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el7uek | ELSA-2024-12845 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el7uek | ELSA-2024-12845 |
| Oracle Linux | 7 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el7uek | ELSA-2024-12845 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el7uek | ELSA-2024-12845 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el7uek | ELSA-2024-12845 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el7uek | ELSA-2024-12845 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el7uek | ELSA-2024-12845 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el7uek | ELSA-2024-12845 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el8uek | ELSA-2024-12845 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el8uek | ELSA-2024-12845 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el8uek | ELSA-2024-12845 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el8uek | ELSA-2024-12845 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el8uek | ELSA-2024-12845 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el8uek | ELSA-2024-12845 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el8uek | ELSA-2024-12845 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el8uek | ELSA-2024-12845 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el8uek | ELSA-2024-12845 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.336.5.3.1.el8uek | ELSA-2024-12845 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-300.163.18.7.el8uek | ELSA-2024-12830 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-301.163.5.2.el8uek | ELSA-2024-12796 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The resulting dangling `struct net` pointer is only reached through the devlink generic-netlink family from a local AF_NETLINK socket (`devlinks_xa_find_get()` → `devlink_net()`), with no remote protocol involvement. Netlink-reachable kernel state is scored Local. AC:H - The vulnerable state only exists if a registration inside the boot-time `subsys_initcall` `devlink_init()` fails, which depends on early-boot allocation conditions entirely outside attacker influence — and in practice `register_pernet_subsys()` on `.pre_exit`-only ops and `register_netdevice_notifier()` on an always-`NOTIFY_OK` handler cannot fail at all. PR:L - Once the pernet `pre_exit` hook is missing, the stale `devlink->_net` is dereferenced from `DEVLINK_CMD_*_GET`/dump handlers that carry no `GENL_ADMIN_PERM`, so any unprivileged local user with a netlink socket can touch the freed pointer. UI:N - Triggering the devlink netlink query that dereferences the dangling namespace pointer requires no action by any other user or administrator. S:U - The corruption and its consequences stay within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - A use-after-free on a freed `struct net` lets an attacker reclaim the slab with controlled data and read back kernel memory through devlink's namespace-filtered dump paths. I:H - The same use-after-free permits heap spraying of the freed `struct net`, yielding attacker-influenced writes through the reference-counting and reload paths that operate on it, which is exploitable toward control-flow hijack. A:H - Dereferencing a freed network namespace reliably produces an oops or panic, and the unbalanced registrations additionally leak kernel memory.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 687125b5799cd5120437fa455cfccbe8537916ff to < 919092bd5482b7070ae66d1daef73b600738f3a2 (affected · git)687125b5799cd5120437fa455cfccbe8537916ff to < e91d3561e28d7665f4f837880501dc8755f635a9 (affected · git)687125b5799cd5120437fa455cfccbe8537916ff to < def689fc26b9a9622d2e2cb0c4933dd3b1c8071c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.3 (affected)0 to < 6.3 (unaffected · semver)6.6.19 through 6.6.* (unaffected · semver)6.7.7 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
3Linux · cna
devlink: fix possible use-after-free and memory leaks in devlink_init()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 81974c466bebe648273e744165981eb76d5c6838a2e245c2c8259a878c72af44
- Ingested
- 23 Sep 2026, 08:20:34 UTC
- Source record
- Official CVE record