general protection fault, probably for non-canonical address 0xdffffc000000006a: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000350-0x0000000000000357] CPU: 1 PID: 24379 Comm: syz-executor.2 Not tainted 5.8.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rose_send_frame+0x1dd/0x2f0 net/rose/rose_link.c:101 Code: 48 c1 ea 03 80 3c 02 00 0f 85 06 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 6b 20 48 8d bd 50 03 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ea 00 00 00 4c 8b bd 50 03 00 00 e9 77 fe ff ff RSP: 0018:ffffc90000da8b18 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff888214e1f400 RCX: ffffffff8714bf23 RDX: 000000000000006a RSI: ffffffff8714c092 RDI: 0000000000000350 RBP: 0000000000000000 R08: 0000000000000001 R09: ffff888060d8ece3 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888214e1f400 R13: 0000000000000078 R14: ffff888053dd5540 R15: 0000000000000010 FS: 0000000001f35940(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31e39000 CR3: 0000000042986000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rose_transmit_clear_request+0x1d5/0x290 net/rose/rose_link.c:255 rose_rx_call_request+0x4bd/0x1978 net/rose/af_rose.c:998 rose_loopback_timer+0x15d/0x470 net/rose/rose_loopback.c:100 call_timer_fn+0x1ac/0x760 kernel/time/timer.c:1415 expire_timers kernel/time/timer.c:1460 [inline] __run_timers.part.0+0x54c/0xa20 kernel/time/timer.c:1784 __run_timers kernel/time/timer.c:1756 [inline] run_timer_softirq+0xae/0x1a0 kernel/time/timer.c:1797 __do_softirq+0x34c/0xa60 kernel/softirq.c:292 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline] do_softirq_own_stack+0x111/0x170 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:387 [inline] __irq_exit_rcu kernel/softirq.c:417 [inline] irq_exit_rcu+0x229/0x270 kernel/softirq.c:429 sysvec_apic_timer_interrupt+0x54/0x120 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:585 RIP: 0010:arch_local_save_flags arch/x86/include/asm/paravirt.h:765 [inline] RIP: 0010:arch_local_irq_save+0x29/0x90 arch/x86/include/asm/paravirt.h:787 Code: 00 48 c7 c0 80 e0 b4 89 41 54 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 4a 48 83 3d ab c9 5b 08 00 74 3c 9c 58 <0f> 1f 44 00 00 48 ba 00 00 00 00 00 fc ff df 49 89 c4 48 c7 c0 90 RSP: 0018:ffffc90004d77920 EFLAGS: 00000282 RAX: 0000000000000282 RBX: 0000000000000000 RCX: 0000000000000006 RDX: dffffc0000000000 RSI: 00000000ffffffff RDI: ffffffff89bc0e00 RBP: ffff88809bd58300 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffffff89bc0e00 R13: ffff88809bd58bd0 R14: 0000000000000000 R15: 0000000000000001 lock_is_held_type+0x3a/0xe0 kernel/locking/lockdep.c:4992 lock_is_held include/linux/lockdep.h:425 [inline] ___might_sleep+0x268/0x2f0 kernel/sched/core.c:6907 get_next_corpse net/netfilter/nf_conntrack_core.c:2239 [inline] nf_ct_iterate_cleanup+0xb1/0x330 net/netfilter/nf_conntrack_core.c:2261 nf_ct_iterate_cleanup_net net/netfilter/nf_conntrack_core.c:2346 [inline] nf_ct_iterate_cleanup_net+0x113/0x170 net/netfilter/nf_conntrack_core.c:2331 masq_device_event+0xae/0xe0 net/netfilter/nf_nat_masquerade.c:88 notifier_call_chain+0xb5/0x200 kernel/notifier.c:83 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2033 call_netdevice_notifiers_extack net/core/dev.c:2045 [inline] call_netdevice_notifiers net/core/dev.c:2059 [inline] dev_close_many+0x30b/0x650 net/core/dev.c:1634 rollback_registered_many+0x3af/0xf60 net/core/dev.c:8963 rollback_registered net/core/dev.c:9031 [inline] unregister_netdevice_queue+0x2dd/0x570 net/core/dev.c:10112 unregister_netdevice include/linux/netdevice.h:2762 [inline] __tun_detach+0xff6/0x1310 drivers/net/tun.c:691 tun_detach drivers/net/tun.c:708 [inline] tun_chr_close+0xd9/0x180 drivers/net/tun.c:3423 __fput+0x33c/0x880 fs/file_table.c:281 task_work_run+0xdd/0x190 kernel/task_work.c:135 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:239 [inline] __prepare_exit_to_usermode+0x1e9/0x1f0 arch/x86/entry/common.c:269 do_syscall_64+0x6c/0xe0 arch/x86/entry/common.c:393 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x416791 Code: 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 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007ffd7595a5a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000416791 RDX: 0000000000000000 RSI: 0000000000000e71 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000025982e71 R09: 0000000025982e75 R10: 00007ffd7595a690 R11: 0000000000000293 R12: 0000000000794ea8 R13: 0000000000338e68 R14: ffffffffffffffff R15: 000000000078bf0c Modules linked in: ---[ end trace 5e1aa2587f5384e1 ]--- RIP: 0010:rose_send_frame+0x1dd/0x2f0 net/rose/rose_link.c:101 Code: 48 c1 ea 03 80 3c 02 00 0f 85 06 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 6b 20 48 8d bd 50 03 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ea 00 00 00 4c 8b bd 50 03 00 00 e9 77 fe ff ff RSP: 0018:ffffc90000da8b18 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff888214e1f400 RCX: ffffffff8714bf23 RDX: 000000000000006a RSI: ffffffff8714c092 RDI: 0000000000000350 RBP: 0000000000000000 R08: 0000000000000001 R09: ffff888060d8ece3 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888214e1f400 R13: 0000000000000078 R14: ffff888053dd5540 R15: 0000000000000010 FS: 0000000001f35940(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31e39000 CR3: 0000000042986000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400