]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
btrfs: ref-verify: handle damaged extent root tree
authorDavid Sterba <dsterba@suse.com>
Mon, 15 Sep 2025 06:37:47 +0000 (08:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Oct 2025 09:56:23 +0000 (11:56 +0200)
commitc1a6e988e555ebbba68e22cf1f1093b884b2dd8c
treeab8900b1bb8c76d532e51c983d682e857802c86f
parent0fae471847ce53012824b8c2da4ccad57bad5822
btrfs: ref-verify: handle damaged extent root tree

[ Upstream commit ed4e6b5d644c4dd2bc2872ffec036b7da0ec2e27 ]

Syzbot hits a problem with enabled ref-verify, ignorebadroots and a
fuzzed/damaged extent tree. There's no fallback option like in other
places that can deal with it so disable the whole ref-verify as it is
just a debugging feature.

Reported-by: syzbot+9c3e0cdfbfe351b0bc0e@syzkaller.appspotmail.com
Link: https://lore.kernel.org/all/0000000000001b6052062139be1c@google.com/
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/btrfs/ref-verify.c