syzbot


WARNING in skb_checksum_help

Status: fixed on 2024/09/02 20:54
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+e1db31216c789f552871@syzkaller.appspotmail.com
Fix commit: 5b1997487a3f net: missing check virtio
First crash: 486d, last: 69d
Fix bisection: fixed by (bisect log) :
commit 5b1997487a3f3373b0f580c8a20b56c1b64b0775
Author: Denis Arefev <arefev@swemel.ru>
Date: Thu Jun 13 09:54:48 2024 +0000

  net: missing check virtio

  
Discussions (5)
Title Replies (including bot) Last reply
[PATCH 5.15 4/4] net: drop bad gso csum_start and offset in virtio_net_hdr 1 (1) 2024/09/09 18:22
[PATCH net v2] net: drop bad gso csum_start and offset in virtio_net_hdr 12 (12) 2024/09/09 10:13
[PATCH net] net: drop bad gso csum_start and offset in virtio_net_hdr 1 (1) 2024/07/26 02:32
Re: [PATCH net] virtio: fix GSO with frames unaligned to size 1 (1) 2024/07/25 21:02
[PATCH net] virtio: fix GSO with frames unaligned to size 1 (1) 2024/07/25 10:17
Bug presence (3)
Date Name Commit Repro Result
2024/07/19 linux-6.1.y (ToT) 9b3f9a5b12dc C [report] WARNING in skb_checksum_help
2023/06/08 upstream (ToT) 8d15d5e1851b C [report] WARNING in skb_checksum_help
2024/07/19 upstream (ToT) d7e78951a8b8 C Didn't crash
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in skb_checksum_help 1 1382d 1382d 0/1 auto-closed as invalid on 2021/04/23 19:06
linux-5.15 WARNING in skb_checksum_help origin:upstream missing-backport C done 3337 43d 486d 0/3 upstream: reported C repro on 2023/06/08 17:54
upstream WARNING in skb_checksum_help (2) net C done 3816 291d 381d 25/28 fixed on 2023/12/21 03:45
upstream WARNING in skb_checksum_help net 15 596d 768d 22/28 fixed on 2023/02/24 13:50

