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.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Debian | 12 | all | linux | < 6.1.106-3 | linux_6.1.106-3_all.deb |
Debian | 11 | all | linux | < 5.10.223-1 | linux_5.10.223-1_all.deb |
Debian | 999 | all | linux | <= 6.10.9-1 | linux_6.10.9-1_all.deb |
Debian | 13 | all | linux | <= 6.10.9-1 | linux_6.10.9-1_all.deb |