Skip to contentSkip to conversation

CVE-2026-80941: wifi: rtw88: Fix potential memory leak in rtw_txq_push_skb()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 11

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: rtw88: Fix potential memory leak in rtw_txq_push_skb()

The skb passed to the rtw_hci_tx_write() is expected to be freed when the function fails, but the error path in rtw_txq_push_skb() does not free the skb before returning. This can lead to a memory leak in rtw_txq_push() where a dequeued skb is passed to rtw_txq_push_skb().

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

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

	Issue introduced in 5.7 with commit aaab5d0e673749f82ff34e5f15ea8a689789a9ce and fixed in 6.12.109 with commit 6e95852f904edbabf411793093fcfd6f6d49ef27
	Issue introduced in 5.7 with commit aaab5d0e673749f82ff34e5f15ea8a689789a9ce and fixed in 6.18.50 with commit 7364713f0931ee45fdf0bea27103b40ccc94979a
	Issue introduced in 5.7 with commit aaab5d0e673749f82ff34e5f15ea8a689789a9ce and fixed in 7.2.4 with commit 51d8b35574721cf3fe744f46ebd9629916063fee
	Issue introduced in 5.7 with commit aaab5d0e673749f82ff34e5f15ea8a689789a9ce and fixed in 7.3-rc1 with commit 9f2948010764d708bda27369d09ce6f194abe8e3

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

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/realtek/rtw88/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/6e95852f904edbabf411793093fcfd6f6d49ef27
	https://git.kernel.org/stable/c/7364713f0931ee45fdf0bea27103b40ccc94979a
	https://git.kernel.org/stable/c/51d8b35574721cf3fe744f46ebd9629916063fee
	https://git.kernel.org/stable/c/9f2948010764d708bda27369d09ce6f194abe8e3