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 BD3E32D12F5 for ; Tue, 30 Dec 2025 12:15:43 +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=1767096943; cv=none; b=pQu/Hb9dWgqVG9yH6TlZ+zweIuwmZ7pkT4ZqKg48kuED2UpHO1YmMml5kjH8fhSv30vIr7TGcXZEwNp+driEP+ViX/JRxfTHTN3aPAJ+gim5j42T8/ZriPixApiFepF5Vuj8eRht9qaHPXpOdD9j7alhoVmAfhRmCEiy/gfM70c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767096943; c=relaxed/simple; bh=RUZpCMdq7JEGlrxPKd+t743wsu3xoVhYDMged+SMR+0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lklEzCUFRiokECiskWnHO5tHRbAmvJDwjYqy+mZ3E/JT8kor7G2gspuv2sHI80DWlko5/snkqRJBhDtYI1OjuF6Jzu6NlbCmWN/F59vbLWsPSv7RciFFkc9vN1DhoJrfVUuvpnHuMjhyywEjYO+HnmHF5eeQE7Otsd2nogLgBdU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=a3Pf/VGJ; 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="a3Pf/VGJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47C12C4CEFB; Tue, 30 Dec 2025 12:15:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767096943; bh=RUZpCMdq7JEGlrxPKd+t743wsu3xoVhYDMged+SMR+0=; h=From:To:Cc:Subject:Date:Reply-To:From; b=a3Pf/VGJUFa/6QETCtP7aBeAWQfYcJwWCJXHV7fpL4Md7ntKpyieZ9hrlQZUDcCqt Ic6pU+WLGBJqbr6H1zu1wrZMyZVxijcWe2nFRey2hwXFLbEUv8DlhS66BY/Ku0VrRf +U3n7zYzCsq0jdcUSDBXUUblykRBSCA70XNdIejI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54231: net: libwx: fix memory leak in wx_setup_rx_resources Date: Tue, 30 Dec 2025 13:14:01 +0100 Message-ID: <2025123030-CVE-2023-54231-4604@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=1937; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=myoNrbweM0Isgg0qpxCpZ4BCiic+Mvs8mhQyx0WgozM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBB1+L+avyHNfSCnBOuafu5xLINbFvR8TL43+Crqge3 BLWeTm4I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaipciwYNkd389d+ZoLwr+9 uNRQ+kFVXfGWAMOCWfdKW/+IOkaFcqaKtE9ep3+oeH4qAA== 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: net: libwx: fix memory leak in wx_setup_rx_resources When wx_alloc_page_pool() failed in wx_setup_rx_resources(), it doesn't release DMA buffer. Add dma_free_coherent() in the error path to release the DMA buffer. The Linux kernel CVE team has assigned CVE-2023-54231 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit 850b971110b20cbcc2367516fefe78e84fec7d79 and fixed in 6.3.2 with commit 2371e1ecd445baf793a74db00ea6b2a2bc13c4c0 Issue introduced in 6.3 with commit 850b971110b20cbcc2367516fefe78e84fec7d79 and fixed in 6.4 with commit e315e7b83a22043bffee450437d7089ef373cbf6 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-54231 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/ethernet/wangxun/libwx/wx_lib.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/2371e1ecd445baf793a74db00ea6b2a2bc13c4c0 https://git.kernel.org/stable/c/e315e7b83a22043bffee450437d7089ef373cbf6