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 358302FE064 for ; Tue, 19 Aug 2025 17:20:29 +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=1755624029; cv=none; b=EBuUHoochIU8eF97I9rXLQrVbeM4OvcpzKTGL4cxxbeq0uRV1jR0bWp3vCiPy0YyAV66b9vmiqzuYdJjVJTKc61LPTkpd6ELwpEmAhHTSfHwNMeWp2PPJBNP0KjEVvEa/ADjPR7fTghA/tKD3ci2GkBfJD9oBq7RGGVhfytl/C0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755624029; c=relaxed/simple; bh=KzV9umiINWtSgGNH0RBWn0fKmCN+iTcaV1JhrT7iakI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PIqx3bZ1LmG+WdfpshEBHQvWqDtVEW46V8mvLPBFvJyDkAWCE//zWa5Y6T5rF3okQQSj0qJLoljdWzlYyZENJomdV8uLcD/MjWlPOcUt3+KYVtdx6jYCrz2SNWr/kFU1ut+f1oxftPojo++zN9pQg6P/y3livydY3o9wy/nTheY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nJnZS7WD; 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="nJnZS7WD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 98015C4CEF1; Tue, 19 Aug 2025 17:20:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755624029; bh=KzV9umiINWtSgGNH0RBWn0fKmCN+iTcaV1JhrT7iakI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=nJnZS7WDxEjAwkAWpTWkcx5wPLnRNAsy5mqKqn+iOmNsLv5MUi9KBoqX5M7V3mqjh YUOj1atCkyNkgRPHKCI6WRQ/0snrr+zZsRO3gACkKkvDOcpfiTyumSrWHlbtTc2sxj ObsBK9vKqxIbMDEBUC5U0MBMIqZzs6SY+YPzXfaI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38587: ipv6: fix possible infinite loop in fib6_info_uses_dev() Date: Tue, 19 Aug 2025 19:18:33 +0200 Message-ID: <2025081915-CVE-2025-38587-6da9@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=3017; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=QJN+4Um7zN0gwM2tDYUXxowPCJejLRcve8Dyn5pR+dI=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlLNt6oyQ3Wd7muOad/47WnemvmCucvveH93eKSj8qpr +1lhb63OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiGQkMCxZNz0jquPhtgtzk r5cO3/M6kqwX3M8wP3tpo7Fp//lcniCTZp7lC06lrtVbCwA= 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: fix possible infinite loop in fib6_info_uses_dev() fib6_info_uses_dev() seems to rely on RCU without an explicit protection. Like the prior fix in rt6_nlmsg_size(), we need to make sure fib6_del_route() or fib6_add_rt2node() have not removed the anchor from the list, or we risk an infinite loop. The Linux kernel CVE team has assigned CVE-2025-38587 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1.128 with commit d0ec61c9f3583b76aebdbb271f5c0d3fcccd48b2 and fixed in 6.1.148 with commit bc85e62394f008fa848c4ba02c936c735a3e8ef5 Issue introduced in 6.6.75 with commit 52da02521ede55fb86546c3fffd9377b3261b91f and fixed in 6.6.102 with commit 9cb6de8ee144a94ae7a40bdb32560329ab7276f0 Issue introduced in 6.12.2 with commit 34a949e7a0869dfa31a40416d2a56973fae1807b and fixed in 6.12.42 with commit db65739d406c72776fbdbbc334be827ef05880d2 Issue introduced in 6.13 with commit d9ccb18f83ea2bb654289b6ecf014fd267cc988b and fixed in 6.15.10 with commit 16d21816c0918f8058b5fc14cbe8595d62046e2d Issue introduced in 6.13 with commit d9ccb18f83ea2bb654289b6ecf014fd267cc988b and fixed in 6.16.1 with commit e09be457b71b983a085312ff9e981f51e4ed3211 Issue introduced in 6.13 with commit d9ccb18f83ea2bb654289b6ecf014fd267cc988b and fixed in 6.17-rc1 with commit f8d8ce1b515a0a6af72b30502670a406cfb75073 Issue introduced in 6.11.11 with commit 11edcd026012ac18acee0f1514db3ed1b160fc6f 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-38587 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/route.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/bc85e62394f008fa848c4ba02c936c735a3e8ef5 https://git.kernel.org/stable/c/9cb6de8ee144a94ae7a40bdb32560329ab7276f0 https://git.kernel.org/stable/c/db65739d406c72776fbdbbc334be827ef05880d2 https://git.kernel.org/stable/c/16d21816c0918f8058b5fc14cbe8595d62046e2d https://git.kernel.org/stable/c/e09be457b71b983a085312ff9e981f51e4ed3211 https://git.kernel.org/stable/c/f8d8ce1b515a0a6af72b30502670a406cfb75073