Skip to contentSkip to conversation

CVE-2022-50863: wifi: rtw89: free unused skb to prevent memory leak

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Dec 30, 2025

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: rtw89: free unused skb to prevent memory leak

This avoid potential memory leak under power saving mode.

The Linux kernel CVE team has assigned CVE-2022-50863 to this issue.

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

	Fixed in 5.19.17 with commit d4b4f6ff8ff1b87d25977423cf38fb61744d0023
	Fixed in 6.0.3 with commit 216c59b66f2d0c428a4fdaa24dc28cd6be4a2bf6
	Fixed in 6.1 with commit eae672f386049146058b9e5d3d33e9e4af9dca1d

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-2022-50863

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/rtw89/core.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/d4b4f6ff8ff1b87d25977423cf38fb61744d0023
	https://git.kernel.org/stable/c/216c59b66f2d0c428a4fdaa24dc28cd6be4a2bf6
	https://git.kernel.org/stable/c/eae672f386049146058b9e5d3d33e9e4af9dca1d