Re: [syzbot] [bcachefs?] KASAN: slab-use-after-free Read in bch2_sb_errors_from_cpu

From: syzbot
Date: Tue Jun 25 2024 - 15:27:15 EST


Hello,

syzbot tried to test the proposed patch but the build/boot failed:

fs/bcachefs/sb-errors.c:119:36: error: implicit declaration of function 'ch2_sb_field_errors_u64s'; did you mean 'bch2_sb_field_errors_u64s'? [-Werror=implicit-function-declaration]


Tested on:

commit: 55027e68 Merge tag 'input-for-v6.10-rc5' of git://git...
git tree: upstream
kernel config: https://syzkaller.appspot.com/x/.config?x=c3820d4fff43c7a3
dashboard link: https://syzkaller.appspot.com/bug?extid=a2bc0e838efd7663f4d9
compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
patch: https://syzkaller.appspot.com/x/patch.diff?x=10379501980000