Skip to contentSkip to conversation

CVE-2026-90135: net: add missing ref_tracker_dir_exit() to alloc_netdev_mqs()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2026-90135 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.17 with commit 4d92b95ff2f95f13df9bad0b5a25a9f60e72758d and fixed in 6.12.110 with commit 2775bf36be7872834a7f8c0a0d9681a1a3e1cd4c
	Issue introduced in 5.17 with commit 4d92b95ff2f95f13df9bad0b5a25a9f60e72758d and fixed in 6.18.52 with commit 5fe03b5257095e2beef0bc79e1f068fbd09a24c7
	Issue introduced in 5.17 with commit 4d92b95ff2f95f13df9bad0b5a25a9f60e72758d and fixed in 7.2.6 with commit 63ab05e8f9654aa100d366c0236399fda6ffaab1
	Issue introduced in 5.17 with commit 4d92b95ff2f95f13df9bad0b5a25a9f60e72758d and fixed in 7.3-rc1 with commit 0b1c2af8a22c35cb099c735c2f63ea3ba757557d

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-90135

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
net/core/dev.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/2775bf36be7872834a7f8c0a0d9681a1a3e1cd4c
	https://git.kernel.org/stable/c/5fe03b5257095e2beef0bc79e1f068fbd09a24c7
	https://git.kernel.org/stable/c/63ab05e8f9654aa100d366c0236399fda6ffaab1
	https://git.kernel.org/stable/c/0b1c2af8a22c35cb099c735c2f63ea3ba757557d