------------[ cut here ]------------
WARNING: CPU: 1 PID: 3664 at net/core/skbuff.c:5295 skb_try_coalesce+0x1235/0x1560 net/core/skbuff.c:5295
Modules linked in:
CPU: 1 PID: 3664 Comm: sshd Not tainted 5.17.0-syzkaller #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
RIP: 0010:skb_try_coalesce+0x1235/0x1560 net/core/skbuff.c:5295
Code: bf 01 00 00 00 0f b7 c0 89 c6 89 44 24 20 e8 d2 47 4f fa 8b 44 24 20 83 e8 01 0f 85 e5 f0 ff ff e9 87 f4 ff ff e8 3b 44 4f fa <0f> 0b e9 06 f9 ff ff e8 bf bd 96 fa e9 69 f0 ff ff e8 a5 bd 96 fa
RSP: 0018:ffffc900005086a0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000000037b0 RCX: 0000000000000100
RDX: ffff88801eb95700 RSI: ffffffff87297bf5 RDI: 0000000000000003
RBP: ffff88802256db80 R08: 00000000000037b0 R09: 0000000000000000
R10: ffffffff872974f9 R11: 0000000000000000 R12: ffff88802256de00
R13: ffff888021ea3ac0 R14: ffff888021ea42c0 R15: 0000000000003930
FS: 00007f595a112800(0000) GS:ffff88802cb00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f727911c020 CR3: 000000001b7ef000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
tcp_try_coalesce net/ipv4/tcp_input.c:4651 [inline]
tcp_try_coalesce+0x393/0x920 net/ipv4/tcp_input.c:4630
tcp_queue_rcv+0x8a/0x6e0 net/ipv4/tcp_input.c:4914
tcp_data_queue+0x11fd/0x4bb0 net/ipv4/tcp_input.c:5025
tcp_rcv_established+0x81e/0x1ff0 net/ipv4/tcp_input.c:5947
tcp_v4_do_rcv+0x65e/0x980 net/ipv4/tcp_ipv4.c:1719
tcp_v4_rcv+0x27d7/0x3170 net/ipv4/tcp_ipv4.c:2119
ip_protocol_deliver_rcu+0xa3/0xf30 net/ipv4/ip_input.c:204
ip_local_deliver_finish+0x20a/0x370 net/ipv4/ip_input.c:231
NF_HOOK include/linux/netfilter.h:307 [inline]
NF_HOOK include/linux/netfilter.h:301 [inline]
ip_local_deliver+0x1b3/0x200 net/ipv4/ip_input.c:252
dst_input include/net/dst.h:461 [inline]
ip_rcv_finish+0x1cb/0x2f0 net/ipv4/ip_input.c:429
NF_HOOK include/linux/netfilter.h:307 [inline]
NF_HOOK include/linux/netfilter.h:301 [inline]
ip_rcv+0xaa/0xd0 net/ipv4/ip_input.c:540
__netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5351
__netif_receive_skb+0x24/0x1b0 net/core/dev.c:5465
process_backlog+0x2a5/0x6c0 net/core/dev.c:5797
__napi_poll+0xb3/0x6e0 net/core/dev.c:6365
napi_poll net/core/dev.c:6432 [inline]
net_rx_action+0x801/0xb40 net/core/dev.c:6519
__do_softirq+0x29b/0x9c2 kernel/softirq.c:558
do_softirq.part.0+0xde/0x130 kernel/softirq.c:459
do_softirq kernel/softirq.c:451 [inline]
__local_bh_enable_ip+0x102/0x120 kernel/softirq.c:383
local_bh_enable include/linux/bottom_half.h:33 [inline]
rcu_read_unlock_bh include/linux/rcupdate.h:764 [inline]
ip_finish_output2+0x7d0/0x2170 net/ipv4/ip_output.c:229
__ip_finish_output net/ipv4/ip_output.c:306 [inline]
__ip_finish_output+0x396/0x650 net/ipv4/ip_output.c:288
ip_finish_output+0x32/0x200 net/ipv4/ip_output.c:316
NF_HOOK_COND include/linux/netfilter.h:296 [inline]
ip_output+0x196/0x310 net/ipv4/ip_output.c:430
dst_output include/net/dst.h:451 [inline]
ip_local_out net/ipv4/ip_output.c:126 [inline]
__ip_queue_xmit+0x8fe/0x1bb0 net/ipv4/ip_output.c:532
__tcp_transmit_skb+0x187d/0x3810 net/ipv4/tcp_output.c:1402
tcp_transmit_skb net/ipv4/tcp_output.c:1420 [inline]
__tcp_retransmit_skb+0x5f9/0x29b0 net/ipv4/tcp_output.c:3219
tcp_retransmit_skb+0x2a/0x360 net/ipv4/tcp_output.c:3242
tcp_xmit_retransmit_queue.part.0+0x3fa/0x990 net/ipv4/tcp_output.c:3324
tcp_xmit_retransmit_queue+0x57/0x70 net/ipv4/tcp_output.c:3278
tcp_xmit_recovery net/ipv4/tcp_input.c:3718 [inline]
tcp_xmit_recovery+0x86/0x180 net/ipv4/tcp_input.c:3704
tcp_ack+0x2781/0x5900 net/ipv4/tcp_input.c:3892
tcp_rcv_established+0x5d9/0x1ff0 net/ipv4/tcp_input.c:5938
tcp_v4_do_rcv+0x65e/0x980 net/ipv4/tcp_ipv4.c:1719
sk_backlog_rcv include/net/sock.h:1037 [inline]
__release_sock+0x134/0x3b0 net/core/sock.c:2779
release_sock+0x54/0x1b0 net/core/sock.c:3311
tcp_sendmsg+0x36/0x40 net/ipv4/tcp.c:1450
inet_sendmsg+0x99/0xe0 net/ipv4/af_inet.c:819
sock_sendmsg_nosec net/socket.c:705 [inline]
sock_sendmsg+0xcf/0x120 net/socket.c:725
sock_write_iter+0x289/0x3c0 net/socket.c:1061
call_write_iter include/linux/fs.h:2074 [inline]
new_sync_write+0x431/0x660 fs/read_write.c:503
vfs_write+0x7cd/0xae0 fs/read_write.c:590
ksys_write+0x1ee/0x250 fs/read_write.c:643
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f595a2629a3
Code: 8b 15 d9 f4 0c 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18
RSP: 002b:00007fff94e69788 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000561c611d1f20 RCX: 00007f595a2629a3
RDX: 00000000000005a0 RSI: 0000561c611f7dc0 RDI: 0000000000000007
RBP: 0000561c611d0f80 R08: 0000000000000000 R09: 00007fff94e97080
R10: 00007fff94e970f0 R11: 0000000000000246 R12: 00000000000000c4
R13: 00000000000005a0 R14: 0000561c611c16e0 R15: 0000561c611cbe40