]> git.ipfire.org Git - thirdparty/linux.git/commit
orangefs_d_revalidate(): use stable parent inode and name passed by caller
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 3 Jan 2025 06:35:18 +0000 (01:35 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 28 Jan 2025 00:25:24 +0000 (19:25 -0500)
commit90341f22c364d8ad55184ce2b8777545942dc5cf
treedb7be57b246dc31e205922a51177d998a1278bd6
parent9640fe5b5e40f664da401ac8ca5d7046edbc62db
orangefs_d_revalidate(): use stable parent inode and name passed by caller

->d_name use is a UAF if the userland side of things can be slowed down
by attacker.

Tested-by: Mike Marshall <hubcap@omnibond.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/orangefs/dcache.c