commit | 00e782110428366d553c94401c2e46bbb2a1b2ac | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Sep 16 12:16:12 2025 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Sep 16 12:16:12 2025 -0400 |
tree | dae3896eeca27d45d49a50115a217e211c1171be | |
parent | f83ec76bf285bea5727f478a68b894f5543ca76e [diff] |
nfs4_setup_readdir(): insufficient locking for ->d_parent->d_inode dereferencing Theoretically it's an oopsable race, but I don't believe one can manage to hit it on real hardware; might become doable on a KVM, but it still won't be easy to attack. Anyway, it's easy to deal with - since xdr_encode_hyper() is just a call of put_unaligned_be64(), we can put that under ->d_lock and be done with that. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>