bisecting fixing commit since 87ef12027b9b1dd0e0b12cf311fbcb19f9d92539 building syzkaller on 3642839c105d2c84160c10866805f903a22fa343 testing commit 87ef12027b9b1dd0e0b12cf311fbcb19f9d92539 with gcc (GCC) 8.1.0 kernel signature: 59184c8c0d1fb642a10e83220b9bbea65ea79940c8d8b9f5ca1212c919bde8c2 run #0: crashed: WARNING in unlock_new_inode run #1: crashed: WARNING in unlock_new_inode run #2: crashed: WARNING in corrupted run #3: crashed: WARNING in unlock_new_inode run #4: crashed: WARNING in unlock_new_inode run #5: crashed: WARNING in unlock_new_inode run #6: crashed: WARNING in corrupted run #7: crashed: WARNING in unlock_new_inode run #8: crashed: WARNING in unlock_new_inode run #9: crashed: WARNING in unlock_new_inode testing current HEAD 04300d66f0a06d572d9f2ad6768c38cabde22179 testing commit 04300d66f0a06d572d9f2ad6768c38cabde22179 with gcc (GCC) 8.1.0 kernel signature: d07b002de19df349ee153d8bd89ea58dd4c9a43d27df18476e2b81ed1a05edab run #0: crashed: WARNING in corrupted run #1: crashed: WARNING in handle_bug run #2: crashed: WARNING in unlock_new_inode run #3: crashed: WARNING in unlock_new_inode run #4: crashed: WARNING in handle_bug run #5: crashed: WARNING in unlock_new_inode run #6: crashed: WARNING in unlock_new_inode run #7: crashed: WARNING in unlock_new_inode run #8: crashed: WARNING in unlock_new_inode run #9: crashed: WARNING in unlock_new_inode revisions tested: 2, total time: 15m0.589085179s (build: 8m10.428616206s, test: 6m13.757727889s) the crash still happens on HEAD commit msg: Merge tag 'riscv-for-linus-5.8-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux into master crash: WARNING in unlock_new_inode reiserfs: using flush barriers REISERFS (device loop2): Using r5 hash to sort names REISERFS (device loop2): using 3.5.x disk format REISERFS (device loop4): Using r5 hash to sort names ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3796 at fs/inode.c:996 unlock_new_inode+0x67/0x70 fs/inode.c:1001 REISERFS (device loop3): Using r5 hash to sort names Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 3796 Comm: syz-executor2 Not tainted 5.8.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 REISERFS (device loop4): using 3.5.x disk format Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0xb9/0xf1 lib/dump_stack.c:118 panic+0x115/0x30c kernel/panic.c:231 REISERFS (device loop5): Using r5 hash to sort names __warn.cold.13+0x20/0x26 kernel/panic.c:600 REISERFS (device loop3): using 3.5.x disk format report_bug+0xc5/0x100 lib/bug.c:198 handle_bug+0x39/0xa0 arch/x86/kernel/traps.c:235 exc_invalid_op+0x18/0x70 arch/x86/kernel/traps.c:255 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:540 RIP: 0010:unlock_new_inode+0x67/0x70 fs/inode.c:996 Code: 89 83 d8 00 00 00 f0 83 44 24 fc 00 be 03 00 00 00 48 8d bb d8 00 00 00 e8 26 97 de ff 4c 89 e7 e8 3e 2c 9b 01 5b 41 5c 5d c3 <0f> 0b eb cb 0f 1f 44 00 00 55 8b 47 48 48 89 e5 85 c0 74 18 8d 50 RSP: 0018:ffffc90000363a70 EFLAGS: 00010246 REISERFS (device loop5): using 3.5.x disk format RAX: 0000000000000000 RBX: ffff88820ba441d0 RCX: 0000000000000001 RDX: 0000000000000001 RSI: 0000000000003965 RDI: ffff88820ba44258 RBP: ffffc90000363a80 R08: 0000000000000030 R09: 0000000000003965 R10: ffffc90000363928 R11: 45d0a65a6cef2289 R12: ffff88820ba44258 R13: 00000000fffffff4 R14: 0000000000000000 R15: ffff88820ba44750 reiserfs_new_inode+0x156/0xa00 fs/reiserfs/inode.c:2166 ------------[ cut here ]------------ reiserfs_mkdir+0x196/0x2d0 fs/reiserfs/namei.c:841 xattr_mkdir.constprop.22+0x22/0x30 fs/reiserfs/xattr.c:76 WARNING: CPU: 1 PID: 3916 at fs/inode.c:996 unlock_new_inode+0x67/0x70 fs/inode.c:1001 create_privroot fs/reiserfs/xattr.c:882 [inline] reiserfs_xattr_init+0x143/0x28c fs/reiserfs/xattr.c:1004 reiserfs_fill_super+0xae1/0xd50 fs/reiserfs/super.c:2177 mount_bdev+0x18c/0x1c0 fs/super.c:1417 Modules linked in: get_super_block+0x10/0x20 fs/reiserfs/super.c:2606 legacy_get_tree+0x2f/0x50 fs/fs_context.c:592 vfs_get_tree+0x28/0xc0 fs/super.c:1547 CPU: 1 PID: 3916 Comm: syz-executor4 Not tainted 5.8.0-rc6-syzkaller #0 do_new_mount fs/namespace.c:2875 [inline] do_mount+0x892/0xab0 fs/namespace.c:3200 __do_sys_mount fs/namespace.c:3410 [inline] __se_sys_mount fs/namespace.c:3387 [inline] __x64_sys_mount+0xc0/0xe0 fs/namespace.c:3387 do_syscall_64+0x6e/0xf0 arch/x86/entry/common.c:384 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0033:0x457f2a Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 5d 8f fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 3a 8f fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007f27cde37bb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000000 RCX: 0000000000457f2a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f27cde37c00 RBP: 0000000000000006 R08: 0000000020011500 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 000000000000067d R14: 00000000006fcc58 R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds..