Skip to contentSkip to conversation

CVE-2026-98351: wifi: virt_wifi: free skb when disconnected

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: virt_wifi: free skb when disconnected

When the simulated link is disconnected, virt_wifi_start_xmit() returns NET_XMIT_DROP without freeing the skb. dev_hard_start_xmit() treats this return value as consumed, so every packet sent while disconnected leaks its skb.

Free the skb before returning the drop status.

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

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

	Issue introduced in 5.0 with commit c7cdba31ed8b87526db978976392802d3f93110c and fixed in 5.10.271 with commit 38d3a5df85345f158f78b478b265ca906224454e
	Issue introduced in 5.0 with commit c7cdba31ed8b87526db978976392802d3f93110c and fixed in 5.15.222 with commit ee053ea35c759135460f03d1c574f4ed08de844a
	Issue introduced in 5.0 with commit c7cdba31ed8b87526db978976392802d3f93110c and fixed in 6.1.189 with commit d177eca79e1106834bc423d3969a4a2e3987996a
	Issue introduced in 5.0 with commit c7cdba31ed8b87526db978976392802d3f93110c and fixed in 6.6.158 with commit 36727a702cf8e3399e3da60d0856378f6afcfb34
	Issue introduced in 5.0 with commit c7cdba31ed8b87526db978976392802d3f93110c and fixed in 6.12.112 with commit 56469996c10a0240653fc00576b4d33bdfb4cc51
	Issue introduced in 5.0 with commit c7cdba31ed8b87526db978976392802d3f93110c and fixed in 6.18.54 with commit 4f266738af45675faa0e8afee08c6e780afa8b06
	Issue introduced in 5.0 with commit c7cdba31ed8b87526db978976392802d3f93110c and fixed in 7.2.8 with commit 46371442847a725cc0df3697fea2eba1dd54b82b
	Issue introduced in 5.0 with commit c7cdba31ed8b87526db978976392802d3f93110c and fixed in 7.3-rc4 with commit f9edf7cf63b96d2b776fca8d258d3c5256e40c8e

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

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/virtual/virt_wifi.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/38d3a5df85345f158f78b478b265ca906224454e
	https://git.kernel.org/stable/c/ee053ea35c759135460f03d1c574f4ed08de844a
	https://git.kernel.org/stable/c/d177eca79e1106834bc423d3969a4a2e3987996a
	https://git.kernel.org/stable/c/36727a702cf8e3399e3da60d0856378f6afcfb34
	https://git.kernel.org/stable/c/56469996c10a0240653fc00576b4d33bdfb4cc51
	https://git.kernel.org/stable/c/4f266738af45675faa0e8afee08c6e780afa8b06
	https://git.kernel.org/stable/c/46371442847a725cc0df3697fea2eba1dd54b82b
	https://git.kernel.org/stable/c/f9edf7cf63b96d2b776fca8d258d3c5256e40c8e