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: 15601 Comm: syz-executor.2 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 include/linux/percpu-refcount.h:338 [inline] RIP: 0010:cgroup_bpf_put include/linux/cgroup.h:926 [inline] RIP: 0010:cgroup_sk_free+0x8d/0x570 kernel/cgroup/cgroup.c:6613 Code: 0e 06 00 40 84 ed 5a 0f 84 42 01 00 00 e8 0b 08 06 00 4c 8d ab 10 0c 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 <80> 3c 02 00 0f 85 6f 04 00 00 48 8b ab 10 0c 00 00 31 ff 49 89 ec RSP: 0000:ffffc90000007c38 EFLAGS: 00010216 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000100 RDX: 0000000000000182 RSI: ffffffff816ff365 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff816ff356 R11: 0000000000000000 R12: ffff888075991000 R13: 0000000000000c10 R14: ffffffff8d0d0dcc R15: 0000000000000000 FS: 00005555556eb400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000200 CR3: 000000007677f000 CR4: 0000000000350ef0 Call Trace: sk_prot_free net/core/sock.c:1852 [inline] __sk_destruct+0x579/0x900 net/core/sock.c:1943 sk_destruct+0xbd/0xe0 net/core/sock.c:1958 __sk_free+0xef/0x3d0 net/core/sock.c:1969 sk_free+0x78/0xa0 net/core/sock.c:1980 sock_put include/net/sock.h:1816 [inline] nr_heartbeat_expiry+0x2e7/0x460 net/netrom/nr_timer.c:148 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers.part.0+0x675/0xa20 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:clear_subpage+0x4/0x100 mm/memory.c:5336 Code: fe ff ff 4c 89 e7 e8 1b 37 12 00 e9 76 ff ff ff e8 11 37 12 00 eb d4 4c 89 e7 e8 07 37 12 00 eb ab 0f 1f 44 00 00 55 48 63 ee <53> 48 c1 e5 06 48 89 d3 e8 9f e7 ca ff bf 01 00 00 00 48 01 eb e8 RSP: 0000:ffffc90002ecfc10 EFLAGS: 00000206 RAX: 0000000000000000 RBX: 000000000000014a RCX: 0000000000000001 RDX: ffffea0002b00000 RSI: 000000000000014a RDI: 000000002014a000 RBP: 000000000000014a R08: 0000000000000000 R09: ffffffff8fcfb957 R10: ffffffff81ad2004 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000020000000 R14: 0000000000000000 R15: 0000000000000000 process_huge_page mm/memory.c:5293 [inline] clear_huge_page+0xb7/0x5c0 mm/memory.c:5353 __do_huge_pmd_anonymous_page mm/huge_memory.c:620 [inline] do_huge_pmd_anonymous_page+0x7a5/0x2810 mm/huge_memory.c:783 create_huge_pmd mm/memory.c:4430 [inline] __handle_mm_fault+0x2c14/0x5320 mm/memory.c:4665 handle_mm_fault+0x1c8/0x790 mm/memory.c:4792 do_user_addr_fault+0x48b/0x11c0 arch/x86/mm/fault.c:1397 handle_page_fault arch/x86/mm/fault.c:1485 [inline] exc_page_fault+0x9e/0x180 arch/x86/mm/fault.c:1541 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:568 RIP: 0033:0x7ff0aed0bd5a Code: 30 48 8b 34 24 48 85 f6 74 17 8b 44 24 18 0f c8 89 c0 48 89 44 24 18 48 83 fe 01 0f 85 a1 01 00 00 48 8b 44 24 10 8b 74 24 18 <89> 30 e9 d2 fc ff ff 48 8b 44 24 10 8b 10 48 8b 04 24 48 85 c0 0f RSP: 002b:00007fffe26d1f10 EFLAGS: 00010246 RAX: 0000000020000200 RBX: 00007ff0af273000 RCX: 0000000000000000 RDX: 5cdcaba572805a42 RSI: 000000000000000c RDI: 00005555556eb2f0 RBP: 00007fffe26d2008 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000004 R11: 000000000001189a R12: 0000000000000001 R13: 0000000000000000 R14: 00007ff0aee6ef60 R15: 000000000005984b Modules linked in: ---[ end trace 503d718fe0d1be5b ]--- 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 include/linux/percpu-refcount.h:338 [inline] RIP: 0010:cgroup_bpf_put include/linux/cgroup.h:926 [inline] RIP: 0010:cgroup_sk_free+0x8d/0x570 kernel/cgroup/cgroup.c:6613 Code: 0e 06 00 40 84 ed 5a 0f 84 42 01 00 00 e8 0b 08 06 00 4c 8d ab 10 0c 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 <80> 3c 02 00 0f 85 6f 04 00 00 48 8b ab 10 0c 00 00 31 ff 49 89 ec RSP: 0000:ffffc90000007c38 EFLAGS: 00010216 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000100 RDX: 0000000000000182 RSI: ffffffff816ff365 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff816ff356 R11: 0000000000000000 R12: ffff888075991000 R13: 0000000000000c10 R14: ffffffff8d0d0dcc R15: 0000000000000000 FS: 00005555556eb400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000200 CR3: 000000007677f000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 00 40 84 add %al,-0x7c(%rax) 3: ed in (%dx),%eax 4: 5a pop %rdx 5: 0f 84 42 01 00 00 je 0x14d b: e8 0b 08 06 00 callq 0x6081b 10: 4c 8d ab 10 0c 00 00 lea 0xc10(%rbx),%r13 17: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1e: fc ff df 21: 4c 89 ea mov %r13,%rdx 24: 48 c1 ea 03 shr $0x3,%rdx * 28: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2c: 0f 85 6f 04 00 00 jne 0x4a1 32: 48 8b ab 10 0c 00 00 mov 0xc10(%rbx),%rbp 39: 31 ff xor %edi,%edi 3b: 49 89 ec mov %rbp,%r12