[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025071035-CVE-2025-38341-7446@gregkh>
Date: Thu, 10 Jul 2025 10:15:49 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-38341: eth: fbnic: avoid double free when failing to DMA-map FW msg
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
eth: fbnic: avoid double free when failing to DMA-map FW msg
The semantics are that caller of fbnic_mbx_map_msg() retains
the ownership of the message on error. All existing callers
dutifully free the page.
The Linux kernel CVE team has assigned CVE-2025-38341 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.11 with commit da3cde08209ec1c915195c2331c275397f34a731 and fixed in 6.12.35 with commit 670179265ad787b9dd8e701601914618b8927755
Issue introduced in 6.11 with commit da3cde08209ec1c915195c2331c275397f34a731 and fixed in 6.15.4 with commit 0a211e23852019ef55c70094524e87a944accbb5
Issue introduced in 6.11 with commit da3cde08209ec1c915195c2331c275397f34a731 and fixed in 6.16-rc3 with commit 5bd1bafd4474ee26f504b41aba11f3e2a1175b88
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-2025-38341
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/meta/fbnic/fbnic_fw.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/670179265ad787b9dd8e701601914618b8927755
https://git.kernel.org/stable/c/0a211e23852019ef55c70094524e87a944accbb5
https://git.kernel.org/stable/c/5bd1bafd4474ee26f504b41aba11f3e2a1175b88
Powered by blists - more mailing lists