Skip to contentSkip to conversation

CVE-2022-49484: mt76: mt7915: fix possible NULL pointer dereference in mt7915_mac_fill_rx_vector

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Feb 26, 2025

lore
Share & tools
lore
#0 lore raw

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

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

mt76: mt7915: fix possible NULL pointer dereference in mt7915_mac_fill_rx_vector

Fix possible NULL pointer dereference in mt7915_mac_fill_rx_vector routine if the chip does not support dbdc and the hw reports band_idx set to 1.

The Linux kernel CVE team has assigned CVE-2022-49484 to this issue.

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

	Issue introduced in 5.12 with commit 78fc30a21cf1175e97567fa5153c0efc7d955a45 and fixed in 5.18.3 with commit 268e8ef187eb8780d021b0e4f5ffa92dee5c4983
	Issue introduced in 5.12 with commit 78fc30a21cf1175e97567fa5153c0efc7d955a45 and fixed in 5.19 with commit 62fdc974894eec80d678523458cf99bbdb887e22

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-2022-49484

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/mt7915/mac.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/268e8ef187eb8780d021b0e4f5ffa92dee5c4983
	https://git.kernel.org/stable/c/62fdc974894eec80d678523458cf99bbdb887e22