wifi: mt76: mt76x02: do not WARN on invalid rx descriptor length
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 7bc04215a66b60e198aecaee8418f6d79fa19faa · < 17d6b89e09eac2d90272fceeba3644e92212e02f| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s mt76x02 Wi-Fi receive path warns when a corrupted frame reports a length larger than its buffer. In monitor mode with the fcsfail filter enabled, an over-the-air corrupted frame can trigger the warning; if panic_on_warn is set, the first such frame panics the kernel. No authentication or user interaction is described.
Engineers running Linux kernels with the mt76x02 driver should check whether their kernel includes the fix; affected versions are not specified.