CVE-2025-38599: wifi: mt76: mt7996: Fix possible OOB access in mt7996_tx()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7996: Fix possible OOB access in mt7996_tx()
Fis possible Out-Of-Boundary access in mt7996_tx routine if link_id is set to IEEE80211_LINK_UNSPECIFIED
The Linux kernel CVE team has assigned CVE-2025-38599 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.15 with commit 3ce8acb86b6614b9f7af794f119f9627efe6b302 and fixed in 6.15.10 with commit f82eabd0ff8067d1ee95515f4174c9a9569d54cb Issue introduced in 6.15 with commit 3ce8acb86b6614b9f7af794f119f9627efe6b302 and fixed in 6.16.1 with commit f43e7d8ae4b6a73213032545552bab26f76f113a Issue introduced in 6.15 with commit 3ce8acb86b6614b9f7af794f119f9627efe6b302 and fixed in 6.17-rc1 with commit 64cbf0d7ce9afe20666da90ec6ecaec6ba5ac64b
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-2025-38599
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/mt7996/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/f82eabd0ff8067d1ee95515f4174c9a9569d54cb https://git.kernel.org/stable/c/f43e7d8ae4b6a73213032545552bab26f76f113a https://git.kernel.org/stable/c/64cbf0d7ce9afe20666da90ec6ecaec6ba5ac64b