syzbot


WARNING in skb_try_coalesce

Status: internal: reported C repro on 2021/02/28 22:43
Reported-by: syzbot+@syzkaller.appspotmail.com
Fix commit: 763087dab975 net: add skb_set_end_offset() helper
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386 ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu2-riscv64]
First crash: 485d, last: 31d

Cause bisection: failed (bisect log)
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 WARNING in skb_try_coalesce C 106 938d 1173d 0/3 public: reported C repro on 2019/04/13 00:00
android-44 WARNING in skb_try_coalesce C 6 975d 1173d 0/2 public: reported C repro on 2019/04/13 00:00

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 19 at net/core/skbuff.c:5295 skb_try_coalesce+0x1235/0x1560 net/core/skbuff.c:5295
Modules linked in:
CPU: 1 PID: 19 Comm: ksoftirqd/1 Not tainted 5.17.0-rc8-syzkaller-00077-g14702b3b2438 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
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 92 47 4f fa 8b 44 24 20 83 e8 01 0f 85 e5 f0 ff ff e9 87 f4 ff ff e8 fb 43 4f fa <0f> 0b e9 06 f9 ff ff e8 7f bd 96 fa e9 69 f0 ff ff e8 65 bd 96 fa
RSP: 0018:ffffc90000d97570 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000ffffff38 RCX: 0000000000000100
RDX: ffff8880119e5700 RSI: ffffffff87297c35 RDI: 0000000000000003
RBP: ffff88806bf49640 R08: 00000000ffffff38 R09: 0000000000000000
R10: ffffffff87297539 R11: 0000000000000000 R12: ffff88806cf4d268
R13: ffff888078396ac0 R14: ffff88807cd630c0 R15: 00000000000000b8
FS:  0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020002000 CR3: 000000006ba3c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 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
 run_ksoftirqd kernel/softirq.c:921 [inline]
 run_ksoftirqd+0x2d/0x60 kernel/softirq.c:913
 smpboot_thread_fn+0x645/0x9c0 kernel/smpboot.c:164
 kthread+0x2e9/0x3a0 kernel/kthread.c:377
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>

Crashes (1521):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2022/03/20 17:47 upstream 14702b3b2438 e2d91b1d .config log report syz C WARNING in skb_try_coalesce
ci-upstream-kasan-gce 2022/02/20 04:54 upstream 4f12b742eb2b 3cd800e4 .config log report syz C WARNING in skb_try_coalesce
ci-upstream-kasan-gce-smack-root 2021/03/22 06:03 upstream 5ee96fa9dd78 bea32f74 .config log report syz WARNING in skb_try_coalesce
ci-upstream-net-this-kasan-gce 2022/01/24 07:14 net afa114d987c4 214351e1 .config log report syz WARNING in skb_try_coalesce
ci-upstream-kasan-gce 2022/03/24 23:35 upstream ed4643521e6a 89bc8608 .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream 2022/03/24 08:02 upstream 40037e4f8b2f 5ff41e94 .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream 2022/03/23 19:32 upstream 6b1f86f8e9c7 5ff41e94 .config log report info WARNING in skb_try_coalesce
ci-upstream-kasan-gce 2022/03/21 11:17 upstream f443e374ae13 e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-upstream-kasan-gce-smack-root 2022/03/21 00:04 upstream f443e374ae13 e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream 2022/03/20 22:34 upstream 14702b3b2438 e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream 2022/03/20 03:22 upstream 97e9c8eb4bb1 e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-upstream-kasan-gce-root 2022/03/19 23:48 upstream 97e9c8eb4bb1 e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream 2022/03/19 06:29 upstream 34e047aa16c0 e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-upstream-kasan-gce-root 2022/03/18 07:26 upstream 551acdc3c3d2 e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream 2022/03/18 05:19 upstream 551acdc3c3d2 e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-upstream-kasan-gce-selinux-root 2022/03/17 20:31 upstream 56e337f2cf13 e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-upstream-kasan-gce-smack-root 2022/03/17 17:00 upstream 56e337f2cf13 e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream 2022/03/17 07:45 upstream 56e337f2cf13 dfa9a8ed .config log report info WARNING in skb_try_coalesce
ci-upstream-kasan-gce 2022/03/17 06:23 upstream 56e337f2cf13 dfa9a8ed .config log report info WARNING in skb_try_coalesce
ci-upstream-kasan-gce-root 2021/02/28 22:42 upstream cd278456d4ca 4c37c133 .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/05/25 13:51 upstream fdaf9a5840ac 3037caa9 .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/24 21:51 upstream ed4643521e6a 89bc8608 .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/24 18:22 upstream ed4643521e6a 89bc8608 .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/24 16:36 upstream ed4643521e6a 89bc8608 .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/24 15:20 upstream ed4643521e6a 89bc8608 .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/24 13:55 upstream ed4643521e6a 89bc8608 .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/24 03:06 upstream 40037e4f8b2f 5ff41e94 .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/23 21:28 upstream 6b1f86f8e9c7 5ff41e94 .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/23 20:18 upstream 6b1f86f8e9c7 5ff41e94 .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/23 17:11 upstream 6b1f86f8e9c7 5ff41e94 .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/23 05:43 upstream 519129040766 5ff41e94 .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/23 02:52 upstream 519129040766 5ff41e94 .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/23 01:00 upstream 519129040766 5ff41e94 .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/22 17:46 upstream b47d5a4f6b8d d88ef0c5 .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/22 16:15 upstream b47d5a4f6b8d d88ef0c5 .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/22 06:15 upstream eaa54b1458ca e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/21 17:28 upstream f443e374ae13 e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/21 13:56 upstream f443e374ae13 e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/21 04:26 upstream f443e374ae13 e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/21 03:11 upstream f443e374ae13 e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/19 21:02 upstream 97e9c8eb4bb1 e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/19 08:52 upstream 34e047aa16c0 e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/19 02:57 upstream 34e047aa16c0 e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/19 01:38 upstream 34e047aa16c0 e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/18 10:34 upstream 551acdc3c3d2 e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/17 18:07 upstream 56e337f2cf13 e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/17 15:25 upstream 56e337f2cf13 dfa9a8ed .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/17 11:30 upstream 56e337f2cf13 dfa9a8ed .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/17 10:17 upstream 56e337f2cf13 dfa9a8ed .config log report info WARNING in skb_try_coalesce
ci-qemu-upstream-386 2022/03/17 08:49 upstream 56e337f2cf13 dfa9a8ed .config log report info WARNING in skb_try_coalesce
ci-upstream-kasan-gce-386 2022/03/16 05:35 upstream 56e337f2cf13 9e8eaa75 .config log report info WARNING in skb_try_coalesce
ci-upstream-net-this-kasan-gce 2022/03/23 08:10 net 6a7d8cff4a33 5ff41e94 .config log report info WARNING in skb_try_coalesce
ci-upstream-net-this-kasan-gce 2022/03/18 22:09 net 6bd0c76bd704 e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-upstream-net-this-kasan-gce 2022/03/18 12:12 net 551acdc3c3d2 e2d91b1d .config log report info WARNING in skb_try_coalesce
ci-upstream-net-kasan-gce 2022/02/20 12:04 net-next 48c77bdf729a 3cd800e4 .config log report info WARNING in skb_try_coalesce
ci-upstream-bpf-next-kasan-gce 2021/11/02 15:20 bpf-next 8a33dcc2f6d5 098b5d53 .config log report info WARNING in skb_try_coalesce
ci-upstream-linux-next-kasan-gce-root 2022/05/28 12:34 linux-next d3fde8ff50ab a46af346 .config log report info WARNING in skb_try_coalesce