Jan Kara 0a65d850c4 udf: Verify inode link counts before performing rename
[ Upstream commit 6756af923e06aa33ad8894aaecbf9060953ba00f ]

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>
2025-01-02 10:34:17 +01:00
..
2024-09-12 11:58:44 +02:00
2023-08-02 09:13:09 -06:00
2021-08-11 16:54:44 +02:00
2024-02-21 13:55:30 +01:00