ci2 starts bisection 2023-05-01 19:22:35.050726537 +0000 UTC m=+272409.071097750 bisecting fixing commit since 3b29299e5f604550faf3eff811d6cd60b4c6cae6 building syzkaller on f325deb023e4e2fb9197004be1b3da738680429c ensuring issue is reproducible on original commit 3b29299e5f604550faf3eff811d6cd60b4c6cae6 testing commit 3b29299e5f604550faf3eff811d6cd60b4c6cae6 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2c0286087abf8035708993e8a730eec515e9a6097891c1e6c25bc8ad6d8af9df run #0: crashed: kernel BUG in ext4_get_group_info run #1: crashed: kernel BUG in ext4_get_group_info run #2: crashed: INFO: rcu detected stall in corrupted run #3: crashed: kernel BUG in ext4_get_group_info run #4: crashed: INFO: rcu detected stall in corrupted run #5: crashed: kernel BUG in ext4_get_group_info run #6: crashed: kernel BUG in ext4_get_group_info run #7: crashed: INFO: rcu detected stall in corrupted run #8: crashed: INFO: rcu detected stall in corrupted run #9: crashed: INFO: rcu detected stall in corrupted run #10: crashed: INFO: rcu detected stall in corrupted run #11: crashed: INFO: rcu detected stall in corrupted run #12: crashed: kernel BUG in ext4_get_group_info run #13: crashed: INFO: rcu detected stall in corrupted run #14: crashed: INFO: rcu detected stall in corrupted run #15: crashed: INFO: rcu detected stall in corrupted run #16: crashed: INFO: rcu detected stall in corrupted run #17: crashed: kernel BUG in ext4_get_group_info run #18: crashed: INFO: rcu detected stall in corrupted run #19: crashed: kernel BUG in ext4_get_group_info testing current HEAD ca48fc16c49388400eddd6c6614593ebf7c7726a testing commit ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 75a89c64e04685162713a872155d7a2a376ca9989654fe93a40bcf73b8214daa run #0: crashed: kernel BUG in ext4_get_group_info run #1: crashed: INFO: rcu detected stall in corrupted run #2: crashed: INFO: rcu detected stall in corrupted run #3: crashed: INFO: rcu detected stall in corrupted run #4: crashed: kernel BUG in ext4_get_group_info run #5: crashed: INFO: rcu detected stall in corrupted run #6: crashed: kernel BUG in ext4_get_group_info run #7: crashed: kernel BUG in ext4_get_group_info run #8: crashed: INFO: rcu detected stall in corrupted run #9: crashed: kernel BUG in ext4_get_group_info revisions tested: 2, total time: 1h24m1.411101026s (build: 1h15m31.408870207s, test: 7m56.271309809s) the crash still happens on HEAD commit msg: Linux 6.1.27 crash: kernel BUG in ext4_get_group_info EXT4-fs error (device loop5): ext4_dirty_inode:6043: inode #18: comm syz-executor.5: mark_inode_dirty error ------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:3331! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5494 Comm: syz-executor.5 Not tainted 6.1.27-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:ext4_get_group_info+0x28b/0x290 fs/ext4/ext4.h:3331 Code: b3 ff e9 13 fe ff ff 8b 74 24 04 48 c7 c7 e0 b0 09 8c 4c 89 ea e8 75 57 ea 01 43 80 3c 26 00 0f 85 0a fe ff ff e9 0d fe ff ff <0f> 0b 0f 1f 00 41 57 41 56 41 55 41 54 53 49 89 ff 49 bc 00 00 00 RSP: 0018:ffffc9000b6e73e8 EFLAGS: 00010213 RAX: 00000000ffffe428 RBX: ffff888075d42040 RCX: ffff8880261e8000 RDX: 0000000000000000 RSI: 00000000ffffe428 RDI: ffff888075d40000 RBP: ffff888075d42000 R08: dffffc0000000000 R09: ffffed100e9a04ba R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88806e6c2ad0 R14: 1ffff1100eba80cf R15: ffff888075d40678 FS: 00007fdceee08700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe91b506000 CR3: 0000000066bf0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_mb_load_buddy_gfp+0xb9/0x6a0 fs/ext4/mballoc.c:1448 ext4_discard_preallocations+0x7b8/0xec0 fs/ext4/mballoc.c:5021 ext4_truncate+0x907/0xe50 fs/ext4/inode.c:4269 ext4_truncate_failed_write fs/ext4/truncate.h:22 [inline] ext4_write_begin+0x6b2/0xbc0 fs/ext4/inode.c:1262 ext4_da_write_begin+0x3f8/0x7a0 fs/ext4/inode.c:2986 generic_perform_write+0x2f1/0x540 mm/filemap.c:3754 ext4_buffered_write_iter+0xf5/0x2e0 fs/ext4/file.c:285 ext4_file_write_iter+0x193/0x14a0 call_write_iter include/linux/fs.h:2205 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7eb/0xac0 fs/read_write.c:584 ksys_write+0x15f/0x240 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fdcee08c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdceee08168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fdcee1abf80 RCX: 00007fdcee08c0f9 RDX: 000000000208e24b RSI: 0000000020000040 RDI: 0000000000000004 RBP: 00007fdcee0e7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe941e77df R14: 00007fdceee08300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_get_group_info+0x28b/0x290 fs/ext4/ext4.h:3331 Code: b3 ff e9 13 fe ff ff 8b 74 24 04 48 c7 c7 e0 b0 09 8c 4c 89 ea e8 75 57 ea 01 43 80 3c 26 00 0f 85 0a fe ff ff e9 0d fe ff ff <0f> 0b 0f 1f 00 41 57 41 56 41 55 41 54 53 49 89 ff 49 bc 00 00 00 RSP: 0018:ffffc9000b6e73e8 EFLAGS: 00010213 RAX: 00000000ffffe428 RBX: ffff888075d42040 RCX: ffff8880261e8000 RDX: 0000000000000000 RSI: 00000000ffffe428 RDI: ffff888075d40000 RBP: ffff888075d42000 R08: dffffc0000000000 R09: ffffed100e9a04ba R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88806e6c2ad0 R14: 1ffff1100eba80cf R15: ffff888075d40678 FS: 00007fdceee08700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f92ef9a8000 CR3: 0000000066bf0000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400