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: 11597 Comm: systemd-udevd 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: 0018:ffffc90000dc0c38 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: ffff8880814f9000
R13: 0000000000000c10 R14: ffffffff8d0d0dcc R15: 0000000000000000
FS: 00007ff26555c8c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd07fe7720 CR3: 0000000071a87000 CR4: 0000000000350ee0
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:check_kcov_mode kernel/kcov.c:163 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x1c/0x60 kernel/kcov.c:197
Code: 8b 45 00 48 63 c9 e9 64 ff ff ff 0f 1f 00 65 8b 05 89 f4 8b 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 40 f0 01 00 00 01 ff 00 74 0e 85 c9 74 35 8b 82 3c 15 00 00 85 c0 74 2b 8b
RSP: 0018:ffffc900122073c8 EFLAGS: 00000246
RAX: 0000000080000000 RBX: 0000000000000002 RCX: 0000000000000000
RDX: ffff888094288000 RSI: ffffffff83a21fea RDI: 0000000000000003
RBP: ffff88807b672480 R08: 0000000000000000 R09: 0000000000000002
R10: ffffffff83a21fd7 R11: 0000000000000010 R12: 0000000000000002
R13: 0000000000000320 R14: dffffc0000000000 R15: 0000000000000000
tomoyo_domain_quota_is_ok+0x31a/0x550 security/tomoyo/util.c:1092
tomoyo_supervisor+0x2f2/0xf00 security/tomoyo/common.c:2089
tomoyo_audit_path_number_log security/tomoyo/file.c:235 [inline]
tomoyo_path_number_perm+0x419/0x590 security/tomoyo/file.c:734
tomoyo_path_mknod+0x10d/0x190 security/tomoyo/tomoyo.c:239
security_path_mknod+0xf9/0x170 security/security.c:1132
may_o_create fs/namei.c:3103 [inline]
lookup_open.isra.0+0x475/0x13d0 fs/namei.c:3245
open_last_lookups fs/namei.c:3352 [inline]
path_openat+0x9a5/0x2740 fs/namei.c:3558
do_filp_open+0x1aa/0x400 fs/namei.c:3588
do_sys_openat2+0x16d/0x4d0 fs/open.c:1200
do_sys_open fs/open.c:1216 [inline]
__do_sys_open fs/open.c:1224 [inline]
__se_sys_open fs/open.c:1220 [inline]
__x64_sys_open+0x119/0x1c0 fs/open.c:1220
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7ff2643ce6f0
Code: 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 3d 19 30 2c 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 fe 9d 01 00 48 89 04 24
RSP: 002b:00007ffd07f23db8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff2643ce6f0
RDX: 0000000000000180 RSI: 00000000000800c2 RDI: 0000557e31c86930
RBP: 000000000003a2f8 R08: 0000000000008000 R09: 0000000037303a45
R10: 0000000000000000 R11: 0000000000000246 R12: 0000557e31c86959
R13: 8421084210842109 R14: 00000000000800c2 R15: 00007ff26445c540
Modules linked in:
---[ end trace a96bf8c8240de9b1 ]---
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: 0018:ffffc90000dc0c38 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: ffff8880814f9000
R13: 0000000000000c10 R14: ffffffff8d0d0dcc R15: 0000000000000000
FS: 00007ff26555c8c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd07fe7720 CR3: 0000000071a87000 CR4: 0000000000350ee0
----------------
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