From mboxrd@z Thu Jan 1 00:00:00 1970 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 64498371EA5 for ; Fri, 5 Sep 2025 17:23:14 +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=1757092994; cv=none; b=L+0LKlbsX7E6aXwjFEFSSRnVsOxHXU8pu1xNselIBy7S/MqRyXQEKvS9BlSUVVPJykWOxB6wHBOUiVu3dLLdfVXdEnZAxPjNrUqFaAUZb+PXm9SxRrPeBvPmpBwvwWVP7bzleqZhmrQHpxlZyDVigySvIDwkzCnmMrvjfnFcnk0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757092994; c=relaxed/simple; bh=iVl4aBjkhT8a/0/eZan+AAVI3PfnEXWaoJzGnpclWUU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tTzEHi33CAlllUTKEQ7a52KEGo26cl2iSh2TlBEkso7TTBCkblyWTLU7mP5vANKwRcSpo41C4XvR5nc3CS0UJetRRI3znc27yV7oQ5vJ+LCTB/BY3s10JBldOzrrABe1qCggSdxzGiChwnxbBTHO2jRnFdl2CaWrBjte/HjJEOs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ysT/XqZJ; 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="ysT/XqZJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A4A0C4CEF1; Fri, 5 Sep 2025 17:23:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757092994; bh=iVl4aBjkhT8a/0/eZan+AAVI3PfnEXWaoJzGnpclWUU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ysT/XqZJDGn38TuW7Zn2IvvT2iAwT1QAeNSBgLTNDZdY4+4KS+9jxxXcL7NXS27ao CFVb+324njFcl9/qPCSO4hPcUPz0M/w1B7Sp8AmglAQmEOyyeOPlsO7zJu0TcGdj13 udhgDcyvH17W8wi4p18vxwyQZt/DmbcMu80c50Eg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39702: ipv6: sr: Fix MAC comparison to be constant-time Date: Fri, 5 Sep 2025 19:21:15 +0200 Message-ID: <2025090548-CVE-2025-39702-cb30@gregkh> X-Mailer: git-send-email 2.51.0 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=2789; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=b8QyJpObs/t4wHVxymQjDQtlc5Ubs+2zfaTlCP55ixs=; b=owGbwMvMwCRo6H6F97bub03G02pJDBm7pT/MzPvSMPnWF7l1mp1nvMrLw+2s9ufocubu+CeyJ /uJ7TzJjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIxk+GBV2HY3R37ewKu1Ao Hr1Px9LgjHPjJ4b5TnMOiz1zEkxYqV9ze96e1JSPkfNrAA== 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: sr: Fix MAC comparison to be constant-time To prevent timing attacks, MACs need to be compared in constant time. Use the appropriate helper function for this. The Linux kernel CVE team has assigned CVE-2025-39702 to this issue. Affected and fixed versions =========================== Issue introduced in 4.10 with commit bf355b8d2c30a289232042cacc1cfaea4923936c and fixed in 5.15.190 with commit 3b348c9c8d2ca2c67559ffd0e258ae7e1107d4f0 Issue introduced in 4.10 with commit bf355b8d2c30a289232042cacc1cfaea4923936c and fixed in 6.1.149 with commit 86b6d34717fe0570afce07ee79b8eeb40341f831 Issue introduced in 4.10 with commit bf355b8d2c30a289232042cacc1cfaea4923936c and fixed in 6.6.103 with commit 3ddd55cf19ed6cc62def5e3af10c2a9df1b861c3 Issue introduced in 4.10 with commit bf355b8d2c30a289232042cacc1cfaea4923936c and fixed in 6.12.44 with commit b3967c493799e63f648e9c7b6cb063aa2aed04e7 Issue introduced in 4.10 with commit bf355b8d2c30a289232042cacc1cfaea4923936c and fixed in 6.16.4 with commit f7878d47560d61e3f370aca3cebb8f42a55b990a Issue introduced in 4.10 with commit bf355b8d2c30a289232042cacc1cfaea4923936c and fixed in 6.17-rc3 with commit a458b2902115b26a25d67393b12ddd57d1216aaa 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-39702 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/seg6_hmac.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/3b348c9c8d2ca2c67559ffd0e258ae7e1107d4f0 https://git.kernel.org/stable/c/86b6d34717fe0570afce07ee79b8eeb40341f831 https://git.kernel.org/stable/c/3ddd55cf19ed6cc62def5e3af10c2a9df1b861c3 https://git.kernel.org/stable/c/b3967c493799e63f648e9c7b6cb063aa2aed04e7 https://git.kernel.org/stable/c/f7878d47560d61e3f370aca3cebb8f42a55b990a https://git.kernel.org/stable/c/a458b2902115b26a25d67393b12ddd57d1216aaa