CVE-2026-90369: wifi: mt76: fix out-of-bounds access in mmio copy helpers
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: fix out-of-bounds access in mmio copy helpers
mt76_mmio_write_copy() and mt76_mmio_read_copy() iterate up to ALIGN(len, 4), so a length that is not a multiple of four reads past the source buffer (write_copy) or writes past the destination (read_copy). Copy the aligned body in the loop and handle the remaining tail through a 4-byte bounce buffer, keeping the register access width unchanged.
The Linux kernel CVE team has assigned CVE-2026-90369 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.19 with commit 2df00805f7dbaa46b60c682aad0d76270b7ba266 and fixed in 7.2.6 with commit 6ed0fba58bb125a8d8de96e391aa86111166efca Issue introduced in 6.19 with commit 2df00805f7dbaa46b60c682aad0d76270b7ba266 and fixed in 7.3-rc1 with commit 6689b4a65e88d7b019e687fa9d6943ca070f3e43
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-90369
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/mmio.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/6ed0fba58bb125a8d8de96e391aa86111166efca https://git.kernel.org/stable/c/6689b4a65e88d7b019e687fa9d6943ca070f3e43