Skip to contentSkip to conversation

CVE-2026-53323: net: dsa: remove redundant netdev_lock_ops() from conduit ethtool ops

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 26

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: dsa: remove redundant netdev_lock_ops() from conduit ethtool ops

DSA replaces the conduit (master) device's ethtool_ops with its own wrappers that aggregate stats from both the conduit and DSA switch ports. Taking the lock again inside the DSA wrappers causes a deadlock.

Stumbled upon this when booting qemu with fbnic and CONFIG_NET_DSA_LOOP=y (which looks like some kind of testing device that auto-populates the ports of eth0). ethtool -i is enough to deadlock. This means we have basically zero coverage for DSA stuff with real ops locked devs.

Remove the redundant netdev_lock_ops()/netdev_unlock_ops() calls from the DSA conduit ethtool wrappers.

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

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

	Issue introduced in 6.15 with commit 2bcf4772e45adb00649a4e9cbff14b08a144f9e3 and fixed in 6.18.33 with commit 74d64ae4254e99ef8c8215b057a76edac82c5f99
	Issue introduced in 6.15 with commit 2bcf4772e45adb00649a4e9cbff14b08a144f9e3 and fixed in 7.0.10 with commit abe91fd045874d21834482adcd7a9693e7377056
	Issue introduced in 6.15 with commit 2bcf4772e45adb00649a4e9cbff14b08a144f9e3 and fixed in 7.1 with commit 0f99e0c3e19badaf3fdced0d3feba623e59eed41

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-53323

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/dsa/conduit.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/74d64ae4254e99ef8c8215b057a76edac82c5f99
	https://git.kernel.org/stable/c/abe91fd045874d21834482adcd7a9693e7377056
	https://git.kernel.org/stable/c/0f99e0c3e19badaf3fdced0d3feba623e59eed41