Skip to contentSkip to conversation

CVE-2023-53710: wifi: mt76: mt7921: fix error code of return in mt7921_acpi_read

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 22, 2025

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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

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

wifi: mt76: mt7921: fix error code of return in mt7921_acpi_read

Kernel NULL pointer dereference when ACPI SAR table isn't implemented well. Fix the error code of return to mark the ACPI SAR table as invalid.

[    5.077128] mt7921e 0000:06:00.0: sar cnt = 0
[    5.077381] BUG: kernel NULL pointer dereference, address:
0000000000000004
[    5.077630] #PF: supervisor read access in kernel mode
[    5.077883] #PF: error_code(0x0000) - not-present page
[    5.078138] PGD 0 P4D 0
[    5.078398] Oops: 0000 [#1] PREEMPT SMP NOPTI
[    5.079202] RIP: 0010:mt7921_init_acpi_sar+0x106/0x220
[mt7921_common]
...
[    5.080786] Call Trace:
[    5.080786]  <TASK>
[    5.080786]  mt7921_register_device+0x37d/0x490 [mt7921_common]
[    5.080786]  mt7921_pci_probe.part.0+0x2ee/0x310 [mt7921e]
[    5.080786]  mt7921_pci_probe+0x52/0x70 [mt7921e]
[    5.080786]  local_pci_probe+0x47/0x90
[    5.080786]  pci_call_probe+0x55/0x190
[    5.080786]  pci_device_probe+0x84/0x120

The Linux kernel CVE team has assigned CVE-2023-53710 to this issue.

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

	Issue introduced in 6.0 with commit f965333e491e36adb0fa91e389fba8685b704fb6 and fixed in 6.1.16 with commit 2a9a5f88e0da71c8e4f30aacbda45b1a1af5469d
	Issue introduced in 6.0 with commit f965333e491e36adb0fa91e389fba8685b704fb6 and fixed in 6.2.3 with commit 59c2b0aec7a5aa350aa3edfb4363b19348c2269f
	Issue introduced in 6.0 with commit f965333e491e36adb0fa91e389fba8685b704fb6 and fixed in 6.3 with commit 888d89034f9eaeab9b5b75f13dbe35376c7dd471

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-2023-53710

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/mt7921/acpi_sar.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/2a9a5f88e0da71c8e4f30aacbda45b1a1af5469d
	https://git.kernel.org/stable/c/59c2b0aec7a5aa350aa3edfb4363b19348c2269f
	https://git.kernel.org/stable/c/888d89034f9eaeab9b5b75f13dbe35376c7dd471