bisecting fixing commit since c4ff839de17f38b0ae0f8983b5c5186f8a389238 building syzkaller on 7df34f59bca2c74f1dfa5c198b94577cf918cbb2 testing commit c4ff839de17f38b0ae0f8983b5c5186f8a389238 with gcc (GCC) 8.4.1 20210217 kernel signature: fc2c532ac05eb2eea428ddb06a026f9f4936081411a782547c6466b12278cd43 all runs: crashed: WARNING in ext4_xattr_set_entry testing current HEAD 2cae3e25b70668fd413311277d56b6fe41900789 testing commit 2cae3e25b70668fd413311277d56b6fe41900789 with gcc (GCC) 8.4.1 20210217 kernel signature: cb5059a6c9cea57cef71fb086755d75c98e690f9418e168515d1a76e01515632 all runs: crashed: WARNING in ext4_xattr_set_entry revisions tested: 2, total time: 22m11.901629814s (build: 15m9.557977319s, test: 6m37.976524636s) the crash still happens on HEAD commit msg: Linux 4.19.179 crash: WARNING in ext4_xattr_set_entry EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs error (device loop2): ext4_mb_generate_buddy:747: group 0, block bitmap and bg descriptor inconsistent: 16384 vs 96 free clusters IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready EXT4-fs error (device loop1): ext4_mb_generate_buddy:747: group 0, block bitmap and bg descriptor inconsistent: 16384 vs 96 free clusters EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue WARNING: CPU: 0 PID: 9931 at fs/ext4/xattr.c:1661 ext4_xattr_set_entry+0x1e34/0x3880 fs/ext4/xattr.c:1688 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 9931 Comm: syz-executor.4 Not tainted 4.19.179-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x17c/0x226 lib/dump_stack.c:118 panic+0x1cd/0x375 kernel/panic.c:186 __warn.cold.7+0x1b/0x36 kernel/panic.c:541 report_bug+0x1a1/0x200 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] fixup_bug arch/x86/kernel/traps.c:173 [inline] do_error_trap+0x200/0x350 arch/x86/kernel/traps.c:296 EXT4-fs error (device loop0): ext4_mb_generate_buddy:747: group 0, block bitmap and bg descriptor inconsistent: 16384 vs 96 free clusters do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038 RIP: 0010:ext4_xattr_set_entry+0x1e34/0x3880 fs/ext4/xattr.c:1661 Code: f2 ff ff 48 8b bd a8 fe ff ff 41 89 c0 48 c7 c1 20 56 1a 88 ba 9a 06 00 00 48 c7 c6 00 60 1a 88 e8 e1 7b fe ff e9 8a fc ff ff <0f> 0b e9 d6 f1 ff ff 48 8b b5 18 fe ff ff 48 89 c2 4c 89 ef e8 83 RSP: 0018:ffff888097bdf280 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8880ab9a6ba0 RCX: 0000000000000000 RDX: 1ffff11012f7beef RSI: ffff888097bdf701 RDI: ffff8880b36e1460 RBP: ffff888097bdf498 R08: 00000000ffffffc3 R09: ffffed1012f7bed1 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888097bdf678 R13: ffff888097bdf768 R14: ffff8880b36e1400 R15: 0000000000000000 ext4_xattr_block_set+0xe38/0x2e30 fs/ext4/xattr.c:1963 ext4_xattr_set_handle+0x861/0xc20 fs/ext4/xattr.c:2411 ext4_xattr_set+0x1bc/0x300 fs/ext4/xattr.c:2511 ext4_xattr_trusted_set+0x1e/0x20 fs/ext4/xattr_trusted.c:37 __vfs_setxattr+0xd9/0x140 fs/xattr.c:149 __vfs_setxattr_noperm+0xe9/0x380 fs/xattr.c:180 __vfs_setxattr_locked+0x185/0x200 fs/xattr.c:238 vfs_setxattr+0x101/0x280 fs/xattr.c:255 setxattr+0x1af/0x280 fs/xattr.c:520 path_setxattr+0x144/0x160 fs/xattr.c:539 __do_sys_setxattr fs/xattr.c:554 [inline] __se_sys_setxattr fs/xattr.c:550 [inline] __x64_sys_setxattr+0xbf/0x150 fs/xattr.c:550 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x465b09 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7192cb9188 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465b09 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000020000040 RBP: 00000000004b069f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffc3d39ed9f R14: 00007f7192cb9300 R15: 0000000000022000 Kernel Offset: disabled Rebooting in 86400 seconds..