CVE-2026-99597: srcu: Add list_splice_init_srcu()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
srcu: Add list_splice_init_srcu()
list_splice_init_rcu() makes a list look empty to new readers, waits for the current ones with the given sync function, and only then links the entries into the new list. The sync function takes no argument, so it can wait for RCU readers but not for the readers of an srcu_struct.
Passing synchronize_rcu() for a list read under SRCU still builds, but leaves SRCU readers on the entries while the last one's next pointer is moved onto the new list head. nvme_remove_namespaces() does this today.
Add list_splice_init_srcu(), which waits for the readers of the given srcu_struct instead.
The Linux kernel CVE team has assigned CVE-2026-99597 to this issue.
Affected and fixed versions
===========================
Fixed in 6.12.118 with commit 89ffb3ea28fef005ae2bd105565c6010dc9deb67 Fixed in 6.18.64 with commit 2edd46589bf92f71a7c8474d84a7258eb13c2d06 Fixed in 7.3.5 with commit b66e38c17e5e1e9095f9c3cd203458c2bb11ea5b Fixed in 7.4-rc2 with commit d06917d0ba226206dbd606330d73a8eb1e3029c1
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-2026-99597
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:
include/linux/srcu.h
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/89ffb3ea28fef005ae2bd105565c6010dc9deb67 https://git.kernel.org/stable/c/2edd46589bf92f71a7c8474d84a7258eb13c2d06 https://git.kernel.org/stable/c/b66e38c17e5e1e9095f9c3cd203458c2bb11ea5b https://git.kernel.org/stable/c/d06917d0ba226206dbd606330d73a8eb1e3029c1