------------[ cut here ]------------
WARNING: CPU: 1 PID: 3863 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x6e7/0x7f0
Modules linked in:
CPU: 1 PID: 3863 Comm: udevd Tainted: G W 6.1.120-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:inet_sock_destruct+0x6e7/0x7f0 net/ipv4/af_inet.c:154
Code: ff ff e8 1c 46 69 f8 0f 0b e9 21 fe ff ff e8 10 46 69 f8 0f 0b 41 80 3c 2c 00 0f 85 4c fe ff ff e9 4f fe ff ff e8 f9 45 69 f8 <0f> 0b e9 bb fe ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 0e fc ff
RSP: 0018:ffffc900001e0b30 EFLAGS: 00010246
RAX: ffffffff89215677 RBX: 00000000ffffe300 RCX: ffff88807aebd940
RDX: 0000000000000100 RSI: 00000000ffffe300 RDI: 0000000000000000
RBP: ffff88801b72d940 R08: ffffffff8921552c R09: ffffed10036e5b77
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff110036e5b2d
R13: ffff88801b72de28 R14: ffff88801b72d968 R15: ffff88801b72d952
FS: 00007fcd74899c80(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055555ee58788 CR3: 0000000072466000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__sk_destruct+0x50/0x5f0 net/core/sock.c:2139
rcu_do_batch kernel/rcu/tree.c:2297 [inline]
rcu_core+0xade/0x1820 kernel/rcu/tree.c:2557
handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571
__do_softirq kernel/softirq.c:605 [inline]
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x157/0x240 kernel/softirq.c:654
irq_exit_rcu+0x5/0x20 kernel/softirq.c:666
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:tomoyo_path_matches_pattern+0x18f/0x270 security/tomoyo/util.c:956
Code: fe e8 b5 25 95 06 89 c3 31 ff 89 c6 e8 7a 94 94 fd 85 db 0f 94 c0 eb 0e e8 0e 91 94 fd eb 05 e8 07 91 94 fd 31 c0 48 83 c4 08 <5b> 41 5c 41 5d 41 5e 41 5f 5d c3 e8 f1 90 94 fd 4c 01 ed 4d 01 ef
RSP: 0018:ffffc900047bf8a8 EFLAGS: 00000282
RAX: 0000000000000000 RBX: 0000000038ef4bba RCX: ffff88807aebd940
RDX: 0000000000000000 RSI: 0000000038ef4bba RDI: 000000009a683f6e
RBP: 000000009a683f6e R08: ffffffff83f60b36 R09: ffffffff83f4d8f3
R10: 0000000000000003 R11: ffff88807aebd940 R12: ffffc900047bfb88
R13: 000000000000001e R14: dffffc0000000000 R15: ffff88807e61d928
tomoyo_compare_name_union security/tomoyo/file.c:87 [inline]
tomoyo_check_path_acl+0x110/0x1c0 security/tomoyo/file.c:260
tomoyo_check_acl+0x126/0x3e0 security/tomoyo/domain.c:175
tomoyo_path_permission+0x1af/0x360 security/tomoyo/file.c:586
tomoyo_path_perm+0x478/0x710 security/tomoyo/file.c:838
security_inode_getattr+0xcf/0x120 security/security.c:1361
vfs_getattr+0x26/0x360 fs/stat.c:158
vfs_statx+0x194/0x4b0 fs/stat.c:233
vfs_fstatat fs/stat.c:267 [inline]
__do_sys_newfstatat fs/stat.c:437 [inline]
__se_sys_newfstatat fs/stat.c:431 [inline]
__x64_sys_newfstatat+0x151/0x1e0 fs/stat.c:431
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fcd745165f4
Code: 64 c7 00 09 00 00 00 83 c8 ff c3 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 00 00 00 00 41 89 ca b8 06 01 00 00 0f 05 <45> 31 c0 3d 00 f0 ff ff 76 10 48 8b 15 03 a8 0d 00 f7 d8 41 83 c8
RSP: 002b:00007ffca11a6c38 EFLAGS: 00000206 ORIG_RAX: 0000000000000106
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fcd745165f4
RDX: 00007ffca11a6c78 RSI: 00007fcd745b3130 RDI: 0000000000000009
RBP: 0000560f0dc562c0 R08: 0000000000000000 R09: ffc1677426d0c046
R10: 0000000000001000 R11: 0000000000000206 R12: 0000000000000001
R13: 0000560f0dc6d3d0 R14: 0000000000000000 R15: 0000000000000001
----------------
Code disassembly (best guess), 1 bytes skipped:
0: e8 b5 25 95 06 call 0x69525ba
5: 89 c3 mov %eax,%ebx
7: 31 ff xor %edi,%edi
9: 89 c6 mov %eax,%esi
b: e8 7a 94 94 fd call 0xfd94948a
10: 85 db test %ebx,%ebx
12: 0f 94 c0 sete %al
15: eb 0e jmp 0x25
17: e8 0e 91 94 fd call 0xfd94912a
1c: eb 05 jmp 0x23
1e: e8 07 91 94 fd call 0xfd94912a
23: 31 c0 xor %eax,%eax
25: 48 83 c4 08 add $0x8,%rsp
* 29: 5b pop %rbx <-- trapping instruction
2a: 41 5c pop %r12
2c: 41 5d pop %r13
2e: 41 5e pop %r14
30: 41 5f pop %r15
32: 5d pop %rbp
33: c3 ret
34: e8 f1 90 94 fd call 0xfd94912a
39: 4c 01 ed add %r13,%rbp
3c: 4d 01 ef add %r13,%r15