syzbot


general protection fault in taprio_dequeue_soft (2)

Status: closed as invalid on 2022/01/07 18:56
Subsystems: net
[Documentation on labels]
First crash: 933d, last: 933d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in taprio_dequeue_soft net C done 2 1286d 1286d 19/27 fixed on 2021/03/10 01:49

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 9718 Comm: syz-executor.5 Not tainted 5.16.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:taprio_dequeue_soft+0x1fb/0xa20 net/sched/sch_taprio.c:579
Code: 24 18 e8 e8 df 18 fa 48 8b 44 24 10 80 38 00 0f 85 7b 07 00 00 48 8b 93 c0 02 00 00 49 63 c5 4c 8d 24 c2 4c 89 e0 48 c1 e8 03 <80> 3c 28 00 0f 85 4f 07 00 00 4d 8b 24 24 4d 85 e4 0f 84 51 03 00
RSP: 0000:ffffc90000dc0e00 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff8881443b1800 RCX: 0000000000000100
RDX: 0000000000000000 RSI: ffffffff875ecad8 RDI: 0000000000000003
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff875eca94 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffff8880221b6000 R15: 000000000000b911
FS:  00005555568a7400(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8a294f7770 CR3: 000000007f8db000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 dequeue_skb net/sched/sch_generic.c:292 [inline]
 qdisc_restart net/sched/sch_generic.c:397 [inline]
 __qdisc_run+0x1ae/0x1700 net/sched/sch_generic.c:415
 qdisc_run include/net/pkt_sched.h:132 [inline]
 qdisc_run include/net/pkt_sched.h:129 [inline]
 net_tx_action+0x790/0xd20 net/core/dev.c:5066
 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558
 invoke_softirq kernel/softirq.c:432 [inline]
 __irq_exit_rcu+0x123/0x180 kernel/softirq.c:636
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648
 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:do_user_addr_fault+0x5cb/0x11c0 arch/x86/mm/fault.c:1295
Code: ea 41 b8 01 00 00 00 48 89 ee 4c 89 e7 e8 fd ef ff ff e9 03 01 00 00 e8 f3 25 43 00 e8 3e 6a 49 00 fb c7 44 24 04 54 02 00 00 <e9> 00 fc ff ff e8 db 25 43 00 4c 89 e9 4c 89 e2 be 01 00 00 00 bf
RSP: 0000:ffffc9000b037eb8 EFLAGS: 00000206
RAX: 000000000000060f RBX: 0000000000000003 RCX: 1ffffffff1b22051
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000007 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff817def48 R11: 0000000000000000 R12: ffffc9000b037f58
R13: 00007f8a294f7770 R14: 00007f8a294f7770 R15: ffff888073f1aa00
 handle_page_fault arch/x86/mm/fault.c:1485 [inline]
 exc_page_fault+0x9e/0x180 arch/x86/mm/fault.c:1541
 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:568
RIP: 0033:0x7f8a2939dd60
Code: 75 c8 48 89 d8 eb 0c 0f 1f 00 48 8b 78 f8 48 3b 38 74 21 48 89 c2 48 83 c0 08 49 39 c4 75 eb e9 ff fe ff ff 66 0f 1f 44 00 00 <47> 89 44 95 00 e9 b3 fe ff ff 49 39 d4 74 73 48 8d 72 10 4c 39 e6
RSP: 002b:00007f8a29a36ac0 EFLAGS: 00010246
RAX: 000000004132a1dc RBX: 00007f8a29167008 RCX: 0000001b2e020000
RDX: 0000001b2e020018 RSI: ffffffff819be8b6 RDI: 0000000000000000
RBP: 0000000000000001 R08: 000000004132a1dc R09: 00007f8a29507068
R10: 00000000000001dc R11: 000000004132a1e0 R12: 0000000000000000
R13: 00007f8a294f7000 R14: ffffffff819be8b6 R15: 00007f8a29502ff0
 </TASK>
Modules linked in:
---[ end trace b0b707e173025425 ]---
RIP: 0010:taprio_dequeue_soft+0x1fb/0xa20 net/sched/sch_taprio.c:579
Code: 24 18 e8 e8 df 18 fa 48 8b 44 24 10 80 38 00 0f 85 7b 07 00 00 48 8b 93 c0 02 00 00 49 63 c5 4c 8d 24 c2 4c 89 e0 48 c1 e8 03 <80> 3c 28 00 0f 85 4f 07 00 00 4d 8b 24 24 4d 85 e4 0f 84 51 03 00
RSP: 0000:ffffc90000dc0e00 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff8881443b1800 RCX: 0000000000000100
RDX: 0000000000000000 RSI: ffffffff875ecad8 RDI: 0000000000000003
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff875eca94 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffff8880221b6000 R15: 000000000000b911
FS:  00005555568a7400(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8a294f7770 CR3: 000000007f8db000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	24 18                	and    $0x18,%al
   2:	e8 e8 df 18 fa       	callq  0xfa18dfef
   7:	48 8b 44 24 10       	mov    0x10(%rsp),%rax
   c:	80 38 00             	cmpb   $0x0,(%rax)
   f:	0f 85 7b 07 00 00    	jne    0x790
  15:	48 8b 93 c0 02 00 00 	mov    0x2c0(%rbx),%rdx
  1c:	49 63 c5             	movslq %r13d,%rax
  1f:	4c 8d 24 c2          	lea    (%rdx,%rax,8),%r12
  23:	4c 89 e0             	mov    %r12,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	80 3c 28 00          	cmpb   $0x0,(%rax,%rbp,1) <-- trapping instruction
  2e:	0f 85 4f 07 00 00    	jne    0x783
  34:	4d 8b 24 24          	mov    (%r12),%r12
  38:	4d 85 e4             	test   %r12,%r12
  3b:	0f                   	.byte 0xf
  3c:	84 51 03             	test   %dl,0x3(%rcx)

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/12/03 15:45 upstream 5f58da2befa5 c7c20675 .config console log report info ci-upstream-kasan-gce general protection fault in taprio_dequeue_soft
* Struck through repros no longer work on HEAD.