Skip to contentSkip to conversation

CVE-2024-47681: wifi: mt76: mt7996: fix NULL pointer dereference in mt7996_mcu_sta_bfer_he

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 21, 2024

lore
Share & tools
lore
#0 lore raw

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

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

wifi: mt76: mt7996: fix NULL pointer dereference in mt7996_mcu_sta_bfer_he

Fix the NULL pointer dereference in mt7996_mcu_sta_bfer_he routine adding an sta interface to the mt7996 driver.

Found by code review.

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

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

	Issue introduced in 6.2 with commit 98686cd21624 and fixed in 6.6.54 with commit 8e4b60ae8a04
	Issue introduced in 6.2 with commit 98686cd21624 and fixed in 6.10.13 with commit 174c803b4325
	Issue introduced in 6.2 with commit 98686cd21624 and fixed in 6.11.2 with commit 1afdde3b5f56
	Issue introduced in 6.2 with commit 98686cd21624 and fixed in 6.12-rc1 with commit f503ae90c735

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

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:

	drivers/net/wireless/mediatek/mt76/mt7996/mcu.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/8e4b60ae8a047ad2fb175fcfdd54feee80983a45
	https://git.kernel.org/stable/c/174c803b432596cdd7dd3ec5e0ec52b561969ee2
	https://git.kernel.org/stable/c/1afdde3b5f56217d875a543cf565075c11bbddad
	https://git.kernel.org/stable/c/f503ae90c7355e8506e68498fe84c1357894cd5b