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 8EFAA2571C7 for ; Tue, 19 Aug 2025 17:19:18 +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=1755623958; cv=none; b=L9m0u2o3LuFj0PMmNgwbQVUD7rOjd9PxvIW99NxcATlFrHMVyyslaBhbk+1IDfkeLc/1sm0bMI0X50JqNYXhx3veoREmH8Tqhk83Jnt4wzGSAdl+E3Xri1YUQHswafGDBEc62o8q1II3h2IXJmLviMzHziyYLsaTbWd/FLPAO7g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755623958; c=relaxed/simple; bh=47MsmR5BL1PzTEeRYXILSsNegZ0jWWWicuLlg6PtT0A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=i1oY9rWfWylzA0rHH03qTYJHPWE2hTaq1agoul1UI6NQIPlPOYe4dJw0cTDAVYzqrHf6mKpL85lpKv9CYfPfcBC0q2yZjjWfZaCWdspzeQ9tLXpHYVm89O8LDMXl6eX+JTb/jbQiqlGgyPLKIvqmPTazgwqsj4ygXV2U9d603po= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SSAgAe0w; 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="SSAgAe0w" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 08921C4CEF1; Tue, 19 Aug 2025 17:19:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755623958; bh=47MsmR5BL1PzTEeRYXILSsNegZ0jWWWicuLlg6PtT0A=; h=From:To:Cc:Subject:Date:Reply-to:From; b=SSAgAe0wwcQeezl47zEBjxIBpM4azJRCojZSfUzZpJdzk3vXDvkt/NjQ2bCWzLNAx rdJiAvcBhgmY2nYuBrUVmnTPpV7XNDa7Nf+WSU/nkex+TuhxGNYjhgLw4d0kcSwXwk Bov/zMkSUY978x4Rdn3RisVVDybGP0TtPnCnVpLw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38570: eth: fbnic: unlink NAPIs from queues on error to open Date: Tue, 19 Aug 2025 19:18:17 +0200 Message-ID: <2025081910-CVE-2025-38570-b790@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=2269; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qoHHESxLSE3D52Qwr3sK/UlYDk6BfxSFu6C725No0ZA=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlLNl4KlGz0N9q9QV/k2rbZwZ4sSib/Cn0s9ne/1+BWn yLupNzdEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABMpzWSYK55y+GpvnlHky0WK TqV2gjzROh/KGRas7jkbn/ukud4g7HzqT9dp7S65iswA 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: unlink NAPIs from queues on error to open CI hit a UaF in fbnic in the AF_XDP portion of the queues.py test. The UaF is in the __sk_mark_napi_id_once() call in xsk_bind(), NAPI has been freed. Looks like the device failed to open earlier, and we lack clearing the NAPI pointer from the queue. The Linux kernel CVE team has assigned CVE-2025-38570 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit 557d02238e05eb66b9aba9a1f90f3a2131c6c887 and fixed in 6.15.10 with commit 21d3f8441c7f317b93ba6a8029610c8b7e3773db Issue introduced in 6.14 with commit 557d02238e05eb66b9aba9a1f90f3a2131c6c887 and fixed in 6.16.1 with commit 4b59f9deff3bdb52b223c85048f1d2924803b817 Issue introduced in 6.14 with commit 557d02238e05eb66b9aba9a1f90f3a2131c6c887 and fixed in 6.17-rc1 with commit 4b31bcb025cb497da2b01f87173108ff32d350d2 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-38570 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_netdev.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/21d3f8441c7f317b93ba6a8029610c8b7e3773db https://git.kernel.org/stable/c/4b59f9deff3bdb52b223c85048f1d2924803b817 https://git.kernel.org/stable/c/4b31bcb025cb497da2b01f87173108ff32d350d2