bisecting fixing commit since 2034d6f0838e465dd8f120c4e946d8444b4bb5df building syzkaller on 6a81331a1d4c744da9204d02ec88d558f7eea9c9 testing commit 2034d6f0838e465dd8f120c4e946d8444b4bb5df with gcc (GCC) 8.4.1 20210217 kernel signature: ae11cb019e7f985a817d8831a7f27d7e36937ba8747aaecb7f61275e8d07a395 run #0: crashed: WARNING: locking bug in __sb_end_write run #1: crashed: WARNING: locking bug in __sb_end_write run #2: crashed: WARNING: locking bug in __sb_end_write run #3: crashed: WARNING: locking bug in __sb_end_write run #4: crashed: WARNING: locking bug in __sb_end_write run #5: crashed: WARNING: locking bug in __sb_end_write run #6: crashed: WARNING: locking bug in __sb_end_write run #7: crashed: WARNING: locking bug in __sb_end_write run #8: crashed: WARNING: locking bug in __sb_end_write run #9: crashed: WARNING: locking bug in __sb_end_write run #10: crashed: WARNING: locking bug in __sb_end_write run #11: crashed: WARNING: locking bug in __sb_end_write run #12: crashed: WARNING: locking bug in __sb_end_write run #13: crashed: WARNING: locking bug in __sb_end_write run #14: crashed: WARNING: locking bug in __sb_end_write run #15: crashed: WARNING: locking bug in __sb_end_write run #16: crashed: WARNING: locking bug in __sb_end_write run #17: crashed: WARNING: locking bug in __sb_end_write run #18: crashed: WARNING: locking bug in __sb_end_write run #19: OK testing current HEAD 97a8651cadce7c2b7c4d8f108b392eff31fe2c08 testing commit 97a8651cadce7c2b7c4d8f108b392eff31fe2c08 with gcc (GCC) 8.4.1 20210217 kernel signature: fa473cddd0eadfdb6455bab746d52991de488a146226d68631be592daa4065f2 all runs: crashed: WARNING: locking bug in __sb_end_write revisions tested: 2, total time: 30m0.754440625s (build: 14m52.391416246s, test: 14m45.114490012s) the crash still happens on HEAD commit msg: Linux 4.19.189 crash: WARNING: locking bug in __sb_end_write ieee802154 phy1 wpan1: encryption failed: -22 ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(depth <= 0) WARNING: CPU: 1 PID: 26391 at kernel/locking/lockdep.c:3670 __lock_release kernel/locking/lockdep.c:3670 [inline] WARNING: CPU: 1 PID: 26391 at kernel/locking/lockdep.c:3670 lock_release+0x669/0x840 kernel/locking/lockdep.c:3927 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 26391 Comm: syz-executor.3 Not tainted 4.19.189-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 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038 RIP: 0010:__lock_release kernel/locking/lockdep.c:3670 [inline] RIP: 0010:lock_release+0x669/0x840 kernel/locking/lockdep.c:3927 Code: 03 38 d0 7c 08 84 d2 0f 85 c7 01 00 00 8b 35 4e ea 79 0a 85 f6 75 15 48 c7 c6 40 99 09 88 48 c7 c7 00 66 09 88 e8 68 3b 3a 06 <0f> 0b 48 8b 95 70 ff ff ff 4c 89 e6 4c 89 ff e8 f3 6f ff ff e9 49 RSP: 0018:ffff88807fc77d38 EFLAGS: 00010086 RAX: 0000000000000000 RBX: 1ffff1100ff8efaa RCX: 0000000000000000 RDX: 0000000000000004 RSI: 0000000000000004 RDI: 0000000000000000 RBP: ffff88807fc77dd8 R08: fffffbfff132e761 R09: fffffbfff132e760 R10: fffffbfff132e760 R11: ffffffff89973b03 R12: ffff88809338e810 R13: 0000000000000000 R14: ffff888095772b80 R15: ffff888095772300 percpu_up_read_preempt_enable include/linux/percpu-rwsem.h:102 [inline] percpu_up_read include/linux/percpu-rwsem.h:108 [inline] __sb_end_write+0xa4/0xd0 fs/super.c:1353 file_end_write include/linux/fs.h:2793 [inline] vfs_write+0x2e4/0x4d0 fs/read_write.c:555 ksys_write+0x103/0x260 fs/read_write.c:599 __do_sys_write fs/read_write.c:611 [inline] __se_sys_write fs/read_write.c:608 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:608 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x466459 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:00007f4c728cf188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056c0b0 RCX: 0000000000466459 RDX: 0000000020104000 RSI: 0000000020004200 RDI: 0000000000000004 RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0b0 R13: 00007fffe1caf0ef R14: 00007f4c728cf300 R15: 0000000000022000 Kernel Offset: disabled Rebooting in 86400 seconds..