In the Linux kernel, the following vulnerability has been resolved: libfs: fix get_stashed_dentry() get_stashed_dentry() tries to optimistically retrieve a stashed dentry from a provided location. It needs to ensure to hold rcu lock before it dereference the stashed location to prevent UAF issues. Use rcu_dereference() instead of READ_ONCE() it's effectively equivalent with some lockdep bells and whistles and it communicates clearly that this expects rcu protection.
https://git.kernel.org/stable/c/4e32c25b58b945f976435bbe51f39b32d714052e
https://git.kernel.org/stable/c/03e2a1209a83a380df34a72f7d6d1bc6c74132c7