general protection fault, probably for non-canonical address 0xe000080fe8c0c1f9: 0000 [#1] PREEMPT SMP KASAN KASAN: probably user-memory-access in range [0x0000607f46060fc8-0x0000607f46060fcf] CPU: 1 PID: 17545 Comm: syz-executor.4 Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:j1939_ndev_to_priv net/can/j1939/main.c:219 [inline] RIP: 0010:j1939_priv_get_by_ndev_locked+0xf6/0x210 net/can/j1939/main.c:231 Code: a0 05 00 00 48 85 db 0f 84 a8 00 00 00 e8 52 69 8a f9 48 8d bb 28 60 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 01 01 00 00 4c 8b a3 28 60 00 00 4d 85 e4 74 75 RSP: 0018:ffffc90002037c68 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000607f4605afa0 RCX: ffffc90011684000 RDX: 00000c0fe8c0c1f9 RSI: ffffffff87e870ae RDI: 0000607f46060fc8 RBP: 0000000000000010 R08: 0000000000000000 R09: 0000000000000118 R10: ffffffff87e87066 R11: 0000000000000118 R12: 0000000000000118 R13: ffffffff8d8a7b80 R14: 0000000000000000 R15: ffffffff8d870580 FS: 00007f839e66a700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000005ae63000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: j1939_priv_get_by_ndev net/can/j1939/main.c:243 [inline] j1939_netdev_notify+0x41/0x1a0 net/can/j1939/main.c:353 notifier_call_chain+0xb5/0x200 kernel/notifier.c:83 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2063 call_netdevice_notifiers_extack net/core/dev.c:2075 [inline] call_netdevice_notifiers+0x79/0xa0 net/core/dev.c:2089 __tun_chr_ioctl.isra.0+0x354e/0x4140 drivers/net/tun.c:3087 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:739 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x465ef9 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:00007f839e66a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465ef9 RDX: 0000000000000118 RSI: 00000000400454cd RDI: 0000000000000004 RBP: 00000000004bcd1c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffead4a696f R14: 00007f839e66a300 R15: 0000000000022000 Modules linked in: ---[ end trace 2bdba2f6a4e857bc ]--- RIP: 0010:j1939_ndev_to_priv net/can/j1939/main.c:219 [inline] RIP: 0010:j1939_priv_get_by_ndev_locked+0xf6/0x210 net/can/j1939/main.c:231 Code: a0 05 00 00 48 85 db 0f 84 a8 00 00 00 e8 52 69 8a f9 48 8d bb 28 60 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 01 01 00 00 4c 8b a3 28 60 00 00 4d 85 e4 74 75 RSP: 0018:ffffc90002037c68 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000607f4605afa0 RCX: ffffc90011684000 RDX: 00000c0fe8c0c1f9 RSI: ffffffff87e870ae RDI: 0000607f46060fc8 RBP: 0000000000000010 R08: 0000000000000000 R09: 0000000000000118 R10: ffffffff87e87066 R11: 0000000000000118 R12: 0000000000000118 R13: ffffffff8d8a7b80 R14: 0000000000000000 R15: ffffffff8d870580 FS: 00007f839e66a700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000005ae63000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400