general protection fault, probably for non-canonical address 0xdffffc0000000182: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000c10-0x0000000000000c17] CPU: 0 PID: 21687 Comm: syz-executor.2 Not tainted 5.15.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__ref_is_percpu include/linux/percpu-refcount.h:174 [inline] RIP: 0010:percpu_ref_put_many include/linux/percpu-refcount.h:319 [inline] RIP: 0010:percpu_ref_put+0x93/0x1d0 include/linux/percpu-refcount.h:338 Code: 01 48 c7 c7 40 58 52 8a be b1 02 00 00 48 c7 c2 80 58 52 8a e8 de 18 e9 ff 49 bd 00 00 00 00 00 fc ff df 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 1e 75 52 00 48 8b 2b 48 89 ee 48 RSP: 0018:ffffc90000007b30 EFLAGS: 00010206 RAX: 0000000000000182 RBX: 0000000000000c10 RCX: ffff8880861d0000 RDX: 0000000000000100 RSI: 0000000000000004 RDI: ffff8880b9c32508 RBP: 0000000000000037 R08: dffffc0000000000 R09: ffffed10173864a2 R10: ffffed10173864a2 R11: 0000000000000000 R12: ffff888079c57000 R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f44b9fb7700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c01f5591c4 CR3: 000000005b86f000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cgroup_bpf_put include/linux/cgroup.h:926 [inline] cgroup_sk_free+0x3c/0xa0 kernel/cgroup/cgroup.c:6613 sk_prot_free net/core/sock.c:1852 [inline] __sk_destruct+0x541/0x820 net/core/sock.c:1943 call_timer_fn+0xf6/0x210 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers+0x71a/0x910 kernel/time/timer.c:1734 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1747 __do_softirq+0x392/0x7a3 kernel/softirq.c:558 __irq_exit_rcu+0xec/0x170 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:read_pnet include/net/net_namespace.h:327 [inline] RIP: 0010:dev_net include/linux/netdevice.h:2432 [inline] RIP: 0010:__mkroute_output net/ipv4/route.c:2498 [inline] RIP: 0010:ip_route_output_key_hash_rcu+0xcbf/0x2570 net/ipv4/route.c:2799 Code: 42 80 3c 38 00 74 0a e8 1f 6e 3f f9 48 8b 7c 24 10 48 89 6c 24 20 bb d8 05 00 00 48 03 1f 48 89 d8 48 c1 e8 03 42 80 3c 38 00 <74> 08 48 89 df e8 f7 6d 3f f9 bd b8 04 00 00 48 03 2b 48 89 e8 48 RSP: 0018:ffffc900119df020 EFLAGS: 00000246 RAX: 1ffff11003dfecbb RBX: ffff88801eff65d8 RCX: 0000000000040000 RDX: ffffc9000e398000 RSI: 000000000001eb3f RDI: ffff88801b7ff000 RBP: ffff88801eff6000 R08: ffffffff888e636e R09: ffffed10173864a2 R10: ffffed10173864a2 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8880202df600 R14: ffffc900119df120 R15: dffffc0000000000 ip_route_output_key_hash+0x1b7/0x300 net/ipv4/route.c:2627 __ip_route_output_key include/net/route.h:126 [inline] ip_route_output_flow+0x25/0x130 net/ipv4/route.c:2858 raw_sendmsg+0x12ad/0x38f0 net/ipv4/raw.c:644 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] kernel_sendmsg+0xf5/0x130 net/socket.c:744 sock_no_sendpage+0x155/0x1c0 net/core/sock.c:2980 kernel_sendpage+0x2ca/0x370 net/socket.c:3504 sock_sendpage+0x7e/0xb0 net/socket.c:1003 pipe_to_sendpage+0x258/0x340 fs/splice.c:364 splice_from_pipe_feed fs/splice.c:418 [inline] __splice_from_pipe+0x351/0x8b0 fs/splice.c:562 splice_from_pipe fs/splice.c:597 [inline] generic_splice_sendpage+0x181/0x210 fs/splice.c:746 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0xe6/0x1c0 fs/splice.c:936 splice_direct_to_actor+0x529/0xd00 fs/splice.c:891 do_splice_direct+0x291/0x3e0 fs/splice.c:979 do_sendfile+0x6fe/0x1040 fs/read_write.c:1249 __do_sys_sendfile64 fs/read_write.c:1314 [inline] __se_sys_sendfile64+0x171/0x1d0 fs/read_write.c:1300 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f44bca40709 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:00007f44b9fb7188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f44bcb44f60 RCX: 00007f44bca40709 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000006 RBP: 00007f44bca9acb4 R08: 0000000000000000 R09: 0000000000000000 R10: 4000000000000081 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe1d29d31f R14: 00007f44b9fb7300 R15: 0000000000022000 Modules linked in: ---[ end trace 88860d2a421532ad ]--- RIP: 0010:__ref_is_percpu include/linux/percpu-refcount.h:174 [inline] RIP: 0010:percpu_ref_put_many include/linux/percpu-refcount.h:319 [inline] RIP: 0010:percpu_ref_put+0x93/0x1d0 include/linux/percpu-refcount.h:338 Code: 01 48 c7 c7 40 58 52 8a be b1 02 00 00 48 c7 c2 80 58 52 8a e8 de 18 e9 ff 49 bd 00 00 00 00 00 fc ff df 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 1e 75 52 00 48 8b 2b 48 89 ee 48 RSP: 0018:ffffc90000007b30 EFLAGS: 00010206 RAX: 0000000000000182 RBX: 0000000000000c10 RCX: ffff8880861d0000 RDX: 0000000000000100 RSI: 0000000000000004 RDI: ffff8880b9c32508 RBP: 0000000000000037 R08: dffffc0000000000 R09: ffffed10173864a2 R10: ffffed10173864a2 R11: 0000000000000000 R12: ffff888079c57000 R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f44b9fb7700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c01f5591c4 CR3: 000000005b86f000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 48 c7 c7 40 58 52 8a mov $0xffffffff8a525840,%rdi 7: be b1 02 00 00 mov $0x2b1,%esi c: 48 c7 c2 80 58 52 8a mov $0xffffffff8a525880,%rdx 13: e8 de 18 e9 ff callq 0xffe918f6 18: 49 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%r13 1f: fc ff df 22: 48 89 d8 mov %rbx,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 48 89 df mov %rbx,%rdi 33: e8 1e 75 52 00 callq 0x527556 38: 48 8b 2b mov (%rbx),%rbp 3b: 48 89 ee mov %rbp,%rsi 3e: 48 rex.W