bisecting fixing commit since 63623fd44972d1ed2bfb6e0fb631dfcf547fd1e7 building syzkaller on c88c7b75a4e022b758f4b0f1bf3db8ebb2fb25e6 testing commit 63623fd44972d1ed2bfb6e0fb631dfcf547fd1e7 with gcc (GCC) 8.1.0 kernel signature: d8332eecbdfc9c5bcc565535a9753c7c054867fee609301d089894f40bf84cfe all runs: crashed: general protection fault in j1939_netdev_start testing current HEAD 690e2aba7beb1ef06352803bea41a68a3c695015 testing commit 690e2aba7beb1ef06352803bea41a68a3c695015 with gcc (GCC) 8.1.0 kernel signature: 8f60826c6d3ac37218003240042947fdd782c887768b419883646b3a2af576aa all runs: crashed: general protection fault in j1939_netdev_start revisions tested: 2, total time: 19m19.482814595s (build: 11m54.618827331s, test: 6m55.099768238s) the crash still happens on HEAD commit msg: Merge tag 'vfio-v5.7-rc4' of git://github.com/awilliam/linux-vfio crash: general protection fault in j1939_netdev_start general protection fault, probably for non-canonical address 0xdffffc0000000c05: 0000 [#1] PREEMPT SMP KASAN KASAN: probably user-memory-access in range [0x0000000000006028-0x000000000000602f] CPU: 1 PID: 9634 Comm: syz-executor.2 Not tainted 5.7.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:j1939_priv_set net/can/j1939/main.c:145 [inline] RIP: 0010:j1939_netdev_start+0x322/0x5b0 net/can/j1939/main.c:280 Code: 03 80 3c 02 00 0f 85 7a 02 00 00 4c 8b bb a0 05 00 00 48 ba 00 00 00 00 00 fc ff df 49 8d bf 28 60 00 00 48 89 f9 48 c1 e9 03 <80> 3c 11 00 0f 85 47 02 00 00 4d 89 a7 28 60 00 00 48 c7 c7 40 f4 RSP: 0018:ffffc90008b37cb0 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff88809a44c000 RCX: 0000000000000c05 RDX: dffffc0000000000 RSI: ffffffff89dff458 RDI: 0000000000006028 RBP: ffffc90008b37ce8 R08: 0000000000000004 R09: fffff52001166f83 R10: 0000000000000003 R11: fffff52001166f83 R12: ffff8880a9140000 R13: ffff88809a44c568 R14: ffff8880a9140050 R15: 0000000000000000 FS: 00007f7b9e0c3700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000076c000 CR3: 0000000092d53000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: j1939_sk_bind+0x5e4/0x910 net/can/j1939/socket.c:469 __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:0x45c479 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:00007f7b9e0c2c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 00007f7b9e0c36d4 RCX: 000000000045c479 RDX: 0000000000000018 RSI: 0000000020000040 RDI: 0000000000000003 RBP: 000000000076bfc0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000030 R14: 00000000004c291e R15: 000000000076bfcc Modules linked in: ---[ end trace 787930e2c88f9c72 ]--- RIP: 0010:j1939_priv_set net/can/j1939/main.c:145 [inline] RIP: 0010:j1939_netdev_start+0x322/0x5b0 net/can/j1939/main.c:280 Code: 03 80 3c 02 00 0f 85 7a 02 00 00 4c 8b bb a0 05 00 00 48 ba 00 00 00 00 00 fc ff df 49 8d bf 28 60 00 00 48 89 f9 48 c1 e9 03 <80> 3c 11 00 0f 85 47 02 00 00 4d 89 a7 28 60 00 00 48 c7 c7 40 f4 RSP: 0018:ffffc90008b37cb0 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff88809a44c000 RCX: 0000000000000c05 RDX: dffffc0000000000 RSI: ffffffff89dff458 RDI: 0000000000006028 RBP: ffffc90008b37ce8 R08: 0000000000000004 R09: fffff52001166f83 R10: 0000000000000003 R11: fffff52001166f83 R12: ffff8880a9140000 R13: ffff88809a44c568 R14: ffff8880a9140050 R15: 0000000000000000 FS: 00007f7b9e0c3700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000076c000 CR3: 0000000092d53000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400