Sample crash report:
skb linear:   00000110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
skb linear:   00000120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
------------[ cut here ]------------
offset (29721) >= skb_headlen() (10613)
WARNING: CPU: 1 PID: 4223 at net/core/dev.c:3305 skb_checksum_help+0x55c/0x64c
Modules linked in:
CPU: 1 PID: 4223 Comm: syz-executor322 Not tainted 6.1.87-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
pstate: 60401005 (nZCv daif +PAN -UAO -TCO -DIT +SSBS BTYPE=--)
pc : skb_checksum_help+0x55c/0x64c
lr : skb_checksum_help+0x558/0x64c net/core/dev.c:3304
sp : ffff80001df06aa0
x29: ffff80001df06ac0 x28: 1fffe00018832c38 x27: dfff800000000000
x26: 0000000000002975 x25: 0000000000002975 x24: 0000000000007419
x23: ffff0000c4196218 x22: ffff0000c41961b0 x21: ffff0000c4196140
x20: 00000000ffffffea x19: 0000000000002975 x18: ffff80001df05e20
x17: 0000000000000000 x16: ffff80001215c9dc x15: 0000000000000000
x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : c23e06ae72d12b00
x8 : c23e06ae72d12b00 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff80001df06398 x4 : ffff800015932b00 x3 : ffff80000aa9158c
x2 : ffff0001b4378cd0 x1 : 0000000000000200 x0 : 0000000000000000
Call trace:
 skb_checksum_help+0x55c/0x64c
 ip_do_fragment+0x1bc/0x1b14 net/ipv4/ip_output.c:774
 ip_fragment+0x11c/0x308
 ip_finish_output_gso net/ipv4/ip_output.c:279 [inline]
 __ip_finish_output+0x280/0x458 net/ipv4/ip_output.c:301
 ip_finish_output+0x40/0x268 net/ipv4/ip_output.c:316
 NF_HOOK_COND include/linux/netfilter.h:291 [inline]
 ip_mc_output+0x56c/0x780 net/ipv4/ip_output.c:415
 dst_output include/net/dst.h:444 [inline]
 ip_local_out+0x120/0x160 net/ipv4/ip_output.c:126
 iptunnel_xmit+0x40c/0x8ec net/ipv4/ip_tunnel_core.c:82
 ip_tunnel_xmit+0x19a0/0x28bc net/ipv4/ip_tunnel.c:840
 __gre_xmit net/ipv4/ip_gre.c:474 [inline]
 ipgre_xmit+0x70c/0xab0 net/ipv4/ip_gre.c:669
 __netdev_start_xmit include/linux/netdevice.h:4853 [inline]
 netdev_start_xmit include/linux/netdevice.h:4867 [inline]
 xmit_one net/core/dev.c:3627 [inline]
 dev_hard_start_xmit+0x25c/0x9a4 net/core/dev.c:3643
 __dev_queue_xmit+0x186c/0x38d8 net/core/dev.c:4293
 dev_queue_xmit+0x24/0x34 include/linux/netdevice.h:3021
 packet_snd net/packet/af_packet.c:3077 [inline]
 packet_sendmsg+0x36f0/0x4cd8 net/packet/af_packet.c:3108
 sock_sendmsg_nosec net/socket.c:718 [inline]
 __sock_sendmsg net/socket.c:730 [inline]
 ____sys_sendmsg+0x55c/0x848 net/socket.c:2514
 ___sys_sendmsg net/socket.c:2568 [inline]
 __sys_sendmsg+0x26c/0x33c net/socket.c:2597
 __do_sys_sendmsg net/socket.c:2606 [inline]
 __se_sys_sendmsg net/socket.c:2604 [inline]
 __arm64_sys_sendmsg+0x80/0x94 net/socket.c:2604
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
irq event stamp: 130947
hardirqs last  enabled at (130946): [<ffff800008343d08>] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261
hardirqs last disabled at (130947): [<ffff800012158694>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (130524): [<ffff8000103c6b80>] spin_unlock_bh include/linux/spinlock.h:396 [inline]
softirqs last  enabled at (130524): [<ffff8000103c6b80>] release_sock+0x178/0x1cc net/core/sock.c:3510
softirqs last disabled at (130638): [<ffff8000104499bc>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---

Crashes (2523):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/18 06:09 linux-6.1.y 6741e066ec76 acc528cb .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2024/03/28 12:55 linux-6.1.y e5cd595e23c1 120789fd .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2024/03/06 07:41 linux-6.1.y a3eb3a74aa8c f39a7eed .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2024/01/26 23:04 linux-6.1.y 883d1a956208 cc4a4020 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2023/11/23 11:30 linux-6.1.y 69e434a1cb21 fc59b78e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2023/08/14 12:26 linux-6.1.y 1321ab403b38 39990d51 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2023/08/14 11:56 linux-6.1.y 1321ab403b38 39990d51 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2023/08/14 11:27 linux-6.1.y 1321ab403b38 39990d51 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2023/08/14 10:33 linux-6.1.y 1321ab403b38 39990d51 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2023/06/08 20:10 linux-6.1.y 76ba310227d2 058b3a5a .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2023/06/08 19:46 linux-6.1.y 76ba310227d2 058b3a5a .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2023/06/08 19:22 linux-6.1.y 76ba310227d2 058b3a5a .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2023/06/08 18:57 linux-6.1.y 76ba310227d2 058b3a5a .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2023/06/08 18:33 linux-6.1.y 76ba310227d2 058b3a5a .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2023/06/08 18:17 linux-6.1.y 76ba310227d2 058b3a5a .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/07/30 14:17 linux-6.1.y c1cec4dad96b 5187fc86 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/07/27 09:19 linux-6.1.y c18e82d3ee44 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/07/18 08:09 linux-6.1.y cac15753b8ce 0f902625 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/07/18 06:50 linux-6.1.y cac15753b8ce 0f902625 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/07/17 12:07 linux-6.1.y cac15753b8ce 215bec2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/07/05 18:11 linux-6.1.y 7753af06eebf 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/07/05 01:08 linux-6.1.y 99e6a620de00 3f2748a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/07/01 12:51 linux-6.1.y 99e6a620de00 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/07/01 04:37 linux-6.1.y 99e6a620de00 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/06/30 21:24 linux-6.1.y 99e6a620de00 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/06/30 19:53 linux-6.1.y 99e6a620de00 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/06/30 13:09 linux-6.1.y 99e6a620de00 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/06/29 19:35 linux-6.1.y 99e6a620de00 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/06/28 11:46 linux-6.1.y 99e6a620de00 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/06/28 11:46 linux-6.1.y 99e6a620de00 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/06/28 07:46 linux-6.1.y 99e6a620de00 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/06/28 06:35 linux-6.1.y 99e6a620de00 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/06/23 09:28 linux-6.1.y eb44d83053d6 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/06/23 08:25 linux-6.1.y eb44d83053d6 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/06/23 01:08 linux-6.1.y eb44d83053d6 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/06/22 22:56 linux-6.1.y eb44d83053d6 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/06/22 03:18 linux-6.1.y eb44d83053d6 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/06/21 11:42 linux-6.1.y eb44d83053d6 dac2aa43 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/06/20 03:53 linux-6.1.y eb44d83053d6 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
2024/07/30 12:32 linux-6.1.y c1cec4dad96b 5187fc86 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2024/07/30 12:31 linux-6.1.y c1cec4dad96b 5187fc86 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2024/07/18 10:58 linux-6.1.y cac15753b8ce 0f902625 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2024/07/14 15:02 linux-6.1.y 266ee8e06d5b eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2024/07/14 13:58 linux-6.1.y 266ee8e06d5b eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2024/07/05 20:12 linux-6.1.y 7753af06eebf 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2024/07/05 02:06 linux-6.1.y 99e6a620de00 3f2748a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2024/07/02 01:43 linux-6.1.y 99e6a620de00 b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2024/06/30 14:29 linux-6.1.y 99e6a620de00 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2024/06/28 04:43 linux-6.1.y 99e6a620de00 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2024/06/27 01:01 linux-6.1.y eb44d83053d6 c6d33a01 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2024/06/26 22:07 linux-6.1.y eb44d83053d6 c6d33a01 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2024/06/26 19:05 linux-6.1.y eb44d83053d6 c6d33a01 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2024/06/25 19:25 linux-6.1.y eb44d83053d6 04bd2a30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2024/06/25 19:25 linux-6.1.y eb44d83053d6 04bd2a30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2024/06/23 04:28 linux-6.1.y eb44d83053d6 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2024/06/22 21:25 linux-6.1.y eb44d83053d6 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2024/06/22 21:23 linux-6.1.y eb44d83053d6 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2024/06/22 13:39 linux-6.1.y eb44d83053d6 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2024/06/22 01:42 linux-6.1.y eb44d83053d6 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_checksum_help
2023/06/08 17:51 linux-6.1.y 76ba310227d2 058b3a5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_checksum_help
* Struck through repros no longer work on HEAD.