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.
https://git.kernel.org/stable/c/d06917d0ba226206dbd606330d73a8eb1e3029c1
https://git.kernel.org/stable/c/b66e38c17e5e1e9095f9c3cd203458c2bb11ea5b
https://git.kernel.org/stable/c/89ffb3ea28fef005ae2bd105565c6010dc9deb67
https://git.kernel.org/stable/c/2edd46589bf92f71a7c8474d84a7258eb13c2d06