Skip to contentSkip to conversation

CVE-2026-98325: wifi: mac80211: set up the TX info early to fix failure paths

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 6

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: mac80211: set up the TX info early to fix failure paths

The previous commit 2c51457d930f ("wifi: mac80211: free ack status frame on TX header build failure") cleaned up the leak, but still left the code a bit messy and the failed SKB didn't get reported to userspace.

Fix this up by initialising skb->cb[] earlier, which allows using ieee80211_free_txskb() and therefore reports it for the failure in ieee80211_build_hdr(), and unifies the ieee80211_skb_resize() failure path with it.

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

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

	Issue introduced in 3.7 with commit c3e7724b6bc2f25e46c38dbe68f09d71fafeafb8 and fixed in 6.1.189 with commit df711e9fa20d7e996711c7f43a11a71805bef78d
	Issue introduced in 3.7 with commit c3e7724b6bc2f25e46c38dbe68f09d71fafeafb8 and fixed in 6.6.158 with commit 420fcc2fdeae6ecd682d2b1605a0a54c88aed4aa
	Issue introduced in 3.7 with commit c3e7724b6bc2f25e46c38dbe68f09d71fafeafb8 and fixed in 6.12.112 with commit 36e6f0a5e6d7238f4023e77f423c1c1414374309
	Issue introduced in 3.7 with commit c3e7724b6bc2f25e46c38dbe68f09d71fafeafb8 and fixed in 6.18.54 with commit 0fb37d2b6cb829cebdaea80f39011469f474bdcc
	Issue introduced in 3.7 with commit c3e7724b6bc2f25e46c38dbe68f09d71fafeafb8 and fixed in 7.2.8 with commit 03d67414bd05b86029afc14535238a9393eac1c6
	Issue introduced in 3.7 with commit c3e7724b6bc2f25e46c38dbe68f09d71fafeafb8 and fixed in 7.3-rc4 with commit 50d3d79dc0743b616afb00d01a626c76758721f7
	Issue introduced in 3.6.3 with commit fd39be7ff6f81f2dc91ba6e5f87944abef5b4802

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

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:

	net/mac80211/tx.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/df711e9fa20d7e996711c7f43a11a71805bef78d
	https://git.kernel.org/stable/c/420fcc2fdeae6ecd682d2b1605a0a54c88aed4aa
	https://git.kernel.org/stable/c/36e6f0a5e6d7238f4023e77f423c1c1414374309
	https://git.kernel.org/stable/c/0fb37d2b6cb829cebdaea80f39011469f474bdcc
	https://git.kernel.org/stable/c/03d67414bd05b86029afc14535238a9393eac1c6
	https://git.kernel.org/stable/c/50d3d79dc0743b616afb00d01a626c76758721f7