syzbot


WARNING in skb_warn_bad_offload (3)

Status: fixed on 2023/02/24 13:50
Subsystems: net
[Documentation on labels]
Fix commit: 87445f369cca ipv6: ping: fix wrong checksum for large frames
First crash: 586d, last: 450d
Cause bisection: introduced by (bisect log) :
commit 47cf88993c910840d565631ad906abdca9168231
Author: Pavel Begunkov <asml.silence@gmail.com>
Date: Thu Aug 25 12:06:31 2022 +0000

  net: unify alloclen calculation for paged requests

Crash: WARNING in skb_warn_bad_offload (log)
Repro: C syz .config
  
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in skb_warn_bad_offload C inconclusive 81 745d 1606d 0/1 upstream: reported C repro on 2019/12/25 14:39
android-49 WARNING in skb_warn_bad_offload (3) C 2188 1627d 1864d 0/3 public: reported C repro on 2019/04/11 08:44
android-49 WARNING in skb_warn_bad_offload C 442 2384d 2491d 1/3 fixed on 2017/11/07 12:35
android-44 WARNING in skb_warn_bad_offload C 2265 1627d 1863d 0/2 public: reported C repro on 2019/04/12 00:00
upstream WARNING in skb_warn_bad_offload net C 6527 2266d 2390d 5/26 fixed on 2018/04/09 09:36
android-49 WARNING in skb_warn_bad_offload (2) C 2630 2215d 2384d 0/3 closed as invalid on 2018/04/25 20:49
upstream WARNING in skb_warn_bad_offload (4) net C done 1763 212d 239d 25/26 fixed on 2023/12/21 03:45
upstream WARNING in skb_warn_bad_offload (2) net C 6 2212d 2212d 8/26 fixed on 2018/07/09 18:05

Sample crash report:
skb frag:     000000b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
skb frag:     000000c0: 80 00 00 20 00 00 00 00 d8 ff 00 00 00 00 00 00
skb frag:     000000d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
skb frag:     000000e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
skb frag:     000000f0: 00 00 00 00 00 00 00 00 00 00
------------[ cut here ]------------
lo: caps=(0x00000516401d7c69, 0x00000516401d7c69)
WARNING: CPU: 0 PID: 3940 at net/core/dev.c:3239 skb_warn_bad_offload+0x119/0x230 net/core/dev.c:3239
Modules linked in:
CPU: 0 PID: 3940 Comm: syz-executor676 Not tainted 6.0.0-syzkaller-09589-g55be6084c8e0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
RIP: 0010:skb_warn_bad_offload+0x119/0x230 net/core/dev.c:3239
Code: 70 03 00 00 e8 d8 c1 24 fa 4c 8d a5 e8 00 00 00 e8 cc c1 24 fa 4c 89 e9 4c 89 e2 4c 89 f6 48 c7 c7 c0 63 f5 8a e8 c6 a5 e7 01 <0f> 0b 5b 5d 41 5c 41 5d 41 5e e9 a8 c1 24 fa e8 a3 c1 24 fa 48 89
RSP: 0018:ffffc9000a1af3e8 EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffff88807e25d700 RCX: 0000000000000000
RDX: ffff8880225d1d80 RSI: ffffffff81612e28 RDI: fffff52001435e6f
RBP: ffff88802724a000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000400 R11: 73706163203a6f6c R12: ffff88802724a0e8
R13: ffff88807e25da70 R14: ffff88802724a000 R15: 0000000000000000
FS:  000055555717c400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020010000 CR3: 000000007478c000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 gso_features_check net/core/dev.c:3521 [inline]
 netif_skb_features+0x83e/0xb90 net/core/dev.c:3554
 validate_xmit_skb+0x2b/0xf10 net/core/dev.c:3659
 __dev_queue_xmit+0x998/0x3ad0 net/core/dev.c:4248
 dev_queue_xmit include/linux/netdevice.h:3008 [inline]
 neigh_hh_output include/net/neighbour.h:530 [inline]
 neigh_output include/net/neighbour.h:544 [inline]
 ip6_finish_output2+0xf97/0x1520 net/ipv6/ip6_output.c:134
 __ip6_finish_output net/ipv6/ip6_output.c:195 [inline]
 ip6_finish_output+0x690/0x1160 net/ipv6/ip6_output.c:206
 NF_HOOK_COND include/linux/netfilter.h:291 [inline]
 ip6_output+0x1ed/0x540 net/ipv6/ip6_output.c:227
 dst_output include/net/dst.h:445 [inline]
 ip6_local_out+0xaf/0x1a0 net/ipv6/output_core.c:161
 ip6_send_skb+0xb7/0x340 net/ipv6/ip6_output.c:1966
 ip6_push_pending_frames+0xdd/0x100 net/ipv6/ip6_output.c:1986
 icmpv6_push_pending_frames+0x2af/0x490 net/ipv6/icmp.c:303
 ping_v6_sendmsg+0xc44/0x1190 net/ipv6/ping.c:190
 inet_sendmsg+0x99/0xe0 net/ipv4/af_inet.c:819
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:734
 ____sys_sendmsg+0x712/0x8c0 net/socket.c:2482
 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2536
 __sys_sendmsg+0xf3/0x1c0 net/socket.c:2565
 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+0x63/0xcd
