syzbot


kernel BUG in netem_enqueue

Status: internal: reported on 2022/05/04 17:12
Reported-by: syzbot+@syzkaller.appspotmail.com
Fix commit: eeee4b77dc52 net: add more debug info in skb_checksum_help()
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: 51d, last: 14d
similar bugs (24):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 kernel BUG at net/core/dev.c:LINE! (2) C error 87 7d14h 560d 0/1 upstream: reported C repro on 2020/12/11 13:29
upstream kernel BUG at net/core/dev.c:LINE! (4) C done done 432 191d 579d 22/22 fixed on 2022/03/08 16:11
linux-4.14 kernel BUG in validate_xmit_skb 1 499d 499d 0/1 auto-closed as invalid on 2021/06/10 04:03
upstream kernel BUG at net/core/dev.c:LINE! (2) syz 2 1353d 1353d 12/22 fixed on 2018/10/18 14:43
linux-4.19 kernel BUG at net/core/dev.c:LINE! 4 790d 793d 0/1 auto-closed as invalid on 2020/08/23 07:17
upstream kernel BUG at net/core/dev.c:LINE! C 5 1671d 1675d 3/22 fixed on 2017/12/08 02:32
linux-4.14 kernel BUG at net/core/dev.c:LINE! C inconclusive 3 542d 811d 1/1 fixed on 2021/01/17 13:53
upstream kernel BUG at net/core/dev.c:LINE! (3) C done 979 660d 804d 17/22 fixed on 2020/09/16 22:51
android-44 kernel BUG at net/core/skbuff.c:LINE! C 79 945d 1170d 0/2 public: reported C repro on 2019/04/11 08:44
linux-4.19 kernel BUG at net/core/skbuff.c:LINE! C unreliable 493 10d 1154d 0/1 upstream: reported C repro on 2019/04/27 20:12
android-54 kernel BUG in pfkey_send_acquire syz 32 495d 523d 0/2 upstream: reported syz repro on 2021/01/17 15:19
upstream kernel BUG at net/core/skbuff.c:LINE! (2) C 562 1609d 1698d 4/22 fixed on 2018/01/29 03:39
android-5-10 kernel BUG in add_grec C error 83 88d 162d 2/3 fixed on 2022/03/29 10:01
android-54 kernel BUG at net/core/skbuff.c:LINE! C 199 14h52m 894d 0/2 upstream: reported C repro on 2020/01/12 09:43
android-414 kernel BUG at net/core/skbuff.c:LINE! C 2743 933d 1171d 0/1 public: reported C repro on 2019/04/11 00:00
android-5-10 kernel BUG in add_grec (2) 339 3h25m 87d 0/3 premoderation: reported on 2022/03/29 11:58
android-5-10 kernel BUG in cdc_ncm_fill_tx_frame C error 40 180d 246d 1/3 fixed on 2021/12/29 12:20
upstream kernel BUG at net/core/skbuff.c:LINE! (3) C done 4399 487d 1604d 21/22 fixed on 2021/03/10 01:48
upstream kernel BUG at net/core/skbuff.c:LINE! 5 1704d 1775d 3/22 fixed on 2017/10/27 10:10
linux-4.19 kernel BUG in pfkey_send_acquire C done 56 494d 523d 1/1 fixed on 2021/03/18 08:30
linux-4.14 kernel BUG at net/core/skbuff.c:LINE! C 2861 11h57m 1169d 0/1 upstream: reported C repro on 2019/04/12 15:43
upstream kernel BUG in llc_sap_action_send_xid_c C error 61 227d 441d 22/22 fixed on 2021/11/10 00:50
upstream kernel BUG in pskb_expand_head C done 219 11m 221d 17/22 upstream: reported C repro on 2021/11/15 08:38
android-49 kernel BUG at net/core/skbuff.c:LINE! C 391 934d 1170d 0/3 public: reported C repro on 2019/04/12 00:00

