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 03002191F7F for ; Thu, 27 Feb 2025 02:18:48 +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=1740622729; cv=none; b=M8Y7shXCVHV6p2oYzvdHFjlKoGw2N+tLCQ1pGPJCeCSkp7NnwHo3fcFI1yzwrG7Qbzx8fzNVV1BDqe94qjaFbS4ETvtpe39pYr7Rb1xqeR7bkh4SLjhKidjvLPh5C6fSe9MMeTbp7xXz/phv65qfFs2CwyShZ2f70RFc4S/9RMI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740622729; c=relaxed/simple; bh=42qyjUarSxwG/PLYzWmPiRSx5yJwKQZM3BifqMiVZF8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jFhrZI9OeHE9l2byrWG6PhY3M/rTREs/dQlLSyBXpMRUUfdMRzt+aI2+Pzs6pQxIM3XbJ5WvCFE4FjRAaSS2RYW5z2AvUDfcPaqnZinUEC1SlktuXvyslYPbLWqh3/MZIKKDX0jOVJqEOS81DAikBr5/kQUEClfkCad9h3/etg4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nfwEp1wo; 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="nfwEp1wo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6695EC4CED6; Thu, 27 Feb 2025 02:18:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740622728; bh=42qyjUarSxwG/PLYzWmPiRSx5yJwKQZM3BifqMiVZF8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=nfwEp1wo5+iwmbXZuJ2gwt29l+GECZDVSIQ6nNgwfj7tHOopU60s6gaV2jqXYN5I5 jdC337oM56rb3yQuM8uotbMKjwGm0qeHImRPgZV3pMjWgMhjctXBC94AIqUz6PZAW5 9KAAr9MTEeUHIZT0mp9qXv2pytJSFEj+7QlcwEVc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-21766: ipv4: use RCU protection in __ip_rt_update_pmtu() Date: Wed, 26 Feb 2025 18:17:22 -0800 Message-ID: <2025022605-CVE-2025-21766-a004@gregkh> X-Mailer: git-send-email 2.48.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=2872; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=42qyjUarSxwG/PLYzWmPiRSx5yJwKQZM3BifqMiVZF8=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7TyuK110S279U9PtDgQlSkdsO8cafX6ywlqmg4tnht ztOzlps2hHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQAT2TyNYX78h5exM6StPgvt WLODJ/d70CalGdoMCyZ7d7Eol5mfNYp5oVI/O3nufuHm5wA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: ipv4: use RCU protection in __ip_rt_update_pmtu() __ip_rt_update_pmtu() must use RCU protection to make sure the net structure it reads does not disappear. The Linux kernel CVE team has assigned CVE-2025-21766 to this issue. Affected and fixed versions =========================== Issue introduced in 5.9 with commit 2fbc6e89b2f1403189e624cabaf73e189c5e50c6 and fixed in 6.1.129 with commit ea07480b23225942208f1b754fea1e7ec486d37e Issue introduced in 5.9 with commit 2fbc6e89b2f1403189e624cabaf73e189c5e50c6 and fixed in 6.6.79 with commit 9b1766d1ff5fe496aabe9fc5f4e34e53f35c11c4 Issue introduced in 5.9 with commit 2fbc6e89b2f1403189e624cabaf73e189c5e50c6 and fixed in 6.12.16 with commit 4583748b65dee4d61bd50a2214715b4237bc152a Issue introduced in 5.9 with commit 2fbc6e89b2f1403189e624cabaf73e189c5e50c6 and fixed in 6.13.4 with commit a39f61d212d822b3062d7f70fa0588e50e55664e Issue introduced in 5.9 with commit 2fbc6e89b2f1403189e624cabaf73e189c5e50c6 and fixed in 6.14-rc3 with commit 139512191bd06f1b496117c76372b2ce372c9a41 Issue introduced in 4.14.200 with commit f415c264176e6095e9dee823e09c5bdd0ee0d337 Issue introduced in 4.19.148 with commit 98776a365da509ad923083ae54b38ee521c52742 Issue introduced in 5.4.68 with commit 860e2cc78c697c95bc749abb20047239fa1722ea Issue introduced in 5.8.12 with commit 2b1be6c925cdf4638811765a9160796291494b89 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-21766 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/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/ea07480b23225942208f1b754fea1e7ec486d37e https://git.kernel.org/stable/c/9b1766d1ff5fe496aabe9fc5f4e34e53f35c11c4 https://git.kernel.org/stable/c/4583748b65dee4d61bd50a2214715b4237bc152a https://git.kernel.org/stable/c/a39f61d212d822b3062d7f70fa0588e50e55664e https://git.kernel.org/stable/c/139512191bd06f1b496117c76372b2ce372c9a41