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 61AE12957B6 for ; Wed, 12 Nov 2025 10:24:46 +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=1762943086; cv=none; b=siWQenA4hJATdEzmpKEYbilX7RLU0G2Lb5MWzCWDD/+TDbGxSAm96Zxe6JAuyX30boC2s65joPu2Vk9ZlTRuBgkX487ZfpSDRJrygfYLHHxuUnJ7L6rK8J20AlfucWcGMRtuBRpeBngvQFFF6MaO/jLmc2b32BKHrwveS/KF9Fg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762943086; c=relaxed/simple; bh=wOAubWbVuFw3inGqiasJhpYah1tkZbg8IVCNedgHhYo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Vbw9MI2pBS1TIlDJmN+BIkNs0LSlWqU0BptJWNUcVEz/I1gzLGME6sbBd3GDgK8dk5ZMne70Uh+Zty27LMuq69yj56SfnbqLfL6wsZ4HoUdlMBomLb/zAYXY8NIjypEfZ7VjFNrFC2aT97HGrhRM98Y1mW1Ov+ZTcJMamD7T1Dw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=q63mOKBL; 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="q63mOKBL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1DC84C4CEF5; Wed, 12 Nov 2025 10:24:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1762943086; bh=wOAubWbVuFw3inGqiasJhpYah1tkZbg8IVCNedgHhYo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=q63mOKBL0p20Dad1C/+nKm/tTCJAqcX27QeGvDRCu2Rj2YC0mpd6H6vsHVFNLjZHj Zfjy/YJER+qjJAIW5mnVY0T0DMP4PLhiPLyTyvvB0S3nzx4314BxESaaj5joSBjJp8 zb0vRpbxNQ/4c5+pdbgBhUR0BxSIQzNU7mAhEH30= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-40135: ipv6: use RCU in ip6_xmit() Date: Wed, 12 Nov 2025 19:24:11 +0900 Message-ID: <2025111255-CVE-2025-40135-67ca@gregkh> X-Mailer: git-send-email 2.51.2 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=1813; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=NHUha6x6HWJ70Sl1FQe6e1whnspCBuyXSBRCfWpr7zs=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkiCdYbxWrYIic3v/2THpevcDCvptB+0yebhg+njwat+ i77KuRsRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkaD/DghPaOfGNKSfWOu16 tXDhnT/ne5MlwhjmO81ZeFJoS+lz5xMcHIfOqEx8y/XKFAA= 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: ipv6: use RCU in ip6_xmit() Use RCU in ip6_xmit() in order to use dst_dev_rcu() to prevent possible UAF. The Linux kernel CVE team has assigned CVE-2025-40135 to this issue. Affected and fixed versions =========================== Issue introduced in 4.13 with commit 4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36 and fixed in 6.17.3 with commit f7f9e924f23684b4b23cd9f976cceab24a968e34 Issue introduced in 4.13 with commit 4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36 and fixed in 6.18-rc1 with commit 9085e56501d93af9f2d7bd16f7fcfacdde47b99c 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-40135 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/ipv6/ip6_output.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/f7f9e924f23684b4b23cd9f976cceab24a968e34 https://git.kernel.org/stable/c/9085e56501d93af9f2d7bd16f7fcfacdde47b99c