CVE-2026-64515: wifi: mac80211: fix MLE defragmentation

Greg Kroah-Hartman <[email protected]> Sat, 25 Jul 2026 11:13:36 +0200
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026072535-CVE-2026-64515-2d42@gregkh>
From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

wifi: mac80211: fix MLE defragmentation

If either reconf or EPCS multi-link element (MLE) is contained in
a non-transmitted profile, the defragmentation routine is called
with a pointer to the defragmented copy, but the original elements.

This is incorrect for two reasons:
 - if the original defragmentation was needed, it will not find the
   correct data
 - if the original frame is at a higher address, the parsing will
   potentially overrun the heap data (though given the layout of
   the buffers, only into the new defragmentation buffer, and then
   it has to stop and fail once that's filled with copied data.

Fix it by tracking the container along with the pointer and in
doing so also unify the two almost identical defragmentation
routines.

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


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

	Issue introduced in 6.9 with commit 4d70e9c5488dd57ff5fcabe4d4ecf3d9dd4555ff and fixed in 6.12.92 with commit 1f573e17bcb7275ddd1c8f47f46ae0faf0e902a4
	Issue introduced in 6.9 with commit 4d70e9c5488dd57ff5fcabe4d4ecf3d9dd4555ff and fixed in 6.18.34 with commit 55c479aae99b120489a432db9c717484e523dfd6
	Issue introduced in 6.9 with commit 4d70e9c5488dd57ff5fcabe4d4ecf3d9dd4555ff and fixed in 7.0.11 with commit 722b3f86df80644463d29fe5451e30a617f74500
	Issue introduced in 6.9 with commit 4d70e9c5488dd57ff5fcabe4d4ecf3d9dd4555ff and fixed in 7.1 with commit a74e893f30db64cdce0fc7a96d3baa417bcd55f5

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-64515
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/parse.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/1f573e17bcb7275ddd1c8f47f46ae0faf0e902a4
	https://git.kernel.org/stable/c/55c479aae99b120489a432db9c717484e523dfd6
	https://git.kernel.org/stable/c/722b3f86df80644463d29fe5451e30a617f74500
	https://git.kernel.org/stable/c/a74e893f30db64cdce0fc7a96d3baa417bcd55f5