------------[ cut here ]------------
WARNING: CPU: 1 PID: 12023 at net/ipv4/af_inet.c:157 inet_sock_destruct+0x64d/0x740
Modules linked in:
CPU: 1 PID: 12023 Comm: syz-executor Not tainted 5.15.168-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:inet_sock_destruct+0x64d/0x740 net/ipv4/af_inet.c:157
Code: 01 e8 f7 b8 99 f8 0f 0b e9 61 fe ff ff e8 eb b8 99 f8 0f 0b e9 96 fe ff ff e8 df b8 99 f8 0f 0b e9 be fe ff ff e8 d3 b8 99 f8 <0f> 0b e9 e6 fe ff ff 89 d9 80 e1 07 fe c1 38 c1 0f 8c 5b fd ff ff
RSP: 0018:ffffc90000dd0b68 EFLAGS: 00010246
RAX: ffffffff88e6ba5d RBX: 0000000000000100 RCX: ffff888029453b80
RDX: 0000000000000100 RSI: 0000000000000100 RDI: 0000000000000000
RBP: 0000000000000007 R08: ffffffff88e6b93d R09: ffffed100a7d1ea8
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888053e8f2c0
R13: ffff888053e8f7c8 R14: dffffc0000000000 R15: ffff888053e8f2d2
FS: 000055555f4b0500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdc5f1dd130 CR3: 000000005355e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__sk_destruct+0x54/0x840 net/core/sock.c:1955
rcu_do_batch kernel/rcu/tree.c:2523 [inline]
rcu_core+0xa15/0x1650 kernel/rcu/tree.c:2763
handle_softirqs+0x3a7/0x930 kernel/softirq.c:558
__do_softirq kernel/softirq.c:592 [inline]
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x157/0x240 kernel/softirq.c:641
irq_exit_rcu+0x5/0x20 kernel/softirq.c:653
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1096
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:lock_acquire+0x252/0x4f0 kernel/locking/lockdep.c:5627
Code: 2b 00 74 08 4c 89 f7 e8 0c 7e 67 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25
RSP: 0018:ffffc90003fb7960 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff920007f6f38 RCX: 1ffff920007f6ed8
RDX: dffffc0000000000 RSI: ffffffff8a8b3d20 RDI: ffffffff8ad90280
RBP: ffffc90003fb7ac0 R08: dffffc0000000000 R09: fffffbfff20ec628
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920007f6f34
R13: dffffc0000000000 R14: ffffc90003fb79c0 R15: 0000000000000246
rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312
srcu_read_lock include/linux/srcu.h:164 [inline]
tomoyo_read_lock security/tomoyo/common.h:1111 [inline]
tomoyo_path_perm+0x26b/0x6b0 security/tomoyo/file.c:821
tomoyo_path_symlink+0xda/0x110 security/tomoyo/tomoyo.c:199
security_path_symlink+0xd9/0x130 security/security.c:1179
do_symlinkat+0x129/0x600 fs/namei.c:4453
__do_sys_symlinkat fs/namei.c:4475 [inline]
__se_sys_symlinkat fs/namei.c:4472 [inline]
__x64_sys_symlinkat+0x95/0xa0 fs/namei.c:4472
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fdc5f253577
Code: 73 01 c3 48 c7 c1 a8 ff ff ff 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 b8 0a 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc584c7a18 EFLAGS: 00000202 ORIG_RAX: 000000000000010a
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fdc5f253577
RDX: 00007fdc5f2c79a9 RSI: 00000000ffffff9c RDI: 00007fdc5f2c6659
RBP: 00007ffc584c7a4c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000032
R13: 00000000000e0569 R14: 00000000000e055c R15: 00007ffc584c7aa0
----------------
Code disassembly (best guess):
0: 2b 00 sub (%rax),%eax
2: 74 08 je 0xc
4: 4c 89 f7 mov %r14,%rdi
7: e8 0c 7e 67 00 call 0x677e18
c: f6 44 24 61 02 testb $0x2,0x61(%rsp)
11: 0f 85 84 01 00 00 jne 0x19b
17: 41 f7 c7 00 02 00 00 test $0x200,%r15d
1e: 74 01 je 0x21
20: fb sti
21: 48 c7 44 24 40 0e 36 movq $0x45e0360e,0x40(%rsp)
28: e0 45
* 2a: 4b c7 44 25 00 00 00 movq $0x0,0x0(%r13,%r12,1) <-- trapping instruction
31: 00 00
33: 43 c7 44 25 09 00 00 movl $0x0,0x9(%r13,%r12,1)
3a: 00 00
3c: 43 rex.XB
3d: c7 .byte 0xc7
3e: 44 rex.R
3f: 25 .byte 0x25