syzbot


kernel BUG in netem_enqueue

Status: fixed on 2023/02/24 13:50
Subsystems: net
[Documentation on labels]
Fix commit: eeee4b77dc52 net: add more debug info in skb_checksum_help()
First crash: 890d, last: 665d
Similar bugs (26)
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 90 727d 1399d 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 1030d 1417d 20/28 fixed on 2022/03/08 16:11
linux-4.14 kernel BUG in validate_xmit_skb 1 1338d 1338d 0/1 auto-closed as invalid on 2021/06/10 04:03
upstream kernel BUG at net/core/dev.c:LINE! (2) net syz 2 2192d 2192d 11/28 fixed on 2018/10/18 14:43
linux-4.19 kernel BUG at net/core/dev.c:LINE! 4 1629d 1631d 0/1 auto-closed as invalid on 2020/08/23 07:17
upstream kernel BUG at net/core/dev.c:LINE! net C 5 2509d 2514d 3/28 fixed on 2017/12/08 02:32
linux-4.14 kernel BUG at net/core/dev.c:LINE! C inconclusive 3 1381d 1650d 1/1 fixed on 2021/01/17 13:53
upstream kernel BUG at net/core/dev.c:LINE! (3) net C done 979 1499d 1643d 15/28 fixed on 2020/09/16 22:51
android-44 kernel BUG at net/core/skbuff.c:LINE! C 79 1783d 2009d 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 494 773d 1992d 0/1 upstream: reported C repro on 2019/04/27 20:12
android-54 kernel BUG in pfkey_send_acquire C 278 697d 1362d 0/2 auto-obsoleted due to no activity on 2023/04/19 14:24
upstream kernel BUG at net/core/skbuff.c:LINE! (2) net C 562 2448d 2537d 4/28 fixed on 2018/01/29 03:39
android-5-10 kernel BUG in add_grec C error 83 927d 1001d 2/2 fixed on 2022/03/29 10:01
android-54 kernel BUG at net/core/skbuff.c:LINE! C 267 513d 1733d 0/2 auto-obsoleted due to no activity on 2023/08/22 15:17
android-414 kernel BUG at net/core/skbuff.c:LINE! C 2743 1772d 2009d 0/1 public: reported C repro on 2019/04/11 00:00
android-5-10 kernel BUG in add_grec (2) C error inconclusive 1039 687d 687d 2/2 fixed on 2023/02/24 12:10
android-5-10 kernel BUG in cdc_ncm_fill_tx_frame C error 40 1019d 1084d 1/2 fixed on 2021/12/29 12:20
upstream kernel BUG at net/core/skbuff.c:LINE! (3) C done 4399 1326d 2442d 19/28 fixed on 2021/03/10 01:48
upstream kernel BUG at net/core/skbuff.c:LINE! sctp 5 2543d 2613d 3/28 fixed on 2017/10/27 10:10
linux-4.19 kernel BUG in pfkey_send_acquire C done 56 1332d 1362d 1/1 fixed on 2021/03/18 08:30
linux-4.14 kernel BUG at net/core/skbuff.c:LINE! C 3066 588d 2008d 0/1 upstream: reported C repro on 2019/04/12 15:43
upstream kernel BUG in llc_sap_action_send_xid_c net C error 61 1066d 1280d 20/28 fixed on 2021/11/10 00:50
upstream kernel BUG in pskb_expand_head net C done 1600 609d 1060d 22/28 fixed on 2023/02/25 08:02
android-49 kernel BUG at net/core/skbuff.c:LINE! C 391 1772d 2008d 0/3 public: reported C repro on 2019/04/12 00:00
upstream kernel BUG in eth_header (2) net C 2 267d 267d 25/28 fixed on 2024/04/02 11:06
upstream kernel BUG in eth_header net 2 481d 483d 0/28 auto-obsoleted due to no activity on 2023/09/21 00:49

