bisecting fixing commit since 9c7dc824d9a48f98b4ee20041e865d97bc73a626 building syzkaller on bab43553a904660266fdcd8fb974c7bdd96b3f58 testing commit 9c7dc824d9a48f98b4ee20041e865d97bc73a626 with gcc (GCC) 8.1.0 kernel signature: 6bdb1832a0654fcfc83fd62bc5ece175b31f8fdc0f1e6746916e59d827eb1783 run #0: crashed: general protection fault in prepare_to_wait run #1: crashed: general protection fault in prepare_to_wait run #2: crashed: general protection fault in prepare_to_wait run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK testing current HEAD 6a1000bd27035bba17ede9dc915166276a811edb testing commit 6a1000bd27035bba17ede9dc915166276a811edb with gcc (GCC) 8.1.0 kernel signature: dca413a61ef17cbe1b1d1c70733030be2c0c927cc70ec0ff113857861957a589 run #0: crashed: general protection fault in prepare_to_wait run #1: crashed: general protection fault in prepare_to_wait run #2: crashed: general protection fault in prepare_to_wait run #3: crashed: KASAN: use-after-free Write in nr_release run #4: crashed: general protection fault in prepare_to_wait run #5: crashed: general protection fault in prepare_to_wait run #6: crashed: general protection fault in prepare_to_wait run #7: crashed: general protection fault in prepare_to_wait run #8: OK run #9: OK revisions tested: 2, total time: 32m25.462031764s (build: 11m43.834013214s, test: 19m54.457295013s) the crash still happens on HEAD commit msg: Merge tag 'ioremap-5.6' of git://git.infradead.org/users/hch/ioremap crash: general protection fault in prepare_to_wait kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 7542 Comm: syz-executor.2 Not tainted 5.5.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__lock_acquire+0xb89/0x4ef0 kernel/locking/lockdep.c:3827 Code: 00 0f 85 99 2e 00 00 48 81 c4 f8 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 <80> 3c 02 00 0f 85 92 32 00 00 49 81 7d 00 a0 fc 54 89 0f 84 2d f5 RSP: 0018:ffff88807cc6fa10 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000003 RSI: 0000000000000000 RDI: 0000000000000018 RBP: ffff88807cc6fb30 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: ffff88809061e080 R12: 0000000000000000 R13: 0000000000000018 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f723c0c7700(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000938be000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x194/0x410 kernel/locking/lockdep.c:4484 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x99/0xd0 kernel/locking/spinlock.c:159 prepare_to_wait+0x90/0x310 kernel/sched/wait.c:244 nr_accept+0x1b0/0x6a0 net/netrom/af_netrom.c:771 __sys_accept4_file+0x35a/0x580 net/socket.c:1745 __sys_accept4+0x42/0x80 net/socket.c:1796 __do_sys_accept net/socket.c:1814 [inline] __se_sys_accept net/socket.c:1811 [inline] __x64_sys_accept+0x70/0xb0 net/socket.c:1811 do_syscall_64+0xd0/0x600 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458079 Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f723c0c6c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002b RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458079 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f723c0c76d4 R13: 00000000004bdd8f R14: 00000000004ce0c0 R15: 00000000ffffffff Modules linked in: ---[ end trace 68110786b8e5489e ]--- RIP: 0010:__lock_acquire+0xb89/0x4ef0 kernel/locking/lockdep.c:3827 Code: 00 0f 85 99 2e 00 00 48 81 c4 f8 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 <80> 3c 02 00 0f 85 92 32 00 00 49 81 7d 00 a0 fc 54 89 0f 84 2d f5 RSP: 0018:ffff88807cc6fa10 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000003 RSI: 0000000000000000 RDI: 0000000000000018 RBP: ffff88807cc6fb30 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: ffff88809061e080 R12: 0000000000000000 R13: 0000000000000018 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f723c0c7700(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000938be000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400