Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2C8E331A551 for ; Mon, 15 Sep 2025 14:23:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757946187; cv=none; b=YzQDIyPFp4Hius6aj3KuLQ/8/J5aa22VzD7P03cl/H5xv4f8+R0Big1iN20qsakYGYW7oLpUVESdLgrla9XBoWnnDIWYtdRi6P8v0H25sfqZ+58or1hTmq4kk9/VXsg1x8w4Sb428S4o3QCvcTCyfAv/WI6wUZiPAonxK/ZCCOE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757946187; c=relaxed/simple; bh=C7O4Ez0STPVvsodfyNQsi4LRf2KQpTdUqmI1QIhioLA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jLvDyVYM+4p7u3NgwYnYyK1pxHCAsvDwp7ehhtwwOxKzkGVjQ8PtT/ONIsLXUCf/SUwFkeZx5H8h03T+W/UDiOk2m5IXUdyH5RZ3CKTeKxUF30CgYtzwMNOd2vCa3R0vKayJTAvc+aG1WBFf7Rm4YW1meIhxRaAvXFRszYJArZ4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NL4FiLK4; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="NL4FiLK4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E801C4CEF1; Mon, 15 Sep 2025 14:23:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757946187; bh=C7O4Ez0STPVvsodfyNQsi4LRf2KQpTdUqmI1QIhioLA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=NL4FiLK47JkhLCduwgEzYK5dG15j0pLmaeTdrmLCa56J07c1Z1+x86ELveAjMM04X zsiQzVk0dfTopsSODDGC4ENiUVAClrFtjO5cqUJ49wwY5gO7T/aeieJIyqrZwd0Mx/ pL9GO1zoYwLEig/Co4bSnFL46qwU33udp8iFPbP0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50290: wifi: mac80211: fix memory leak in ieee80211_if_add() Date: Mon, 15 Sep 2025 16:21:32 +0200 Message-ID: <2025091508-CVE-2022-50290-a7af@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2530; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ELCBCyarGDgKwBZBUkldMQJfRxMRRYWNI4xvhfSD1FU=; b=owGbwMvMwCRo6H6F97bub03G02pJDBknFK7827ZZ1Ft+zktXudlHJrh/uN77b98LXqk53dnnT t7ewhaQ2RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQAT4WRjmMWcvmv75qlVq3LS rh7S4WZifcx0n4FhfviSmrv/wm7dya284Lig2fZ76BmntwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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