[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025091508-CVE-2022-50290-a7af@gregkh>
Date: Mon, 15 Sep 2025 16:21:32 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50290: wifi: mac80211: fix memory leak in ieee80211_if_add()
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: fix memory leak in ieee80211_if_add()
When register_netdevice() failed in ieee80211_if_add(), ndev->tstats
isn't released. Fix it.
The Linux kernel CVE team has assigned CVE-2022-50290 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.2 with commit 5a490510ba5fce8a10746525357a297f8f076bb1 and fixed in 5.10.163 with commit b2c0b94f48373ee743a4d63825a9d52364418837
Issue introduced in 4.2 with commit 5a490510ba5fce8a10746525357a297f8f076bb1 and fixed in 5.15.86 with commit 2e32f1299814e8aa2e75aa58704543a36ea3e201
Issue introduced in 4.2 with commit 5a490510ba5fce8a10746525357a297f8f076bb1 and fixed in 6.0.16 with commit 147537737a3c83e07a5295de38424c21d354d2a4
Issue introduced in 4.2 with commit 5a490510ba5fce8a10746525357a297f8f076bb1 and fixed in 6.1.2 with commit 9a50a7f64243bd21a84353c371f3977b9ffd9fa5
Issue introduced in 4.2 with commit 5a490510ba5fce8a10746525357a297f8f076bb1 and fixed in 6.2 with commit 13e5afd3d773c6fc6ca2b89027befaaaa1ea7293
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-50290
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/iface.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/b2c0b94f48373ee743a4d63825a9d52364418837
https://git.kernel.org/stable/c/2e32f1299814e8aa2e75aa58704543a36ea3e201
https://git.kernel.org/stable/c/147537737a3c83e07a5295de38424c21d354d2a4
https://git.kernel.org/stable/c/9a50a7f64243bd21a84353c371f3977b9ffd9fa5
https://git.kernel.org/stable/c/13e5afd3d773c6fc6ca2b89027befaaaa1ea7293
Powered by blists - more mailing lists