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 8800C2E06ED for ; Tue, 28 Oct 2025 11:53:40 +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=1761652420; cv=none; b=srtxynmv4/uGLcrWL05CGSqQuv95cqqMrBVGGj9kHUb9vNwEherlppx76sdIVO/qPBl5xRigIzAcu5856hyz0/tfwlNHBJzWlzFlIvBKgEdGtuPldzysseodZq67WsO4BJGscRpGhSZvHPge4rKu654TAYPLLkP1v9sZzRRM+hg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761652420; c=relaxed/simple; bh=mXtpMCQN0pSKGOhYzN44bntX6PPfSMMVOlsNhTVfioE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Z/7m+7eu2sQHuy+RymKE/bm4+4z39gGdU1l1ZL9qyN0oZSCPoARZRjCYbCFUWj1Dfrhof+i0Ag+9kAoEMopZnLyqjIZ3bObpqShrHNHMl95YF9B0mBtP9/zXT4eaV+yoSyIKCqMYUuM6qJjy7/yKHS8SdejoCSW1tpo0DgAjSMA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ynXqj2gJ; 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="ynXqj2gJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BAE70C4CEE7; Tue, 28 Oct 2025 11:53:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1761652420; bh=mXtpMCQN0pSKGOhYzN44bntX6PPfSMMVOlsNhTVfioE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ynXqj2gJi0aDCtjp8gNGdhdyIEdCzMIRmg4fqm1726mr6L5K/MNNUhhR3F8O1EwG9 CcHhjykGOr8urNJhQwabVGXtaxmLevnrb3kJoHTgwCiznW6IVe59hUvq6ZN5GN7ViA mAmFqzttd5ctt2nnoSjUwgU5nHcELV0UhX034SsM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-40075: tcp_metrics: use dst_dev_net_rcu() Date: Tue, 28 Oct 2025 12:48:52 +0100 Message-ID: <2025102819-CVE-2025-40075-770f@gregkh> X-Mailer: git-send-email 2.51.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=1798; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Tq7qiXlDlFouzFY/PEpUcuCTcmjDf2ycIdhqD+a82PY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkMa5tXrOw7eizprUzk7BKr+pC0vXPrJnkHCS3TtPr51 rEzOzS4I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACai94Zhfn1o9MH2aaKn3iyW 9NerZT8jtss6nGHBHOXAv7MXdq+2ci/StLrNFFdqoLsVAA== 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: tcp_metrics: use dst_dev_net_rcu() Replace three dst_dev() with a lockdep enabled helper. The Linux kernel CVE team has assigned CVE-2025-40075 to this issue. Affected and fixed versions =========================== Issue introduced in 4.13 with commit 4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36 and fixed in 6.17.3 with commit 07613a95326ebad2d1b88d883cd72546025a4f3e Issue introduced in 4.13 with commit 4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36 and fixed in 6.18-rc1 with commit 50c127a69cd6285300931853b352a1918cfa180f 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-40075 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: net/ipv4/tcp_metrics.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/07613a95326ebad2d1b88d883cd72546025a4f3e https://git.kernel.org/stable/c/50c127a69cd6285300931853b352a1918cfa180f