Sample crash report:
------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:1726!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.1.0-rc5-syzkaller-00008-ge01d50cbd6ee #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
RIP: 0010:skb_copy+0x344/0x3c0 net/core/skbuff.c:1726
Code: 89 e7 e8 3f fa ff ff e8 da f2 cd f9 4c 89 e0 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 c3 f2 cd f9 0f 0b e8 bc f2 cd f9 <0f> 0b e8 85 f3 19 fa e9 b4 fd ff ff e8 bb f3 19 fa e9 7b fd ff ff
RSP: 0018:ffffc90000737ff0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000fffffff2 RCX: 0000000000000100
RDX: ffff888012d061c0 RSI: ffffffff87b14964 RDI: 0000000000000005
RBP: ffff88801dcd3bc0 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000fffffff2 R11: 0000000000000000 R12: ffff88801e5cad00
R13: 0000000000008140 R14: ffff88804b460000 R15: 000000000000805e
FS:  0000000000000000(0000) GS:ffff88802c700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000000c28e000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 skb_unshare include/linux/skbuff.h:2004 [inline]
 netem_enqueue+0x2928/0x3550 net/sched/sch_netem.c:504
 netem_enqueue+0x2037/0x3550 net/sched/sch_netem.c:483
 dev_qdisc_enqueue+0x46/0x390 net/core/dev.c:3785
 __dev_xmit_skb net/core/dev.c:3874 [inline]
 __dev_queue_xmit+0x2279/0x3ba0 net/core/dev.c:4222
 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+0xfa3/0x1530 net/ipv6/ip6_output.c:134
 __ip6_finish_output net/ipv6/ip6_output.c:195 [inline]
 ip6_finish_output+0x694/0x1170 net/ipv6/ip6_output.c:206
 NF_HOOK_COND include/linux/netfilter.h:291 [inline]
 ip6_output+0x1f1/0x540 net/ipv6/ip6_output.c:227
 dst_output include/net/dst.h:445 [inline]
 NF_HOOK include/linux/netfilter.h:302 [inline]
 NF_HOOK include/linux/netfilter.h:296 [inline]
 ip6_xmit+0x11f7/0x1c60 net/ipv6/ip6_output.c:343
 inet6_csk_xmit+0x3b5/0x6d0 net/ipv6/inet6_connection_sock.c:135
 __tcp_transmit_skb+0x1967/0x3800 net/ipv4/tcp_output.c:1402
 tcp_transmit_skb net/ipv4/tcp_output.c:1420 [inline]
 __tcp_retransmit_skb+0x5fc/0x29e0 net/ipv4/tcp_output.c:3244
 tcp_retransmit_skb+0x2e/0x360 net/ipv4/tcp_output.c:3267
 tcp_retransmit_timer+0xf5c/0x3410 net/ipv4/tcp_timer.c:537
 tcp_write_timer_handler net/ipv4/tcp_timer.c:620 [inline]
 tcp_write_timer_handler+0x4e2/0x9f0 net/ipv4/tcp_timer.c:594
 tcp_write_timer+0xa6/0x2b0 net/ipv4/tcp_timer.c:637
 call_timer_fn+0x1da/0x7c0 kernel/time/timer.c:1474
 expire_timers kernel/time/timer.c:1519 [inline]
 __run_timers.part.0+0x6a2/0xaf0 kernel/time/timer.c:1790
 __run_timers kernel/time/timer.c:1768 [inline]
 run_timer_softirq+0xb7/0x1d0 kernel/time/timer.c:1803
 __do_softirq+0x1fb/0xadc kernel/softirq.c:571
 invoke_softirq kernel/softirq.c:445 [inline]
 __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
 irq_exit_rcu+0x9/0x20 kernel/softirq.c:662
 sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1107
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:default_idle+0xf/0x10 arch/x86/kernel/process.c:731
Code: e8 16 1e d7 f7 e9 8c fd ff ff 4c 89 f7 e8 09 1e d7 f7 e9 3a fd ff ff cc cc cc cc f3 0f 1e fa 66 90 0f 00 2d 83 58 52 00 fb f4 <c3> f3 0f 1e fa 41 54 be 08 00 00 00 53 65 48 8b 1c 25 c0 7f 02 00
RSP: 0018:ffffc9000066fdf8 EFLAGS: 00000246
RAX: 0000000000b011f5 RBX: ffff888012d061c0 RCX: ffffffff89f105e5
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: dffffc0000000000 R08: 0000000000000001 R09: ffff88802c735c8b
R10: ffffed10058e6b91 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000001 R14: ffffffff8e529ed0 R15: 0000000000000000
 default_idle_call+0x84/0xc0 kernel/sched/idle.c:109
 cpuidle_idle_call kernel/sched/idle.c:191 [inline]
 do_idle+0x410/0x590 kernel/sched/idle.c:303
 cpu_startup_entry+0x18/0x20 kernel/sched/idle.c:400
 start_secondary+0x256/0x300 arch/x86/kernel/smpboot.c:262
 secondary_startup_64_no_verify+0xce/0xdb
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:skb_copy+0x344/0x3c0 net/core/skbuff.c:1726
Code: 89 e7 e8 3f fa ff ff e8 da f2 cd f9 4c 89 e0 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 c3 f2 cd f9 0f 0b e8 bc f2 cd f9 <0f> 0b e8 85 f3 19 fa e9 b4 fd ff ff e8 bb f3 19 fa e9 7b fd ff ff
RSP: 0018:ffffc90000737ff0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000fffffff2 RCX: 0000000000000100
RDX: ffff888012d061c0 RSI: ffffffff87b14964 RDI: 0000000000000005
RBP: ffff88801dcd3bc0 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000fffffff2 R11: 0000000000000000 R12: ffff88801e5cad00
R13: 0000000000008140 R14: ffff88804b460000 R15: 000000000000805e
FS:  0000000000000000(0000) GS:ffff88802c700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000000c28e000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	e8 16 1e d7 f7       	callq  0xf7d71e1b
   5:	e9 8c fd ff ff       	jmpq   0xfffffd96
   a:	4c 89 f7             	mov    %r14,%rdi
   d:	e8 09 1e d7 f7       	callq  0xf7d71e1b
  12:	e9 3a fd ff ff       	jmpq   0xfffffd51
  17:	cc                   	int3
  18:	cc                   	int3
  19:	cc                   	int3
  1a:	cc                   	int3
  1b:	f3 0f 1e fa          	endbr64
  1f:	66 90                	xchg   %ax,%ax
  21:	0f 00 2d 83 58 52 00 	verw   0x525883(%rip)        # 0x5258ab
  28:	fb                   	sti
  29:	f4                   	hlt
