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: 8817 Comm: syz-executor.0 Not tainted 5.4.0-rc6 #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:210 [inline] RIP: 0010:j1939_priv_get_by_ndev_locked+0xf5/0x190 net/can/j1939/main.c:222 Code: 03 80 3c 02 00 0f 85 ae 00 00 00 48 8b 9b 88 05 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bb 28 60 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 7f 4c 8b a3 28 60 00 00 4d 85 e4 74 12 e8 a4 5d f4 RSP: 0018:ffff88809405f980 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff867ec4c7 RDX: 0000000000000c05 RSI: ffffffff867ec4d4 RDI: 0000000000006028 RBP: ffff88809405f998 R08: ffff88809324c500 R09: ffffed101280bf23 R10: ffffed101280bf22 R11: 0000000000000003 R12: 0000000000000000 R13: 0000000000000118 R14: dffffc0000000000 R15: 0000000000000000 FS: 00000000018e2940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd98403dbc CR3: 00000000a7cca000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: j1939_priv_get_by_ndev net/can/j1939/main.c:234 [inline] j1939_netdev_notify+0x47/0x120 net/can/j1939/main.c:344 notifier_call_chain+0xc2/0x230 kernel/notifier.c:95 __raw_notifier_call_chain kernel/notifier.c:396 [inline] raw_notifier_call_chain+0x2e/0x40 kernel/notifier.c:403 call_netdevice_notifiers_info+0x3f/0x90 net/core/dev.c:1668 call_netdevice_notifiers_extack net/core/dev.c:1680 [inline] call_netdevice_notifiers net/core/dev.c:1694 [inline] rollback_registered_many+0x9b9/0xfc0 net/core/dev.c:8522 rollback_registered+0x109/0x1d0 net/core/dev.c:8564 unregister_netdevice_queue net/core/dev.c:9656 [inline] unregister_netdevice_queue+0x1ee/0x2c0 net/core/dev.c:9649 unregister_netdevice include/linux/netdevice.h:2637 [inline] unregister_netdev+0x1d/0x30 net/core/dev.c:9697 slip_close+0x16d/0x1d0 drivers/net/slip/slip.c:895 tty_ldisc_close.isra.0+0x119/0x1a0 drivers/tty/tty_ldisc.c:494 tty_ldisc_kill+0x9c/0x160 drivers/tty/tty_ldisc.c:642 tty_ldisc_release+0xe9/0x2b0 drivers/tty/tty_ldisc.c:814 tty_release_struct+0x1b/0x50 drivers/tty/tty_io.c:1612 tty_release+0xbcb/0xe90 drivers/tty/tty_io.c:1785 __fput+0x2ff/0x890 fs/file_table.c:280 ____fput+0x16/0x20 fs/file_table.c:313 task_work_run+0x145/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x316/0x380 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x65f/0x760 arch/x86/entry/common.c:300 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x413d90 Code: 01 f0 ff ff 0f 83 30 1b 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 3d 7d 42 66 00 00 75 14 b8 03 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 04 1b 00 00 c3 48 83 ec 08 e8 0a fc ff ff RSP: 002b:00007ffc7b18f6f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000413d90 RDX: 0000001b30420000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffffffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 000000000075bf20 R13: 0000000000000003 R14: 00000000007601c8 R15: 000000000075bf2c Modules linked in: ---[ end trace d873548b95ed2790 ]--- RIP: 0010:j1939_ndev_to_priv net/can/j1939/main.c:210 [inline] RIP: 0010:j1939_priv_get_by_ndev_locked+0xf5/0x190 net/can/j1939/main.c:222 Code: 03 80 3c 02 00 0f 85 ae 00 00 00 48 8b 9b 88 05 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bb 28 60 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 7f 4c 8b a3 28 60 00 00 4d 85 e4 74 12 e8 a4 5d f4 RSP: 0018:ffff88809405f980 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff867ec4c7 RDX: 0000000000000c05 RSI: ffffffff867ec4d4 RDI: 0000000000006028 RBP: ffff88809405f998 R08: ffff88809324c500 R09: ffffed101280bf23 R10: ffffed101280bf22 R11: 0000000000000003 R12: 0000000000000000 R13: 0000000000000118 R14: dffffc0000000000 R15: 0000000000000000 FS: 00000000018e2940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd98403dbc CR3: 00000000a7cca000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400