udf: Verify inode link counts before performing rename
[ Upstream commit 6756af92 ] During rename, we are updating link counts of various inodes either when rename deletes target or when moving directory across directories. Verify involved link counts are sane so that we don't trip warnings in VFS. Reported-by:<syzbot+3ff7365dc04a6bcafa66@syzkaller.appspotmail.com> Signed-off-by:
Jan Kara <jack@suse.cz> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment