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: 7177 Comm: syz-executor.1 Not tainted 5.7.0-rc7-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:ffffc90000007b00 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff8882151ec400 RCX: ffffffff86fe5333 RDX: 000000000000006a RSI: ffffffff86fe54a2 RDI: 0000000000000350 RBP: 0000000000000000 R08: ffff888085aba480 R09: ffffed1013d39a9d R10: ffff88809e9cd4e3 R11: ffffed1013d39a9c R12: ffff8882151ec400 R13: 0000000000000078 R14: ffff888090d692c0 R15: 0000000000000010 FS: 000000000125a940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000073f694 CR3: 0000000085abd000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rose_transmit_clear_request+0x1de/0x290 net/rose/rose_link.c:255 rose_rx_call_request+0x488/0x1960 net/rose/af_rose.c:996 rose_loopback_timer+0x15d/0x470 net/rose/rose_loopback.c:100 call_timer_fn+0x1ac/0x780 kernel/time/timer.c:1404 expire_timers kernel/time/timer.c:1449 [inline] __run_timers kernel/time/timer.c:1773 [inline] __run_timers kernel/time/timer.c:1740 [inline] run_timer_softirq+0x623/0x1600 kernel/time/timer.c:1786 __do_softirq+0x26c/0x9f7 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x192/0x1d0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:546 [inline] smp_apic_timer_interrupt+0x19e/0x600 arch/x86/kernel/apic/apic.c:1140 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:759 [inline] RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x8c/0xe0 kernel/locking/spinlock.c:191 Code: 48 c7 c0 60 c0 94 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 37 48 83 3d 3b 21 bd 01 00 74 22 48 89 df 57 9d <0f> 1f 44 00 00 bf 01 00 00 00 e8 35 6b 77 f9 65 8b 05 86 7f 2a 78 RSP: 0018:ffffc90003517a18 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff132980c RBX: 0000000000000282 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000006 RDI: 0000000000000282 RBP: ffffffff89a539a0 R08: ffff888085aba480 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880aa153748 R13: 0000000000000000 R14: 0000000000100000 R15: 00000000000ed000 spin_unlock_irqrestore include/linux/spinlock.h:408 [inline] free_percpu mm/percpu.c:1967 [inline] free_percpu+0x28a/0x790 mm/percpu.c:1932 xt_percpu_counter_free+0x96/0xc0 net/netfilter/x_tables.c:1862 cleanup_entry+0x1e5/0x280 net/ipv6/netfilter/ip6_tables.c:672 __do_replace+0x648/0x8c0 net/ipv6/netfilter/ip6_tables.c:1102 do_replace net/ipv6/netfilter/ip6_tables.c:1157 [inline] do_ip6t_set_ctl+0x2e8/0x457 net/ipv6/netfilter/ip6_tables.c:1681 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x6f/0xc0 net/netfilter/nf_sockopt.c:115 ipv6_setsockopt net/ipv6/ipv6_sockglue.c:904 [inline] ipv6_setsockopt+0x145/0x180 net/ipv6/ipv6_sockglue.c:888 tcp_setsockopt net/ipv4/tcp.c:3278 [inline] tcp_setsockopt+0x86/0xd0 net/ipv4/tcp.c:3272 __sys_setsockopt+0x248/0x480 net/socket.c:2127 __do_sys_setsockopt net/socket.c:2143 [inline] __se_sys_setsockopt net/socket.c:2140 [inline] __x64_sys_setsockopt+0xba/0x150 net/socket.c:2140 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x45f59a Code: 49 89 ca b8 37 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ca 8b fb ff c3 66 0f 1f 84 00 00 00 00 00 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 aa 8b fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007ffd2a804108 EFLAGS: 00000202 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007ffd2a804130 RCX: 000000000045f59a RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 000000000073fca0 R08: 00000000000003b8 R09: 0000000000004000 R10: 000000000073f640 R11: 0000000000000202 R12: 0000000000000003 R13: 0000000000000000 R14: 0000000000000029 R15: 000000000073f5e0 Modules linked in: ---[ end trace f8a5e6bddd3aad80 ]--- 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:ffffc90000007b00 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff8882151ec400 RCX: ffffffff86fe5333 RDX: 000000000000006a RSI: ffffffff86fe54a2 RDI: 0000000000000350 RBP: 0000000000000000 R08: ffff888085aba480 R09: ffffed1013d39a9d R10: ffff88809e9cd4e3 R11: ffffed1013d39a9c R12: ffff8882151ec400 R13: 0000000000000078 R14: ffff888090d692c0 R15: 0000000000000010 FS: 000000000125a940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000073f694 CR3: 0000000085abd000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400