KernelScan.io

HIGH Introduced in 5.17

netdev RefTracker UAF

CVE-2026-90135

CVSS 7.8 / 10.0 KernelScan AI

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

01

In the Linux kernel, the following vulnerability has been resolved: net: add missing ref_tracker_dir_exit() to alloc_netdev_mqs() sashiko is reporting that trying to read /sys/kernel/debug/ref_tracker/* causes use-afer-free crash when either alloc_percpu() or dev_addr_init() in alloc_netdev_mqs() failed, for commit 4d92b95ff2f9 ("net: add net device refcount tracker infrastructure") added ref_tracker_dir_exit() to only free_netdev() path.

02

Engine v0.6.0

Risk summary

A use-after-free occurs in the net device refcount tracker infrastructure when network device allocation fails partway through. An attacker who can trigger or influence allocation failure paths can cause a kernel crash by reading ref_tracker debugfs entries.

Affectednet/core/dev.c (net core device allocation)

Vulnerability analysis

When a network device is allocated and a later initialization step fails, the error path frees the device structure without first cleaning up the refcount tracker directory that was already initialized. If someone then reads the ref_tracker debugfs entries, the kernel dereferences the already-freed tracker, causing a use-after-free crash. The fix adds the missing cleanup call to the error path so the tracker is properly torn down before the device is freed. This is reachable by any local user who can trigger device allocation failure paths and then read the debugfs ref_tracker files, which requires the CONFIG_NET_DEV_REFCNT_TRACKER option to be enabled.

03

BranchIntroducedFixed inPatch commit
6.125.176.12.1102775bf36be78
6.185.176.18.525fe03b525709
6.65.176.6.16045be87c5195f
7.25.177.2.663ab05e8f965
mainline5.177.30b1c2af8a22c
cip/6.125.176.12.111-cip322775bf36be78

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.111-cip32
cip/6.1Affected — no CIP fix yet (latest 6.1.189-cip61)
cip/6.1-rtAffected — no CIP fix yet (latest 6.1.189-cip61-rt32)