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 5BFEE20459A for ; Mon, 15 Sep 2025 14:08:48 +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=1757945328; cv=none; b=nCnnPSWt+DJVUdgcesbpVMk2pWAYlPly3H4uEFE+9BQh/FCCSye/pzAolQA+9Jr6aJKKOgHq4Ua29cT+Y3CRXRTAZd+4K41CkB3fPNRPNJUdzUoHLWyw1KtQdxhKZ6uBrVygoVsTfigJ43dh1j+yawAU57vv45x/D1S4XkQFOTA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757945328; c=relaxed/simple; bh=rrGht7xSObEevjOy7mLiffWdKiJ0ngyNjvGi4KA8q7w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=I+d9XZC3Hn5lJaf4HRJ1tem0bcUtIEEKF5nAQ1LCD7cxg2sGmoL/3H6SPOL56M+yvW2qOx92M5TQERudSMOlvRhgmc6pGllov/8czZAuQIFguay+qXR4jTf3BBHH5+vQf8Hmv+xMtVQ/bcAgPP2DPksDNEhc8JhspLapoBz2i/E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xJyWN6xP; 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="xJyWN6xP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66843C4CEF7; Mon, 15 Sep 2025 14:08:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757945328; bh=rrGht7xSObEevjOy7mLiffWdKiJ0ngyNjvGi4KA8q7w=; h=From:To:Cc:Subject:Date:Reply-to:From; b=xJyWN6xPMB6ojpWpowFn6x2uXguhit661rAUB3unywkirwf9n09LiLgCjHtZKjs6C ldW+ScUDJy9EfscbP9LUTLb2F0qHgfHfI77IsP9cb6M9TTgHrCbbYwMBA2/O8nrYQf NKxPEJT3aV8YRcR2oiOX6l3CSlFTDbLYlTnAkvzc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53153: wifi: cfg80211: Fix use after free for wext Date: Mon, 15 Sep 2025 16:02:16 +0200 Message-ID: <2025091553-CVE-2023-53153-d85c@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=3478; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=esnzl/GYvmCKUszL1EBIsLd7IkZWYZBxM+2bhPBx8PQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDBknZAJ/lF87+r7J5m2SlfHRr6o7M6Y+EfCszgz6euHks /mTLyxj74hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJnPJhWNAc7nueV/eZ5P+r m+++VTIq/BzQU8CwYFlX03XW4+v3nSvLV39ceqP0dN7SOgA= 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: cfg80211: Fix use after free for wext Key information in wext.connect is not reset on (re)connect and can hold data from a previous connection. Reset key data to avoid that drivers or mac80211 incorrectly detect a WEP connection request and access the freed or already reused memory. Additionally optimize cfg80211_sme_connect() and avoid an useless schedule of conn_work. The Linux kernel CVE team has assigned CVE-2023-53153 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.32 with commit fffd0934b9390f34bec45762192b7edd3b12b4b5 and fixed in 4.14.308 with commit 66af4a2ab1d65d556d638cb9555a3b823c2557a9 Issue introduced in 2.6.32 with commit fffd0934b9390f34bec45762192b7edd3b12b4b5 and fixed in 4.19.276 with commit a2a92b3e9d8e03ee3f9ee407fc46a9b4bd02d8b6 Issue introduced in 2.6.32 with commit fffd0934b9390f34bec45762192b7edd3b12b4b5 and fixed in 5.4.235 with commit 6f1959c17d4cb5b74af6fc31dc787e1dc3e4f6e2 Issue introduced in 2.6.32 with commit fffd0934b9390f34bec45762192b7edd3b12b4b5 and fixed in 5.10.173 with commit 2cfe78619b0de6d2da773978bc2d22797212eaa7 Issue introduced in 2.6.32 with commit fffd0934b9390f34bec45762192b7edd3b12b4b5 and fixed in 5.15.99 with commit fd081afd21eb35b968b0330700c43ec94986e1c4 Issue introduced in 2.6.32 with commit fffd0934b9390f34bec45762192b7edd3b12b4b5 and fixed in 6.1.16 with commit 22dfb21bf1cd876616d45cda1bc6daa89eec6747 Issue introduced in 2.6.32 with commit fffd0934b9390f34bec45762192b7edd3b12b4b5 and fixed in 6.2.3 with commit f4b6a138efb8a32507b8946104e32cb926308da7 Issue introduced in 2.6.32 with commit fffd0934b9390f34bec45762192b7edd3b12b4b5 and fixed in 6.3 with commit 015b8cc5e7c4d7bb671f1984d7b7338c310b185b 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-2023-53153 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/wireless/sme.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/66af4a2ab1d65d556d638cb9555a3b823c2557a9 https://git.kernel.org/stable/c/a2a92b3e9d8e03ee3f9ee407fc46a9b4bd02d8b6 https://git.kernel.org/stable/c/6f1959c17d4cb5b74af6fc31dc787e1dc3e4f6e2 https://git.kernel.org/stable/c/2cfe78619b0de6d2da773978bc2d22797212eaa7 https://git.kernel.org/stable/c/fd081afd21eb35b968b0330700c43ec94986e1c4 https://git.kernel.org/stable/c/22dfb21bf1cd876616d45cda1bc6daa89eec6747 https://git.kernel.org/stable/c/f4b6a138efb8a32507b8946104e32cb926308da7 https://git.kernel.org/stable/c/015b8cc5e7c4d7bb671f1984d7b7338c310b185b