------------[ cut here ]------------
WARNING: CPU: 0 PID: 319 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154
Modules linked in:
CPU: 0 PID: 319 Comm: syz-executor.1 Not tainted 6.4.0-rc3-syzkaller-00008-gae8373a5add4 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
RIP: 0010:inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154
Code: ff e8 75 9b e1 f8 0f 0b e9 07 fe ff ff e8 69 9b e1 f8 0f 0b e9 3f fe ff ff e8 5d 9b e1 f8 0f 0b e9 95 fd ff ff e8 51 9b e1 f8 <0f> 0b e9 9f fe ff ff e8 15 65 34 f9 e9 7a fc ff ff 4c 89 e7 e8 48
RSP: 0018:ffffc90000007c48 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000fffff000 RCX: 0000000000000100
RDX: ffff88800fe9c800 RSI: ffffffff88a2a77f RDI: 0000000000000005
RBP: ffff888061c672c0 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000fffff000 R11: 0000000000000001 R12: ffff888061c672e8
R13: ffff888061c67534 R14: ffff888061c67340 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff88802c600000(0063) knlGS:00000000f7fd9b40
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00000000f65ffba4 CR3: 000000004f723000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__sk_destruct+0x4d/0x770 net/core/sock.c:2130
sk_destruct net/core/sock.c:2178 [inline]
__sk_free+0x175/0x460 net/core/sock.c:2189
sk_free+0x7c/0xa0 net/core/sock.c:2200
sock_put include/net/sock.h:1968 [inline]
tcp_write_timer+0x24b/0x2b0 net/ipv4/tcp_timer.c:644
call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700
expire_timers+0x29b/0x4b0 kernel/time/timer.c:1751
__run_timers kernel/time/timer.c:2022 [inline]
__run_timers kernel/time/timer.c:1995 [inline]
run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035
__do_softirq+0x1d4/0x905 kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x114/0x190 kernel/softirq.c:650
irq_exit_rcu+0x9/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:lock_acquire+0x1f/0x520 kernel/locking/lockdep.c:5659
Code: 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 48 b8 00 00 00 00 00 fc ff df 41 57 41 89 f7 41 56 49 89 fe 41 55 41 89 d5 41 54 <41> 89 cc 55 44 89 c5 53 48 81 ec b0 00 00 00 48 8d 5c 24 10 4c 89
RSP: 0018:ffffc900076af1d0 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: ffff888042630000 RCX: 0000000000000002
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8c7990c0
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000094001 R12: 0000000000000000
R13: 0000000000000000 R14: ffffffff8c7990c0 R15: 0000000000000000
rcu_lock_acquire include/linux/rcupdate.h:327 [inline]
rcu_read_lock include/linux/rcupdate.h:773 [inline]
jbd2_write_access_granted+0x9d/0x3d0 fs/jbd2/transaction.c:1192
jbd2_journal_get_write_access+0xeb/0x190 fs/jbd2/transaction.c:1243
__ext4_journal_get_write_access+0x1ca/0x450 fs/ext4/ext4_jbd2.c:241
ext4_reserve_inode_write+0x18b/0x270 fs/ext4/inode.c:5713
__ext4_mark_inode_dirty+0x17a/0x800 fs/ext4/inode.c:5887
ext4_dirty_inode+0xdd/0x130 fs/ext4/inode.c:5924
__mark_inode_dirty+0x1e0/0xd60 fs/fs-writeback.c:2424
mark_inode_dirty include/linux/fs.h:2144 [inline]
generic_write_end+0x354/0x440 fs/buffer.c:2257
ext4_da_write_end+0x19b/0xad0 fs/ext4/inode.c:3012
generic_perform_write+0x316/0x570 mm/filemap.c:3934
ext4_buffered_write_iter+0x15b/0x460 fs/ext4/file.c:289
ext4_file_write_iter+0xbe0/0x1740 fs/ext4/file.c:710
call_write_iter include/linux/fs.h:1868 [inline]
do_iter_readv_writev+0x20b/0x3b0 fs/read_write.c:735
do_iter_write+0x185/0x7e0 fs/read_write.c:860
vfs_iter_write+0x74/0xa0 fs/read_write.c:901
iter_file_splice_write+0x743/0xc80 fs/splice.c:795
do_splice_from fs/splice.c:873 [inline]
direct_splice_actor+0x114/0x180 fs/splice.c:1039
splice_direct_to_actor+0x335/0x8a0 fs/splice.c:994
do_splice_direct+0x1ab/0x280 fs/splice.c:1082
do_sendfile+0xb19/0x12c0 fs/read_write.c:1254
__do_compat_sys_sendfile fs/read_write.c:1343 [inline]
__se_compat_sys_sendfile fs/read_write.c:1326 [inline]
__ia32_compat_sys_sendfile+0x1e1/0x220 fs/read_write.c:1326
do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline]
__do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178
do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203
entry_SYSENTER_compat_after_hwframe+0x70/0x82
RIP: 0023:0xf7fde579
Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
RSP: 002b:00000000f7fd95cc EFLAGS: 00000296 ORIG_RAX: 00000000000000bb
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000000006
RDX: 0000000000000000 RSI: 000000001d00c0d0 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
----------------
Code disassembly (best guess):
0: 2e 0f 1f 84 00 00 00 nopl %cs:0x0(%rax,%rax,1)
7: 00 00
9: 66 90 xchg %ax,%ax
b: f3 0f 1e fa endbr64
f: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
16: fc ff df
19: 41 57 push %r15
1b: 41 89 f7 mov %esi,%r15d
1e: 41 56 push %r14
20: 49 89 fe mov %rdi,%r14
23: 41 55 push %r13
25: 41 89 d5 mov %edx,%r13d
28: 41 54 push %r12
* 2a: 41 89 cc mov %ecx,%r12d <-- trapping instruction
2d: 55 push %rbp
2e: 44 89 c5 mov %r8d,%ebp
31: 53 push %rbx
32: 48 81 ec b0 00 00 00 sub $0xb0,%rsp
39: 48 8d 5c 24 10 lea 0x10(%rsp),%rbx
3e: 4c rex.WR
3f: 89 .byte 0x89