bisecting fixing commit since f4353c3e2aaf7f7d3c5a18271b368bf5292854c3 building syzkaller on 3de7aabbb79a6c2267f5d7ee8a8aaa83f63305b7 testing commit f4353c3e2aaf7f7d3c5a18271b368bf5292854c3 with gcc (GCC) 8.1.0 kernel signature: 083f0fb05ee034318c6701044ce90bd860f61214b2b70e4ed3dd2983a45e4f0e all runs: crashed: general protection fault in can_rx_register testing current HEAD 2ea1940b84e55420a9e8feddcafd173edfe4df11 testing commit 2ea1940b84e55420a9e8feddcafd173edfe4df11 with gcc (GCC) 8.1.0 kernel signature: 6ea0f312760729e33a4aadc2bae1e5bbafd8397d389ecd5184ae3bb0cccf2180 all runs: crashed: general protection fault in can_rx_register revisions tested: 2, total time: 21m38.946538659s (build: 12m50.252138452s, test: 7m20.903017066s) the crash still happens on HEAD commit msg: Merge tag 'pm-5.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm crash: general protection fault in can_rx_register general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 PID: 10172 Comm: syz-executor.3 Not tainted 5.7.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:hlist_add_head_rcu include/linux/rculist.h:538 [inline] RIP: 0010:can_rx_register+0x31a/0x6b0 net/can/af_can.c:476 Code: 49 89 4e 30 80 3c 16 00 0f 85 05 03 00 00 48 8b 8d 18 ff ff ff 48 89 c6 48 ba 00 00 00 00 00 fc ff df 48 c1 ee 03 49 89 4e 38 <80> 3c 16 00 0f 85 c4 02 00 00 48 ba 00 00 00 00 00 fc ff df 4c 89 RSP: 0018:ffffc90003af7b58 EFLAGS: 00010202 RAX: 0000000000000008 RBX: 1ffff9200075ef72 RCX: ffff88808e1ef000 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff888098b4f2d8 RBP: ffffc90003af7c58 R08: 0000000000000004 R09: fffff5200075ef58 R10: 1ffff11013169e56 R11: fffff5200075ef58 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888098b4f2a0 R15: ffff88809a8789c0 FS: 00007f4bff370700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560609bdf940 CR3: 00000000980a9000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: raw_enable_filters+0xc3/0x1e0 net/can/raw.c:189 raw_enable_allfilters+0x80/0x1b0 net/can/raw.c:255 raw_bind+0x230/0x8c0 net/can/raw.c:428 __sys_bind+0x1e1/0x230 net/socket.c:1662 __do_sys_bind net/socket.c:1673 [inline] __se_sys_bind net/socket.c:1671 [inline] __x64_sys_bind+0x6e/0xb0 net/socket.c:1671 do_syscall_64+0xca/0x630 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x45aff9 Code: ad b6 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 b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f4bff36fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 00007f4bff3706d4 RCX: 000000000045aff9 RDX: 0000000000000008 RSI: 0000000020000180 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000031 R14: 00000000004c140d R15: 000000000075bf2c Modules linked in: ---[ end trace 58a5f71bac3a3b2c ]--- RIP: 0010:hlist_add_head_rcu include/linux/rculist.h:538 [inline] RIP: 0010:can_rx_register+0x31a/0x6b0 net/can/af_can.c:476 Code: 49 89 4e 30 80 3c 16 00 0f 85 05 03 00 00 48 8b 8d 18 ff ff ff 48 89 c6 48 ba 00 00 00 00 00 fc ff df 48 c1 ee 03 49 89 4e 38 <80> 3c 16 00 0f 85 c4 02 00 00 48 ba 00 00 00 00 00 fc ff df 4c 89 RSP: 0018:ffffc90003af7b58 EFLAGS: 00010202 RAX: 0000000000000008 RBX: 1ffff9200075ef72 RCX: ffff88808e1ef000 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff888098b4f2d8 RBP: ffffc90003af7c58 R08: 0000000000000004 R09: fffff5200075ef58 R10: 1ffff11013169e56 R11: fffff5200075ef58 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888098b4f2a0 R15: ffff88809a8789c0 FS: 00007f4bff370700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560609bdf940 CR3: 00000000980a9000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400