RIP: 0033:0x7fcb8f152cb9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 41 16 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fffe9b23648 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fcb8f152cb9
RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000003
R10: 0000000000000003 R11: 0000000000000246 R12: 00007fffe9b23678
R13: 00007fffe9b23690 R14: 00007fffe9b236d0 R15: 0000000000000142
 </TASK>

Crashes (115):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/20 07:32 upstream 55be6084c8e0 b31320fc .config strace log report syz C [disk image] [vmlinux] ci-upstream-kasan-gce-root WARNING in skb_warn_bad_offload
2022/10/10 04:56 net-old 557f050166e5 aea5da89 .config strace log report syz C [disk image] [vmlinux] ci-upstream-net-this-kasan-gce WARNING in skb_warn_bad_offload
2022/10/10 07:04 net-next-old 0326074ff465 aea5da89 .config strace log report syz C [disk image] [vmlinux] ci-upstream-net-kasan-gce WARNING in skb_warn_bad_offload
2023/02/15 15:49 upstream e1c04510f521 6be0f1f5 .config console log report info ci-upstream-kasan-gce WARNING in skb_warn_bad_offload
2023/02/15 14:08 upstream e1c04510f521 6be0f1f5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in skb_warn_bad_offload
2023/02/15 10:58 upstream e1c04510f521 6be0f1f5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in skb_warn_bad_offload
2023/02/15 08:06 upstream e1c04510f521 1d6b4af7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in skb_warn_bad_offload
2023/02/15 06:55 upstream e1c04510f521 1d6b4af7 .config console log report info ci-upstream-kasan-gce WARNING in skb_warn_bad_offload
2023/02/09 22:16 upstream 35674e787518 07980f9d .config console log report info ci-upstream-kasan-gce WARNING in skb_warn_bad_offload
2023/02/07 20:29 upstream 513c1a3d3f19 15c3d445 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in skb_warn_bad_offload
2023/02/06 16:49 upstream d2d11f342b17 0a9c11b6 .config console log report info ci-upstream-kasan-gce WARNING in skb_warn_bad_offload
2023/02/03 11:24 upstream 66a87fff1a87 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in skb_warn_bad_offload
2023/02/02 10:08 upstream 9f266ccaa2f5 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in skb_warn_bad_offload
2023/01/29 19:05 upstream c96618275234 9dfcf09c .config console log report info ci-upstream-kasan-gce-root WARNING in skb_warn_bad_offload
2023/01/29 14:21 upstream c96618275234 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in skb_warn_bad_offload
2023/01/24 10:07 upstream 7bf70dbb1882 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in skb_warn_bad_offload
2023/01/21 16:34 upstream f883675bf652 559a440a .config console log report info ci-upstream-kasan-gce WARNING in skb_warn_bad_offload
2023/01/18 11:21 upstream c1649ec55708 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in skb_warn_bad_offload
2023/01/17 15:04 upstream d532dd102151 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in skb_warn_bad_offload
2023/01/15 13:18 upstream 7c6984405241 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in skb_warn_bad_offload
2023/01/13 16:03 upstream d863f0539b52 529798b0 .config console log report info ci-qemu-upstream WARNING in skb_warn_bad_offload
2023/01/09 15:08 upstream 1fe4fd6f5cad 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in skb_warn_bad_offload
2023/01/09 14:08 upstream 1fe4fd6f5cad 1dac8c7a .config console log report info ci-upstream-kasan-gce WARNING in skb_warn_bad_offload
2023/01/07 09:27 upstream a689b938df39 1dac8c7a .config console log report info ci-upstream-kasan-gce WARNING in skb_warn_bad_offload
2023/02/09 02:32 upstream 0983f6bf2bfc 14a312c8 .config console log report info ci-qemu-upstream-386 WARNING in skb_warn_bad_offload
2023/02/03 12:30 upstream 66a87fff1a87 16d19e30 .config console log report info ci-upstream-kasan-gce-386 WARNING in skb_warn_bad_offload
2023/02/23 13:55 net-old fd2a55e74a99 9e2ebb3c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in skb_warn_bad_offload
2023/02/21 16:39 net-old 3a70e0d4c9d7 f949448d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in skb_warn_bad_offload
2023/02/03 08:56 net-old edb9b8f380c3 16d19e30 .config console log report info ci-upstream-net-this-kasan-gce WARNING in skb_warn_bad_offload
2023/02/03 06:46 net-old edb9b8f380c3 16d19e30 .config console log report info ci-upstream-net-this-kasan-gce WARNING in skb_warn_bad_offload
2023/02/03 04:47 net-old 329c9cd769c2 16d19e30 .config console log report info ci-upstream-net-this-kasan-gce WARNING in skb_warn_bad_offload
2023/01/31 20:30 net-old de5ca4c3852f 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in skb_warn_bad_offload
2023/01/30 06:24 net-old a6efc42a86c0 9dfcf09c .config console log report info ci-upstream-net-this-kasan-gce WARNING in skb_warn_bad_offload
2023/01/27 04:55 net-old 7083df59abbc 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in skb_warn_bad_offload
2023/01/19 20:33 net-old 4fb58ac3368c 1b826a2f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in skb_warn_bad_offload
2023/01/08 05:10 net-old 571f3dd0d01b 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in skb_warn_bad_offload
2023/01/07 23:37 net-old b4e9b8763e41 1dac8c7a .config console log report info ci-upstream-net-this-kasan-gce WARNING in skb_warn_bad_offload
2022/10/09 23:56 net-old 557f050166e5 aea5da89 .config console log report info [disk image] [vmlinux] ci-upstream-net-this-kasan-gce WARNING in skb_warn_bad_offload
2023/02/10 01:19 net-next-old 0b34d68049b0 07980f9d .config console log report info ci-upstream-net-kasan-gce WARNING in skb_warn_bad_offload
2023/02/09 00:02 net-next-old ca8e4cbff6d5 fc9c934e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in skb_warn_bad_offload
2023/02/02 19:39 net-next-old 8b6f322e47ba 16d19e30 .config console log report info ci-upstream-net-kasan-gce WARNING in skb_warn_bad_offload
2023/02/02 02:15 net-next-old dd25cfab16e6 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in skb_warn_bad_offload
2023/02/02 01:13 net-next-old dd25cfab16e6 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in skb_warn_bad_offload
2023/01/27 01:33 net-next-old 9179f5fe4173 9dfcf09c .config console log report info ci-upstream-net-kasan-gce WARNING in skb_warn_bad_offload
2023/01/24 00:30 net-next-old 40e0b0908142 9dfcf09c .config console log report info ci-upstream-net-kasan-gce WARNING in skb_warn_bad_offload
2023/01/21 20:58 net-next-old a7b87d2a31dc 559a440a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in skb_warn_bad_offload
2023/01/15 07:14 net-next-old 298bfe27d112 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in skb_warn_bad_offload
2023/02/12 23:33 linux-next 38d2b86a665b 93e26d60 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in skb_warn_bad_offload
2023/01/07 09:23 linux-next cc3c08b41a9c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in skb_warn_bad_offload
2023/02/23 14:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a9b06ec42c0f 9e2ebb3c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_warn_bad_offload
2023/02/08 16:40 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci eaed33698e35 fc9c934e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_warn_bad_offload
2023/02/04 01:44 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ca72d58361ee 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_warn_bad_offload
2023/01/26 10:41 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2e84eedb182e 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_warn_bad_offload
2023/01/18 11:17 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9598c377d828 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_warn_bad_offload
2023/01/14 11:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9598c377d828 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_warn_bad_offload
2023/01/07 09:49 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ae87308093bc 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_warn_bad_offload
* Struck through repros no longer work on HEAD.