Skip to contentSkip to conversation

CVE-2026-23315: wifi: mt76: Fix possible oob access in mt76_connac2_mac_write_txwi_80211()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Mar 25

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: Fix possible oob access in mt76_connac2_mac_write_txwi_80211()

Check frame length before accessing the mgmt fields in mt76_connac2_mac_write_txwi_80211 in order to avoid a possible oob access.

[fix check to also cover mgmt->u.action.u.addba_req.capab, correct Fixes tag]

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

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

	Issue introduced in 5.10 with commit 577dbc6c656da6997dddc6cf842b7954588f2d4e and fixed in 6.1.167 with commit 84419556359bc96d3fe1623d47a64c86542566cc
	Issue introduced in 5.10 with commit 577dbc6c656da6997dddc6cf842b7954588f2d4e and fixed in 6.6.130 with commit 7ae7b093b7dba9548a3bc4766b9364b97db4732d
	Issue introduced in 5.10 with commit 577dbc6c656da6997dddc6cf842b7954588f2d4e and fixed in 6.12.77 with commit 7b692dff8df0ba5feb8df00f27d906d6eb1fe627
	Issue introduced in 5.10 with commit 577dbc6c656da6997dddc6cf842b7954588f2d4e and fixed in 6.18.17 with commit 9612d91f617231e03c49cb9b0c02f975a3b4f51f
	Issue introduced in 5.10 with commit 577dbc6c656da6997dddc6cf842b7954588f2d4e and fixed in 6.19.7 with commit 0fb3b94a9431a3800717e5c3b6fa2e1045a15029
	Issue introduced in 5.10 with commit 577dbc6c656da6997dddc6cf842b7954588f2d4e and fixed in 7.0-rc3 with commit 4e10a730d1b511ff49723371ed6d694dd1b2c785

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

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/mt76_connac_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/84419556359bc96d3fe1623d47a64c86542566cc
	https://git.kernel.org/stable/c/7ae7b093b7dba9548a3bc4766b9364b97db4732d
	https://git.kernel.org/stable/c/7b692dff8df0ba5feb8df00f27d906d6eb1fe627
	https://git.kernel.org/stable/c/9612d91f617231e03c49cb9b0c02f975a3b4f51f
	https://git.kernel.org/stable/c/0fb3b94a9431a3800717e5c3b6fa2e1045a15029
	https://git.kernel.org/stable/c/4e10a730d1b511ff49723371ed6d694dd1b2c785