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 92CA6313E32 for ; Wed, 24 Dec 2025 10:57:52 +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=1766573872; cv=none; b=XsYMmpxtlB8jrZwyo/dVwXautV09JXC3Sbxh+4hgdA6adtLTnc/PEsYchiGQwEo5Fmn65aQMP9w0F5PaogmqvnH534ksuprnAugfeoFEhNuZ0pfhhKOxlgUT2ys4m8YlXn1TmA01DxKBbCDxUgHNhxsNx2OUnAIvS/jUhl3avEw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766573872; c=relaxed/simple; bh=GGw6Ci6aUhWcQ8q0jfDW07cDxL1gbuTnQsFi4uGERus=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cmQ2N+m8tWAn4QeivqNoJly/u8ZOu900HuMrnNIZrqt1x5c8am2Iq7zG8Hj3/JIaXywuCHfAmUmD2oL1Z3zdkajw/NlycKXa2pd1nDTMXT5WYnwlO8GCDmsUDZGkZmVzYqbucUlAv6tNS4avmbYNQeh33C/jdG63k/7CCGZ10tc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mwsdRtXF; 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="mwsdRtXF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D0ED4C4CEFB; Wed, 24 Dec 2025 10:57:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766573872; bh=GGw6Ci6aUhWcQ8q0jfDW07cDxL1gbuTnQsFi4uGERus=; h=From:To:Cc:Subject:Date:Reply-To:From; b=mwsdRtXF5WDSbL2iR6rtd3IJP5zVy5rAc8Frwp0hhEtwQ3+GPoGT/ORoTviBGRWth ooUSXNY4nVU4whUjLYDfkXsg4ivgAyG49sWhPNqCCPcNuMxQgONUBSOxeQqjFoQuKN dQcvD9adCrzK7g6l8N53Jnsis5btjQX6tbYjF5do= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54001: staging: r8712: Fix memory leak in _r8712_init_xmit_priv() Date: Wed, 24 Dec 2025 11:56:45 +0100 Message-ID: <2025122427-CVE-2023-54001-7e74@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2839; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=r5DBYqWkbe6DKq/vnYrharXwntKDY6zb7FK6b9Xkw2w=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnex26HW8VOnXQlYUbRbs1Z7h0XOsM0puUdT9+xq+mpZ Z+g9u1lHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRnqsMc8VPM/4uz685Iny3 RWOqyMlLSZ6TbjAsmLxeoeDwVfawXjn2qIuXdPWMAz6rAAA= 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: staging: r8712: Fix memory leak in _r8712_init_xmit_priv() In the above mentioned routine, memory is allocated in several places. If the first succeeds and a later one fails, the routine will leak memory. This patch fixes commit 2865d42c78a9 ("staging: r8712u: Add the new driver to the mainline kernel"). A potential memory leak in r8712_xmit_resource_alloc() is also addressed. The Linux kernel CVE team has assigned CVE-2023-54001 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.37 with commit 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef and fixed in 5.10.190 with commit fc511ae405f7ba29fbcb0246061ec15c272386e1 Issue introduced in 2.6.37 with commit 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef and fixed in 5.15.124 with commit acacdbe0f740ca8c5d5da73d50870903a3ded677 Issue introduced in 2.6.37 with commit 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef and fixed in 6.1.43 with commit 41e05572e871b10dbdc168c76175c97982daf4a4 Issue introduced in 2.6.37 with commit 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef and fixed in 6.4.8 with commit 874555472c736813ba1f4baf0b4c09c8e26d81ea Issue introduced in 2.6.37 with commit 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef and fixed in 6.5 with commit ac83631230f77dda94154ed0ebfd368fc81c70a3 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-54001 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/staging/rtl8712/rtl871x_xmit.c drivers/staging/rtl8712/xmit_linux.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/fc511ae405f7ba29fbcb0246061ec15c272386e1 https://git.kernel.org/stable/c/acacdbe0f740ca8c5d5da73d50870903a3ded677 https://git.kernel.org/stable/c/41e05572e871b10dbdc168c76175c97982daf4a4 https://git.kernel.org/stable/c/874555472c736813ba1f4baf0b4c09c8e26d81ea https://git.kernel.org/stable/c/ac83631230f77dda94154ed0ebfd368fc81c70a3