Skip to contentSkip to conversation

CVE-2024-50237: wifi: mac80211: do not pass a stopped vif to the driver in .get_txpower

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Nov 9, 2024

lore
Share & tools
lore
#0 lore raw

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

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

wifi: mac80211: do not pass a stopped vif to the driver in .get_txpower

Avoid potentially crashing in the driver because of uninitialized private data

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

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

Issue introduced in 3.19 with commit 5b3dc42b1b0d and fixed in 4.19.323 with commit b0b862aa3dbc Issue introduced in 3.19 with commit 5b3dc42b1b0d and fixed in 5.4.285 with commit 78b698fbf372 Issue introduced in 3.19 with commit 5b3dc42b1b0d and fixed in 5.10.229 with commit c21efba8b5a8 Issue introduced in 3.19 with commit 5b3dc42b1b0d and fixed in 5.15.171 with commit b2bcbe5450b2 Issue introduced in 3.19 with commit 5b3dc42b1b0d and fixed in 6.1.116 with commit 8f6cd4d5bb74 Issue introduced in 3.19 with commit 5b3dc42b1b0d and fixed in 6.6.60 with commit ee35c423042c Issue introduced in 3.19 with commit 5b3dc42b1b0d and fixed in 6.11.7 with commit 3ccf525a73d4 Issue introduced in 3.19 with commit 5b3dc42b1b0d and fixed in 6.12-rc6 with commit 393b6bc174b0

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

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/cfg.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/b0b862aa3dbcd16b3c4715259a825f48ca540088
	https://git.kernel.org/stable/c/78b698fbf37208ee921ee4cedea75b5d33d6ea9f
	https://git.kernel.org/stable/c/c21efba8b5a86537ccdf43f77536bad02f82776c
	https://git.kernel.org/stable/c/b2bcbe5450b20641f512d6b26c6b256a5a4f847f
	https://git.kernel.org/stable/c/8f6cd4d5bb7406656835a90e4f1a2192607f0c21
	https://git.kernel.org/stable/c/ee35c423042c9e04079fdee3db545135d609d6ea
	https://git.kernel.org/stable/c/3ccf525a73d48e814634847f6d4a6150c6f0dffc
	https://git.kernel.org/stable/c/393b6bc174b0dd21bb2a36c13b36e62fc3474a23