Sample crash report:
------------[ cut here ]------------
kernel BUG at net/core/dev.c:3222!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5950 Comm: syz-executor.4 Not tainted 5.18.0-rc5-syzkaller-00016-g107c948d1d3e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:skb_checksum_help+0x59b/0x5a0 net/core/dev.c:3222
Code: c1 0f 8c 11 fe ff ff 4c 89 e7 e8 30 4c b5 f9 48 ba 00 00 00 00 00 fc ff df e9 fa fd ff ff e8 7c 65 64 f9 0f 0b e8 75 65 64 f9 <0f> 0b 0f 1f 00 41 57 41 56 41 55 41 54 53 49 89 fc 49 bd 00 00 00
RSP: 0018:ffffc900157374e8 EFLAGS: 00010287
RAX: ffffffff8821ad7b RBX: 00000000000000ae RCX: 0000000000040000
RDX: ffffc9000af3a000 RSI: 00000000000025d6 RDI: 00000000000025d7
RBP: 000000000000036e R08: ffffffff8821aab8 R09: fffff52002ae6e8e
R10: fffff52002ae6e8e R11: 1ffff92002ae6e8c R12: 000000000000036c
R13: 1ffff11003b8a2d6 R14: ffff88801dc51640 R15: 00000000671fe743
FS:  00007f3052b73700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020003000 CR3: 0000000074de4000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 netem_enqueue+0x2407/0x3670 net/sched/sch_netem.c:510
 netem_enqueue+0xf7e/0x3670 net/sched/sch_netem.c:483
 dev_qdisc_enqueue net/core/dev.c:3727 [inline]
 __dev_xmit_skb net/core/dev.c:3816 [inline]
 __dev_queue_xmit+0xd4f/0x3640 net/core/dev.c:4141
 packet_snd net/packet/af_packet.c:3063 [inline]
 packet_sendmsg+0x35ac/0x5010 net/packet/af_packet.c:3094
 sock_sendmsg_nosec net/socket.c:705 [inline]
 sock_sendmsg net/socket.c:725 [inline]
 __sys_sendto+0x42e/0x5b0 net/socket.c:2040
 __do_sys_sendto net/socket.c:2052 [inline]
 __se_sys_sendto net/socket.c:2048 [inline]
 __x64_sys_sendto+0xda/0xf0 net/socket.c:2048
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f3051a890e9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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:00007f3052b73168 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f3051b9bf60 RCX: 00007f3051a890e9
RDX: 0000000000003287 RSI: 0000000020000080 RDI: 0000000000000003
RBP: 00007f3051ae308d R08: 0000000000000000 R09: 00000000000002ff
R10: 0000000004000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcfae5244f R14: 00007f3052b73300 R15: 0000000000022000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:skb_checksum_help+0x59b/0x5a0 net/core/dev.c:3222
Code: c1 0f 8c 11 fe ff ff 4c 89 e7 e8 30 4c b5 f9 48 ba 00 00 00 00 00 fc ff df e9 fa fd ff ff e8 7c 65 64 f9 0f 0b e8 75 65 64 f9 <0f> 0b 0f 1f 00 41 57 41 56 41 55 41 54 53 49 89 fc 49 bd 00 00 00
RSP: 0018:ffffc900157374e8 EFLAGS: 00010287
RAX: ffffffff8821ad7b RBX: 00000000000000ae RCX: 0000000000040000
RDX: ffffc9000af3a000 RSI: 00000000000025d6 RDI: 00000000000025d7
RBP: 000000000000036e R08: ffffffff8821aab8 R09: fffff52002ae6e8e
R10: fffff52002ae6e8e R11: 1ffff92002ae6e8c R12: 000000000000036c
R13: 1ffff11003b8a2d6 R14: ffff88801dc51640 R15: 00000000671fe743
FS:  00007f3052b73700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020003000 CR3: 0000000074de4000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2022/05/04 17:11 upstream 107c948d1d3e dc9e5259 .config log report info kernel BUG in netem_enqueue
ci-qemu-upstream-386 2022/06/10 06:00 upstream 3d9f55c57bc3 0d5abf15 .config log report info kernel BUG in netem_enqueue