Skip to contentSkip to conversation

CVE-2024-58061: wifi: mac80211: prohibit deactivating all links

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Mar 6, 2025

lore
Share & tools
lore
#0 lore raw

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

In the Linux kernel, the following vulnerability has been resolved:

wifi: mac80211: prohibit deactivating all links

In the internal API this calls this is a WARN_ON, but that should remain since internally we want to know about bugs that may cause this. Prevent deactivating all links in the debugfs write directly.

The Linux kernel CVE team has assigned CVE-2024-58061 to this issue.

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

	Issue introduced in 6.1 with commit 3d901102922723eedce6ef10ebd03315a7abb8a5 and fixed in 6.1.129 with commit dfe9a043300261afe5eadc07b867a6810c4e999a
	Issue introduced in 6.1 with commit 3d901102922723eedce6ef10ebd03315a7abb8a5 and fixed in 6.6.76 with commit d36e48a4d81c647df8a76cc58fd4d2442ba10744
	Issue introduced in 6.1 with commit 3d901102922723eedce6ef10ebd03315a7abb8a5 and fixed in 6.12.13 with commit 270ad6776e7cf1be3b769e0447070f9d0e8269db
	Issue introduced in 6.1 with commit 3d901102922723eedce6ef10ebd03315a7abb8a5 and fixed in 6.13.2 with commit 18100796c11dfdea9101fdc95d2428b2093477ee
	Issue introduced in 6.1 with commit 3d901102922723eedce6ef10ebd03315a7abb8a5 and fixed in 6.14-rc1 with commit 7553477cbfd784b128297f9ed43751688415bbaa

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-2024-58061

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/mac80211/debugfs_netdev.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/dfe9a043300261afe5eadc07b867a6810c4e999a
	https://git.kernel.org/stable/c/d36e48a4d81c647df8a76cc58fd4d2442ba10744
	https://git.kernel.org/stable/c/270ad6776e7cf1be3b769e0447070f9d0e8269db
	https://git.kernel.org/stable/c/18100796c11dfdea9101fdc95d2428b2093477ee
	https://git.kernel.org/stable/c/7553477cbfd784b128297f9ed43751688415bbaa