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 658D117A2E9 for ; Thu, 27 Feb 2025 02:18: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=1740622726; cv=none; b=KmM4PwTHtqgN3yJm5TRDxUl4SoI1XXJkJGfbZnmMp0gXfzOR/qGe5Ux9JfHdPPidG8tTnM65sBVWpKj3ITcethLzA1+Bmy1sFmnsmK4a08YXBgmvJPgApUK+ECJrCCE0y8xORWTziUf0w0UFCV7ETeleP9kQEUCal+DSwt70dBo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740622726; c=relaxed/simple; bh=4AMpZj0acSQAfKr725yFct9Efv1wRvZuvRPbBCwFaJQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DXPNfY2UVlSPTgsSFcpHCsu4U9uztWN+EBkVxDamE6ruPUqfBKZ8yZXgr8uo8FqApkwn8JkB8/V5q/2nCXj0RnH1tLrEkT7sPZcPmK8XwOyNjR7+y9Fb5d7g5zPJ5BK308WmCeIxHmxJfQCcrOVHyBN/EBOs+NSSK+Hr1PyjlHE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=h1cG0uxO; 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="h1cG0uxO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37621C4CED6; Thu, 27 Feb 2025 02:18:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740622726; bh=4AMpZj0acSQAfKr725yFct9Efv1wRvZuvRPbBCwFaJQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=h1cG0uxO0xprJSa3ishRnTlOlzNzF70G74tHodzFJVaM1lIV65O6OcEcChFduaVf3 eX23ZYx8nap9xojd5pyKsiTuwQNjqvOSqh9wsj5SGfjZ0CCui59w55NgDQDlK2S4eR BhplwFcxGz1W2oRkxf5lLu2+vEo48Z6E5D/yUV20= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-21764: ndisc: use RCU protection in ndisc_alloc_skb() Date: Wed, 26 Feb 2025 18:17:20 -0800 Message-ID: <2025022605-CVE-2025-21764-1061@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=2539; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4AMpZj0acSQAfKr725yFct9Efv1wRvZuvRPbBCwFaJQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7Tyu+Wls4L8GM5YVLeRjThDv1PnEbytzd72xgVZd/s /nk2+tHO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAip5wZ5idzn8l/5Pv6L0M+ 61nZ3S+cZuq8LWSYn9+o3/r9Wt6rsw4Tz7hqM/B+1A2WAQA= 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: ndisc: use RCU protection in ndisc_alloc_skb() ndisc_alloc_skb() can be called without RTNL or RCU being held. Add RCU protection to avoid possible UAF. The Linux kernel CVE team has assigned CVE-2025-21764 to this issue. Affected and fixed versions =========================== Issue introduced in 3.9 with commit de09334b9326632bbf1a74bfd8b01866cbbf2f61 and fixed in 6.1.129 with commit 3c2d705f5adf5d860aaef90cb4211c0fde2ba66d Issue introduced in 3.9 with commit de09334b9326632bbf1a74bfd8b01866cbbf2f61 and fixed in 6.6.79 with commit 9e0ec817eb41a55327a46cd3ce331a9868d60304 Issue introduced in 3.9 with commit de09334b9326632bbf1a74bfd8b01866cbbf2f61 and fixed in 6.12.16 with commit bbec88e4108e8d6fb468d3817fa652140a44ff28 Issue introduced in 3.9 with commit de09334b9326632bbf1a74bfd8b01866cbbf2f61 and fixed in 6.13.4 with commit cd1065f92eb7ff21b9ba5308a86f33d1670bf926 Issue introduced in 3.9 with commit de09334b9326632bbf1a74bfd8b01866cbbf2f61 and fixed in 6.14-rc3 with commit 628e6d18930bbd21f2d4562228afe27694f66da9 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-21764 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/ndisc.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/3c2d705f5adf5d860aaef90cb4211c0fde2ba66d https://git.kernel.org/stable/c/9e0ec817eb41a55327a46cd3ce331a9868d60304 https://git.kernel.org/stable/c/bbec88e4108e8d6fb468d3817fa652140a44ff28 https://git.kernel.org/stable/c/cd1065f92eb7ff21b9ba5308a86f33d1670bf926 https://git.kernel.org/stable/c/628e6d18930bbd21f2d4562228afe27694f66da9