Skip to contentSkip to conversation

CVE-2026-90380: wifi: mt76: mt792x: fix use-after-free in mt76_rx_poll_complete

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

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: mt792x: fix use-after-free in mt76_rx_poll_complete

A use-after-free issue occurs in mt76_rx_poll_complete due to a race condition. The STA has already been removed, but the rx_status still had a pointer to the wcid in the STA.

Set the links' wcid pointers to be NULL for a MLD in mt7925_sta_pre_rcu_remove()

BUG: KASAN: invalid-access in mt76_rx_poll_complete+0x280/0x470
Call trace:
dump_backtrace+0xec/0x128
show_stack+0x18/0x28
dump_stack_lvl+0x40/0xc8
print_report+0x1b8/0x710
kasan_report+0xe0/0x144
do_bad_area+0x120/0x260
do_tag_check_fault+0x20/0x34
do_mem_abort+0x54/0xa8
el1_abort+0x3c/0x5c
el1h_64_sync_handler+0x40/0xcc
el1h_64_sync+0x7c/0x80
mt76_rx_poll_complete+0x280/0x470
mt76_dma_rx_poll+0x114/0x51c
mt792x_poll_rx+0x60/0xf8
napi_threaded_poll_loop+0xe0/0x450
napi_threaded_poll+0x80/0x9c
kthread+0x11c/0x158
ret_from_fork+0x10/0x20

The Linux kernel CVE team has assigned CVE-2026-90380 to this issue.

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

	Issue introduced in 6.7 with commit c948b5da6bbec742b433138e3e3f9537a85af2e5 and fixed in 6.12.110 with commit aaf414bf81ab4b680580871784b0b929818188eb
	Issue introduced in 6.7 with commit c948b5da6bbec742b433138e3e3f9537a85af2e5 and fixed in 7.2.6 with commit b250943f3f8351385a17972bda001664a5c51008
	Issue introduced in 6.7 with commit c948b5da6bbec742b433138e3e3f9537a85af2e5 and fixed in 7.3-rc1 with commit 217f9e7bb02558759be9d9ecfe532e9708741c50

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-2026-90380

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/mt7925/main.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/aaf414bf81ab4b680580871784b0b929818188eb
	https://git.kernel.org/stable/c/b250943f3f8351385a17972bda001664a5c51008
	https://git.kernel.org/stable/c/217f9e7bb02558759be9d9ecfe532e9708741c50