Skip to contentSkip to conversation

CVE-2022-50784: wifi: iwlwifi: mei: fix potential NULL-ptr deref after clone

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: iwlwifi: mei: fix potential NULL-ptr deref after clone

If cloning the SKB fails, don't try to use it, but rather return as if we should pass it.

Coverity CID: 1503456

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

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

	Issue introduced in 5.17 with commit 2da4366f9e2c44afedec4acad65a99a3c7da1a35 and fixed in 6.0.16 with commit 8b8e25073f3dab93554ee3d5b264f7c013ebd92a
	Issue introduced in 5.17 with commit 2da4366f9e2c44afedec4acad65a99a3c7da1a35 and fixed in 6.1.2 with commit 0183b7c49cfdda91284505cbcdc7feecde48cbb9
	Issue introduced in 5.17 with commit 2da4366f9e2c44afedec4acad65a99a3c7da1a35 and fixed in 6.2 with commit d3df49dda431f7ae4132a9a0ac25a5134c04e812

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

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/intel/iwlwifi/mei/net.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/8b8e25073f3dab93554ee3d5b264f7c013ebd92a
	https://git.kernel.org/stable/c/0183b7c49cfdda91284505cbcdc7feecde48cbb9
	https://git.kernel.org/stable/c/d3df49dda431f7ae4132a9a0ac25a5134c04e812