[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025123030-CVE-2023-54231-4604@gregkh>
Date: Tue, 30 Dec 2025 13:14:01 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-54231: net: libwx: fix memory leak in wx_setup_rx_resources
From: Greg Kroah-Hartman <gregkh@...nel.org>
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
Powered by blists - more mailing lists