[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022605-CVE-2025-21764-1061@gregkh>
Date: Wed, 26 Feb 2025 18:17:20 -0800
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.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 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
Powered by blists - more mailing lists