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: 2967 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+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: ffff888078858000 RDX: 0000000080000100 RSI: 0000000000000004 RDI: ffff8880b9d32508 RBP: 0000000000000043 R08: dffffc0000000000 R09: ffffed10173a64a2 R10: ffffed10173a64a2 R11: 0000000000000000 R12: ffff8880857ee000 R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f650ac4e8c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563e0a18d1e0 CR3: 0000000078a58000 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:tomoyo_path_matches_pattern+0x46/0x260 security/tomoyo/util.c:941 Code: 50 8a a8 fd 4c 89 e0 48 c1 e8 03 42 80 3c 30 00 74 08 4c 89 e7 e8 1a e6 f3 fd 49 8b 2c 24 48 89 d8 48 c1 e8 03 42 80 3c 30 00 <74> 08 48 89 df e8 00 e6 f3 fd 48 89 2c 24 4c 8b 3b 48 8d 7b 0c 48 RSP: 0018:ffffc9000255f840 EFLAGS: 00000246 RAX: 1ffff110283b4e13 RBX: ffff888141da7098 RCX: ffff888078858000 RDX: 0000000000000000 RSI: ffff888141da7098 RDI: ffffc9000255fb00 RBP: ffff88801b219780 R08: ffffffff83d8a0a5 R09: ffffffff83d8b6c1 R10: 0000000000000003 R11: ffff888078858000 R12: ffffc9000255fb00 R13: ffffc9000255f9a0 R14: dffffc0000000000 R15: ffffc9000255fb00 tomoyo_compare_name_union security/tomoyo/file.c:87 [inline] tomoyo_check_path_acl+0x10e/0x1c0 security/tomoyo/file.c:260 tomoyo_check_acl+0x137/0x430 security/tomoyo/domain.c:175 tomoyo_path_permission+0x1af/0x370 security/tomoyo/file.c:586 tomoyo_path_perm+0x3dd/0x660 security/tomoyo/file.c:838 security_inode_getattr+0xc0/0x140 security/security.c:1333 vfs_getattr fs/stat.c:157 [inline] vfs_statx+0x168/0x3f0 fs/stat.c:225 vfs_fstatat fs/stat.c:243 [inline] vfs_lstat include/linux/fs.h:3356 [inline] __do_sys_newlstat fs/stat.c:398 [inline] __se_sys_newlstat+0xba/0x750 fs/stat.c:392 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:0x7f6509ac0335 Code: 69 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 48 89 f0 77 30 48 89 c7 48 89 d6 b8 06 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 03 f3 c3 90 48 8b 15 31 db 2b 00 f7 d8 64 89 RSP: 002b:00007ffc4df92b18 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 0000563e0a19c8a0 RCX: 00007f6509ac0335 RDX: 00007ffc4df92b50 RSI: 00007ffc4df92b50 RDI: 0000563e0a19b8a0 RBP: 00007ffc4df92c10 R08: 00007f6509d7f208 R09: 0000000000001010 R10: 00007f6509d7eb58 R11: 0000000000000246 R12: 0000563e0a19b8a0 R13: 0000563e0a19b8c6 R14: 0000563e0a1995a1 R15: 0000563e0a1995a6 Modules linked in: ---[ end trace 545171be4937f25a ]--- 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: ffff888078858000 RDX: 0000000080000100 RSI: 0000000000000004 RDI: ffff8880b9d32508 RBP: 0000000000000043 R08: dffffc0000000000 R09: ffffed10173a64a2 R10: ffffed10173a64a2 R11: 0000000000000000 R12: ffff8880857ee000 R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f650ac4e8c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563e0a18d1e0 CR3: 0000000078a58000 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