Skip to contentSkip to conversation

CVE-2026-90382: wifi: mt76: mt76x02: do not WARN on invalid rx descriptor length

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: mt76x02: do not WARN on invalid rx descriptor length

The MPDU length in the rx descriptor comes from the hardware. In monitor mode with the fcsfail filter enabled, the hardware passes up corrupted frames, and a corrupted frame can report a length larger than the received buffer. The bounds check correctly discards such frames, but its WARN_ON_ONCE wrapper means any over-the-air garbage frame taints the kernel, and panics it on the first such frame when panic_on_warn is set.

Drop the WARN and discard the frame silently, matching what commit c2d4c8723dbf ("mt76x2: remove some harmless WARN_ONs in tx status and rx path") did for the neighboring rx and tx status paths.

Observed immediately on rx with an MT7612U in fcsfail monitor mode on a busy channel.

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

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

	Issue introduced in 4.16 with commit 7bc04215a66b60e198aecaee8418f6d79fa19faa and fixed in 5.10.270 with commit 61b1f6d92249bc34580ff19de7c69c805f82adca
	Issue introduced in 4.16 with commit 7bc04215a66b60e198aecaee8418f6d79fa19faa and fixed in 5.15.221 with commit c65bbfc730df9ebf0fea8e286b0ad2dfab03dbfe
	Issue introduced in 4.16 with commit 7bc04215a66b60e198aecaee8418f6d79fa19faa and fixed in 6.1.188 with commit d55e7aede542c4c76ead82d37d0c112f21eb2ac2
	Issue introduced in 4.16 with commit 7bc04215a66b60e198aecaee8418f6d79fa19faa and fixed in 6.6.157 with commit b6e7958602bd1acdb8ae92703b6689a28bcc9bc0
	Issue introduced in 4.16 with commit 7bc04215a66b60e198aecaee8418f6d79fa19faa and fixed in 6.12.110 with commit 2d31e332c13b1db7745a7bd9cf74bc105524bcac
	Issue introduced in 4.16 with commit 7bc04215a66b60e198aecaee8418f6d79fa19faa and fixed in 6.18.52 with commit 17d6b89e09eac2d90272fceeba3644e92212e02f
	Issue introduced in 4.16 with commit 7bc04215a66b60e198aecaee8418f6d79fa19faa and fixed in 7.2.6 with commit 6def491fe9c4e83aa8cba62d74e9d4ab751ee967
	Issue introduced in 4.16 with commit 7bc04215a66b60e198aecaee8418f6d79fa19faa and fixed in 7.3-rc1 with commit 81497634d9f872fd3e8b03aada55574afff6f174

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

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/mt76x02_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/61b1f6d92249bc34580ff19de7c69c805f82adca
	https://git.kernel.org/stable/c/c65bbfc730df9ebf0fea8e286b0ad2dfab03dbfe
	https://git.kernel.org/stable/c/d55e7aede542c4c76ead82d37d0c112f21eb2ac2
	https://git.kernel.org/stable/c/b6e7958602bd1acdb8ae92703b6689a28bcc9bc0
	https://git.kernel.org/stable/c/2d31e332c13b1db7745a7bd9cf74bc105524bcac
	https://git.kernel.org/stable/c/17d6b89e09eac2d90272fceeba3644e92212e02f
	https://git.kernel.org/stable/c/6def491fe9c4e83aa8cba62d74e9d4ab751ee967
	https://git.kernel.org/stable/c/81497634d9f872fd3e8b03aada55574afff6f174