link_path_walk/dentry_path_raw TOCTTOU race question

riya khanna riyakhanna1983 at gmail.com
Tue Jul 24 16:59:27 EDT 2018


Hi,

I'm trying to understand what prevents TOCTTOU race conditions in
dentry_path_raw
and link_path_walk? What happens when somebody points a symlink path
component from a dir that has the attacker is allowed to read to a dir that
they are not allowed to read while link_path_walk() is doing its job?

Thanks!
-Riya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20180724/2c63a800/attachment.html>


More information about the Kernelnewbies mailing list