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 CE6B328C2A5 for ; Thu, 10 Jul 2025 08:16:19 +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=1752135379; cv=none; b=r8fwUOlEvc7gOzRM7G/MuU+P+w7wkaaPRLR996jN8NArmBX3kfMMRNuWjZoyNjHjERy98IhAuN86eCol+JzAb+ADAz6Y4ilVgIG4rgNfW7/jtazlDwIiEvf36/0XQB4e01M/QnbKKiv9DdeLI2rDolbPNhQB3Ov/kFWchSVrrd8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752135379; c=relaxed/simple; bh=hSoM72cI0tfNjAVC3VZVp338zB0gtkcBPvbyoHMJP0Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=p82JdNSTbPtO14JJ7r2s0ntFV8ZqJxDmD0kaN6O6DIG7XkO0CIXImU9djJbHSW25tBILT9ZmYKPkm9iVNnSmfaSRairYQ49El2Z/d6CN7Sw91wBuBi9pt0kRhQEwcMaAJSjC8vgQGEPuVrHshZHBrc5BtqnndCIoE/PBSXBn5HM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YjEwX12N; 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="YjEwX12N" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5BB5BC4CEE3; Thu, 10 Jul 2025 08:16:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1752135379; bh=hSoM72cI0tfNjAVC3VZVp338zB0gtkcBPvbyoHMJP0Q=; h=From:To:Cc:Subject:Date:Reply-to:From; b=YjEwX12Ndh0hSPdQ5T0oQIeOjlbZGTQ09XyWc6XU72qkXAiQGJlgsT91KsCmq3ZuE oH+KEtkKOcBP+o9eGj+AjXyLT3+oc7dlrY0/LbgAzrauli0XHCdXwbNG6N4MTwXcB7 VIijX4xY5agZA2YzxgifRLaDK9A0xJzYT/I9USVs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38341: eth: fbnic: avoid double free when failing to DMA-map FW msg Date: Thu, 10 Jul 2025 10:15:49 +0200 Message-ID: <2025071035-CVE-2025-38341-7446@gregkh> X-Mailer: git-send-email 2.50.1 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=2166; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/cjL7CzI1kO7huFXjrmmC0YxiR9J0gqLta/VcPmLnXE=; b=owGbwMvMwCRo6H6F97bub03G02pJDBn5Zct7ZwfE3pmXvq1Kz3j62cnJ2do+M1l2pmsw/M25F xG+Ij+8I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYiW8cwk7F9CaPEi9lFNvIn i9dwFFfHZEmUM8wV/sbUHCf3/YTWo29ng9dXz+pQt/kEAA== 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: 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