| From bippy-5f407fcff5a0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2025-21764: ndisc: use RCU protection in ndisc_alloc_skb() |
| |
| 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 5.4.291 with commit 96fc896d0e5b37c12808df797397fb16f3080879 |
| Issue introduced in 3.9 with commit de09334b9326632bbf1a74bfd8b01866cbbf2f61 and fixed in 5.10.235 with commit c30893ef3d9cde8e7e8e4fd06b53d2c935bbccb1 |
| Issue introduced in 3.9 with commit de09334b9326632bbf1a74bfd8b01866cbbf2f61 and fixed in 5.15.179 with commit b870256dd2a5648d5ed2f22316b3ac29a7e5ed63 |
| 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 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/96fc896d0e5b37c12808df797397fb16f3080879 |
| https://git.kernel.org/stable/c/c30893ef3d9cde8e7e8e4fd06b53d2c935bbccb1 |
| https://git.kernel.org/stable/c/b870256dd2a5648d5ed2f22316b3ac29a7e5ed63 |
| 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 |