general protection fault, probably for non-canonical address 0xdffffc000000006a: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000350-0x0000000000000357] CPU: 0 PID: 6875 Comm: syz-executor.5 Not tainted 5.8.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rose_send_frame+0x161/0x290 net/rose/rose_link.c:101 Code: 41 5e 5d c3 80 3c 02 00 0f 85 24 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 4b 20 49 8d b9 50 03 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 08 01 00 00 49 8b 91 50 03 00 00 e9 e3 fe ff ff RSP: 0018:ffff8880aea09b28 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff88809ae3e000 RCX: 0000000000000006 RDX: 000000000000006a RSI: ffffffff88118740 RDI: 0000000000000350 RBP: ffff8880aea09b58 R08: ffffed1012f7a71d R09: 0000000000000000 R10: ffff888097bd38e3 R11: ffffed1012f7a71c R12: ffff88809ae3e000 R13: 0000000000000078 R14: ffff8880a75bedc0 R15: ffff8880a75bedc0 FS: 0000000002717940(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000070f158 CR3: 00000000a8913000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rose_transmit_clear_request+0x1d0/0x290 net/rose/rose_link.c:255 rose_rx_call_request+0x399/0x1f07 net/rose/af_rose.c:998 rose_loopback_timer+0x11f/0x430 net/rose/rose_loopback.c:100 call_timer_fn+0x171/0x570 kernel/time/timer.c:1404 expire_timers kernel/time/timer.c:1449 [inline] __run_timers kernel/time/timer.c:1773 [inline] run_timer_softirq+0xd66/0x1350 kernel/time/timer.c:1786 __do_softirq+0x262/0x9f5 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+0x11a/0x180 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+0x191/0x1d0 kernel/softirq.c:429 sysvec_apic_timer_interrupt+0x12e/0x200 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:596 RIP: 0010:unwind_next_frame.part.4+0x12/0x7c0 arch/x86/kernel/unwind_frame.c:254 Code: 73 00 eb a4 4c 89 e7 e8 dc 72 73 00 eb c2 4c 89 e7 e8 d2 72 73 00 eb dc 48 8d 4f 58 55 48 b8 00 00 00 00 00 fc ff df 48 89 ca <48> 89 e5 41 57 48 c1 ea 03 41 56 41 55 41 54 53 48 89 fb 48 83 ec RSP: 0018:ffff8880a834f5d0 EFLAGS: 00000202 RAX: dffffc0000000000 RBX: ffff8880a834f5f8 RCX: ffff8880a834f650 RDX: ffff8880a834f650 RSI: ffffffff81a1a4fd RDI: ffff8880a834f5f8 RBP: ffff8880a834f5e8 R08: ffffed1015069ecb R09: ffff8880a834f630 R10: ffff8880a834f657 R11: ffffed1015069eca R12: ffff8880a834f6b0 R13: 0000000000000000 R14: ffff8880a2af4240 R15: ffff8880a5ee4ac7 arch_stack_walk+0x84/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x82/0xb0 kernel/stacktrace.c:123 save_stack+0x21/0x50 mm/kasan/common.c:48 set_track mm/kasan/common.c:56 [inline] __kasan_kmalloc.constprop.10+0xc7/0xd0 mm/kasan/common.c:494 kasan_kmalloc+0x9/0x10 mm/kasan/common.c:508 __do_kmalloc_node mm/slab.c:3616 [inline] __kmalloc_node+0x4d/0x70 mm/slab.c:3623 kmalloc_node include/linux/slab.h:578 [inline] __vmalloc_area_node mm/vmalloc.c:2460 [inline] __vmalloc_node_range+0x1fe/0x920 mm/vmalloc.c:2542 __vmalloc_node mm/vmalloc.c:2585 [inline] vzalloc+0x6a/0x80 mm/vmalloc.c:2638 alloc_counters.isra.12+0x4e/0x5a0 net/ipv4/netfilter/arp_tables.c:659 copy_entries_to_user net/ipv4/netfilter/arp_tables.c:680 [inline] get_entries net/ipv4/netfilter/arp_tables.c:867 [inline] do_arpt_get_ctl+0x3da/0x640 net/ipv4/netfilter/arp_tables.c:1489 nf_sockopt net/netfilter/nf_sockopt.c:104 [inline] nf_getsockopt+0x5f/0xc0 net/netfilter/nf_sockopt.c:122 ip_getsockopt+0xf9/0x130 net/ipv4/ip_sockglue.c:1749 tcp_getsockopt+0x6a/0xd0 net/ipv4/tcp.c:3893 sock_common_getsockopt+0x73/0xf0 net/core/sock.c:3219 __sys_getsockopt+0x13c/0x2e0 net/socket.c:2172 __do_sys_getsockopt net/socket.c:2187 [inline] __se_sys_getsockopt net/socket.c:2184 [inline] __x64_sys_getsockopt+0xb9/0x150 net/socket.c:2184 do_syscall_64+0x64/0xe0 arch/x86/entry/common.c:359 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45c33a Code: Bad RIP value. RSP: 002b:00007ffe5ed11638 EFLAGS: 00000212 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007ffe5ed11740 RCX: 000000000045c33a RDX: 0000000000000061 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00007ffe5ed1164c R09: 000000000000000a R10: 00007ffe5ed11740 R11: 0000000000000212 R12: 0000000000000000 R13: 00007ffe5ed11dc0 R14: 000000000000d351 R15: 00007ffe5ed11dd0 Modules linked in: ---[ end trace e7ed857db63abf1b ]--- RIP: 0010:rose_send_frame+0x161/0x290 net/rose/rose_link.c:101 Code: 41 5e 5d c3 80 3c 02 00 0f 85 24 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 4b 20 49 8d b9 50 03 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 08 01 00 00 49 8b 91 50 03 00 00 e9 e3 fe ff ff RSP: 0018:ffff8880aea09b28 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff88809ae3e000 RCX: 0000000000000006 RDX: 000000000000006a RSI: ffffffff88118740 RDI: 0000000000000350 RBP: ffff8880aea09b58 R08: ffffed1012f7a71d R09: 0000000000000000 R10: ffff888097bd38e3 R11: ffffed1012f7a71c R12: ffff88809ae3e000 R13: 0000000000000078 R14: ffff8880a75bedc0 R15: ffff8880a75bedc0 FS: 0000000002717940(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000070f158 CR3: 00000000a8913000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400