* 2a:	c3                   	retq <-- trapping instruction
  2b:	f3 0f 1e fa          	endbr64
  2f:	41 54                	push   %r12
  31:	be 08 00 00 00       	mov    $0x8,%esi
  36:	53                   	push   %rbx
  37:	65 48 8b 1c 25 c0 7f 	mov    %gs:0x27fc0,%rbx
  3e:	02 00

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/15 17:13 upstream e01d50cbd6ee bfcab33d .config console log report info ci-qemu-upstream kernel BUG in netem_enqueue
2022/05/04 17:11 upstream 107c948d1d3e dc9e5259 .config console log report info ci-upstream-kasan-gce-smack-root kernel BUG in netem_enqueue
2022/06/10 06:00 upstream 3d9f55c57bc3 0d5abf15 .config console log report info ci-qemu-upstream-386 kernel BUG in netem_enqueue
2022/09/03 23:33 net-old d9c0103b9cb0 28811d0a .config console log report info ci-upstream-net-this-kasan-gce kernel BUG in netem_enqueue
2022/12/15 15:34 net-next-old 7e68dd7d07a2 6f9c033e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce kernel BUG in netem_enqueue
2022/07/13 09:26 upstream b047602d579b 5d921b08 .config console log report info ci-upstream-kasan-gce-smack-root kernel BUG in __skb_checksum
2022/09/26 04:03 net-next-old 9258b8b1be2e 0042f2b4 .config console log report info ci-upstream-net-kasan-gce kernel BUG in eth_header
2022/09/25 11:06 net-next-old 9258b8b1be2e 0042f2b4 .config console log report info ci-upstream-net-kasan-gce kernel BUG in eth_header
2022/09/22 11:27 net-next-old 6fb4825e492b 60af5050 .config console log report info ci-upstream-net-kasan-gce kernel BUG in eth_header
* Struck through repros no longer work on HEAD.