general protection fault, probably for non-canonical address 0xdffffc0000000182: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000c10-0x0000000000000c17] CPU: 1 PID: 10942 Comm: syz-executor.5 Not tainted 5.15.0-rc3-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 59 52 8a be b1 02 00 00 48 c7 c2 80 59 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:ffffc90000dc0b30 EFLAGS: 00010206 RAX: 0000000000000182 RBX: 0000000000000c10 RCX: ffff88807bb19c80 RDX: 0000000000000102 RSI: 0000000000000004 RDI: ffff8880b9d32508 RBP: 0000000000000037 R08: dffffc0000000000 R09: ffffed10173a64a2 R10: ffffed10173a64a2 R11: 0000000000000000 R12: ffff888086150000 R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000555555c98400(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff808262e02 CR3: 0000000020058000 CR4: 00000000003506e0 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:instrument_atomic_read include/linux/instrumented.h:71 [inline] RIP: 0010:atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline] RIP: 0010:queued_spin_is_contended include/asm-generic/qspinlock.h:54 [inline] RIP: 0010:spin_is_contended include/linux/spinlock.h:461 [inline] RIP: 0010:spin_needbreak include/linux/sched.h:2082 [inline] RIP: 0010:copy_pte_range+0x4f0/0x30b0 mm/memory.c:1041 Code: 84 c0 0f 85 e1 12 00 00 8b 1b bf 00 01 00 00 89 de e8 84 09 c6 ff 81 fb 00 01 00 00 0f 83 4f 23 00 00 48 8b 9c 24 c0 00 00 00 <48> 89 df be 04 00 00 00 e8 d3 62 11 00 48 89 d8 48 c1 e8 03 48 b9 RSP: 0018:ffffc900044cf4c0 EFLAGS: 00000283 RAX: 0000000000000000 RBX: ffff888018614000 RCX: dffffc0000000000 RDX: ffff88807bb19c80 RSI: 0000000000000001 RDI: 0000000000000100 RBP: ffffc900044cf710 R08: ffffffff81bc706c R09: ffffed100e6ab9d5 R10: ffffed100e6ab9d5 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88807b15aaa0 R14: 8000000021245007 R15: 0000000000000000 copy_pmd_range mm/memory.c:1156 [inline] copy_pud_range mm/memory.c:1193 [inline] copy_p4d_range mm/memory.c:1217 [inline] copy_page_range+0xce6/0x1140 mm/memory.c:1290 dup_mmap+0xa87/0xfd0 kernel/fork.c:610 dup_mm+0x8c/0x310 kernel/fork.c:1453 copy_mm kernel/fork.c:1505 [inline] copy_process+0x28d7/0x5c80 kernel/fork.c:2194 kernel_clone+0x230/0x7d0 kernel/fork.c:2584 __do_sys_clone kernel/fork.c:2701 [inline] __se_sys_clone kernel/fork.c:2685 [inline] __x64_sys_clone+0x245/0x2b0 kernel/fork.c:2685 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:0x7fa62ae14cfb Code: ed 0f 85 60 01 00 00 64 4c 8b 0c 25 10 00 00 00 45 31 c0 4d 8d 91 d0 02 00 00 31 d2 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 89 00 00 00 41 89 c5 85 c0 0f 85 90 00 00 RSP: 002b:00007ffe7cdac4b0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa62ae14cfb RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000555555c98400 R10: 0000555555c986d0 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000001 R14: 0000000000000001 R15: 00007ffe7cdac590 Modules linked in: ---[ end trace 13a5e9d6494314e2 ]--- 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 59 52 8a be b1 02 00 00 48 c7 c2 80 59 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:ffffc90000dc0b30 EFLAGS: 00010206 RAX: 0000000000000182 RBX: 0000000000000c10 RCX: ffff88807bb19c80 RDX: 0000000000000102 RSI: 0000000000000004 RDI: ffff8880b9d32508 RBP: 0000000000000037 R08: dffffc0000000000 R09: ffffed10173a64a2 R10: ffffed10173a64a2 R11: 0000000000000000 R12: ffff888086150000 R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000555555c98400(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff808262e02 CR3: 0000000020058000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 48 c7 c7 40 59 52 8a mov $0xffffffff8a525940,%rdi 7: be b1 02 00 00 mov $0x2b1,%esi c: 48 c7 c2 80 59 52 8a mov $0xffffffff8a525980,%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