------------[ cut here ]------------
WARNING: CPU: 1 PID: 3003 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x6e7/0x7f0
Modules linked in:
CPU: 1 PID: 3003 Comm: udevd Not tainted 6.1.101-syzkaller-00106-gc18e82d3ee44 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:inet_sock_destruct+0x6e7/0x7f0 net/ipv4/af_inet.c:154
Code: ff ff e8 4c 1a 6e f8 0f 0b e9 21 fe ff ff e8 40 1a 6e f8 0f 0b 41 80 3c 2c 00 0f 85 4c fe ff ff e9 4f fe ff ff e8 29 1a 6e 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: ffffffff891c8167 RBX: 0000000000000100 RCX: ffff88807c76bb80
RDX: 0000000080000101 RSI: 0000000000000100 RDI: 0000000000000000
RBP: ffff88807fbdbfc0 R08: ffffffff891c801c R09: ffffed100ff7b847
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100ff7b7fd
R13: ffff88807fbdc4a8 R14: ffff88807fbdbfe8 R15: ffff88807fbdbfd2
FS: 00007f40ad360c80(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc280600020 CR3: 0000000027d0b000 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:2296 [inline]
rcu_core+0xad5/0x1810 kernel/rcu/tree.c:2556
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
sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5666
Code: 2b 00 74 08 4c 89 f7 e8 3f b5 77 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:ffffc9000319fb40 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff92000633f74 RCX: 1ffff92000633f14
RDX: dffffc0000000000 RSI: ffffffff8aec13e0 RDI: ffffffff8b3d5b20
RBP: ffffc9000319fc88 R08: dffffc0000000000 R09: fffffbfff2093a45
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000633f70
R13: dffffc0000000000 R14: ffffc9000319fba0 R15: 0000000000000246
rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
rcu_read_lock_sched include/linux/rcupdate.h:883 [inline]
pfn_valid include/linux/mmzone.h:1857 [inline]
__virt_addr_valid+0x19c/0x530 arch/x86/mm/physaddr.c:65
check_heap_object mm/usercopy.c:188 [inline]
__check_object_size+0x108/0xa30 mm/usercopy.c:250
check_object_size include/linux/thread_info.h:199 [inline]
check_copy_size include/linux/thread_info.h:235 [inline]
copy_to_user include/linux/uaccess.h:168 [inline]
readlink_copy fs/namei.c:5088 [inline]
vfs_readlink+0x1ce/0x400 fs/namei.c:5129
do_readlinkat+0x27f/0x3a0 fs/stat.c:480
__do_sys_readlink fs/stat.c:501 [inline]
__se_sys_readlink fs/stat.c:498 [inline]
__x64_sys_readlink+0x7b/0x90 fs/stat.c:498
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:0x7f40acf17d47
Code: 73 01 c3 48 8b 0d e1 90 0d 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 b8 59 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b1 90 0d 00 f7 d8 64 89 01 48
RSP: 002b:00007ffcf6617718 EFLAGS: 00000206 ORIG_RAX: 0000000000000059
RAX: ffffffffffffffda RBX: 00007ffcf6617f48 RCX: 00007f40acf17d47
RDX: 0000000000000200 RSI: 00007ffcf6617728 RDI: 00007ffcf6617928
RBP: 000055d60532a910 R08: 0000000000000000 R09: 00007ffcf6617098
R10: 00007ffcf6743080 R11: 0000000000000206 R12: 00007ffcf6617728
R13: 00007ffcf6617928 R14: 0000000000000000 R15: 0000000000000000
----------------
Code disassembly (best guess):
0: 2b 00 sub (%rax),%eax
2: 74 08 je 0xc
4: 4c 89 f7 mov %r14,%rdi
7: e8 3f b5 77 00 call 0x77b54b
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