bisecting fixing commit since 87ef12027b9b1dd0e0b12cf311fbcb19f9d92539 building syzkaller on 3642839c105d2c84160c10866805f903a22fa343 testing commit 87ef12027b9b1dd0e0b12cf311fbcb19f9d92539 with gcc (GCC) 8.1.0 kernel signature: 56a7a5055d4ffd6a8479278bde3f82feda8cc5461ceaf57076a5d615df5ea07d 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 corrupted run #4: crashed: WARNING in unlock_new_inode 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 testing current HEAD 0a679e13ea30f85a1aef0669ee0c5a9fd7860b34 testing commit 0a679e13ea30f85a1aef0669ee0c5a9fd7860b34 with gcc (GCC) 8.1.0 kernel signature: 8db3021476b992083eb40843cdda3ba7b1ed01ab33291f09341c25cbaba2d053 all runs: crashed: WARNING in unlock_new_inode revisions tested: 2, total time: 20m13.378464065s (build: 11m3.608052016s, test: 8m38.225839193s) the crash still happens on HEAD commit msg: Merge branch 'for-5.6-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup crash: WARNING in unlock_new_inode REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop2): Using r5 hash to sort names REISERFS (device loop0): using 3.5.x disk format ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4600 at fs/inode.c:995 unlock_new_inode+0xc8/0x100 fs/inode.c:1000 REISERFS (device loop3): Using r5 hash to sort names Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 4600 Comm: syz-executor1 Not tainted 5.6.0-rc1-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+0x12f/0x187 lib/dump_stack.c:118 panic+0x22a/0x4f5 kernel/panic.c:221 __warn.cold.10+0x25/0x28 kernel/panic.c:582 report_bug+0x1b0/0x270 lib/bug.c:195 fixup_bug arch/x86/kernel/traps.c:174 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:267 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:286 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027 RIP: 0010:unlock_new_inode+0xc8/0x100 fs/inode.c:995 Code: d0 00 00 00 f0 83 44 24 fc 00 be 03 00 00 00 4c 89 e7 e8 eb 0f a5 ff 4c 89 ef e8 c3 32 4b 05 48 83 c4 08 5b 41 5c 41 5d 5d c3 <0f> 0b eb b2 e8 4f 6d f2 ff e9 5b ff ff ff 4c 89 e7 48 89 45 e0 e8 RSP: 0018:ffff8881c096f510 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8881d0200750 RCX: ffffffff8152f082 RDX: 1ffff1103a040104 RSI: 0000000000000004 RDI: ffff8881c096f478 RBP: ffff8881c096f530 R08: 0000000000000004 R09: ffffed103812de8f R10: ffffed103812de8f R11: 0000000000000003 R12: ffff8881d0200820 R13: ffff8881d02007d8 R14: 00000000fffffff4 R15: ffff8881cb4ee1b0 reiserfs_new_inode+0x3a2/0x1ec0 fs/reiserfs/inode.c:2168 REISERFS (device loop3): using 3.5.x disk format reiserfs_mkdir+0x420/0x840 fs/reiserfs/namei.c:841 ------------[ cut here ]------------ xattr_mkdir.constprop.19+0x96/0xc0 fs/reiserfs/xattr.c:76 WARNING: CPU: 0 PID: 4591 at fs/inode.c:995 unlock_new_inode+0xc8/0x100 fs/inode.c:1000 create_privroot fs/reiserfs/xattr.c:882 [inline] reiserfs_xattr_init+0x405/0x984 fs/reiserfs/xattr.c:1004 Modules linked in: reiserfs_fill_super+0x1b6b/0x27f0 fs/reiserfs/super.c:2177 CPU: 0 PID: 4591 Comm: syz-executor3 Not tainted 5.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:unlock_new_inode+0xc8/0x100 fs/inode.c:995 Code: d0 00 00 00 f0 83 44 24 fc 00 be 03 00 00 00 4c 89 e7 e8 eb 0f a5 ff 4c 89 ef e8 c3 32 4b 05 48 83 c4 08 5b 41 5c 41 5d 5d c3 <0f> 0b eb b2 e8 4f 6d f2 ff e9 5b ff ff ff 4c 89 e7 48 89 45 e0 e8 RSP: 0018:ffff8881c13bf510 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8881cb69a750 RCX: ffffffff8152f082 RDX: 1ffff110396d3504 RSI: 0000000000000004 RDI: ffff8881c13bf478 RBP: ffff8881c13bf530 R08: 0000000000000004 R09: ffffed1038277e8f R10: ffffed1038277e8f R11: 0000000000000003 R12: ffff8881cb69a820 R13: ffff8881cb69a7d8 R14: 00000000fffffff4 R15: ffff8881cb6807d0 mount_bdev+0x27b/0x340 fs/super.c:1417 FS: 00007f2168ae4700(0000) GS:ffff8881db000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbab94eb000 CR3: 00000001c6b75000 CR4: 00000000001406f0 get_super_block+0x10/0x20 fs/reiserfs/super.c:2606 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 legacy_get_tree+0x103/0x1f0 fs/fs_context.c:622 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vfs_get_tree+0x8b/0x2d0 fs/super.c:1547 reiserfs_new_inode+0x3a2/0x1ec0 fs/reiserfs/inode.c:2168 do_new_mount fs/namespace.c:2822 [inline] do_mount+0x1285/0x1b70 fs/namespace.c:3107 __do_sys_mount fs/namespace.c:3316 [inline] __se_sys_mount fs/namespace.c:3293 [inline] __x64_sys_mount+0x169/0x1c0 fs/namespace.c:3293 do_syscall_64+0xd0/0x600 arch/x86/entry/common.c:294 reiserfs_mkdir+0x420/0x840 fs/reiserfs/namei.c:841 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457eaa Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 dd 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 ba 8f fb ff c3 66 0f 1f 84 00 00 00 00 00 xattr_mkdir.constprop.19+0x96/0xc0 fs/reiserfs/xattr.c:76 RSP: 002b:00007f7e400c4bb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 create_privroot fs/reiserfs/xattr.c:882 [inline] reiserfs_xattr_init+0x405/0x984 fs/reiserfs/xattr.c:1004 RAX: ffffffffffffffda RBX: 0000000020000000 RCX: 0000000000457eaa reiserfs_fill_super+0x1b6b/0x27f0 fs/reiserfs/super.c:2177 RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f7e400c4c00 RBP: 0000000000000006 R08: 0000000020011500 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 000000000000067d R14: 00000000006fcc58 R15: 0000000000000000 mount_bdev+0x27b/0x340 fs/super.c:1417 get_super_block+0x10/0x20 fs/reiserfs/super.c:2606 legacy_get_tree+0x103/0x1f0 fs/fs_context.c:622 vfs_get_tree+0x8b/0x2d0 fs/super.c:1547 do_new_mount fs/namespace.c:2822 [inline] do_mount+0x1285/0x1b70 fs/namespace.c:3107 __do_sys_mount fs/namespace.c:3316 [inline] __se_sys_mount fs/namespace.c:3293 [inline] __x64_sys_mount+0x169/0x1c0 fs/namespace.c:3293 do_syscall_64+0xd0/0x600 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457eaa Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 dd 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 ba 8f fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007f2168ae3bb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000000 RCX: 0000000000457eaa RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f2168ae3c00 RBP: 0000000000000006 R08: 0000000020011500 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 000000000000067d R14: 00000000006fcc58 R15: 0000000000000000 irq event stamp: 18502 hardirqs last enabled at (18501): [] seqcount_lockdep_reader_access include/linux/seqlock.h:83 [inline] hardirqs last enabled at (18501): [] read_seqcount_begin include/linux/seqlock.h:164 [inline] hardirqs last enabled at (18501): [] ktime_get_coarse_real_ts64+0x16e/0x210 kernel/time/timekeeping.c:2166 hardirqs last disabled at (18502): [] trace_hardirqs_off_thunk+0x1a/0x1c arch/x86/entry/thunk_64.S:42 softirqs last enabled at (17364): [] __do_softirq+0x68b/0x94c kernel/softirq.c:319 softirqs last disabled at (17357): [] invoke_softirq kernel/softirq.c:373 [inline] softirqs last disabled at (17357): [] irq_exit+0x1bb/0x1e0 kernel/softirq.c:413 ---[ end trace c997ba9cf35d1260 ]--- Kernel Offset: disabled Rebooting in 86400 seconds..