syzbot


general protection fault in qfq_reset_qdisc (2)

Status: auto-closed as invalid on 2021/07/26 19:48
Reported-by: syzbot+a18624cdd73fb19e5a38@syzkaller.appspotmail.com
First crash: 543d, last: 465d
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 general protection fault in qfq_reset_qdisc 1 873d 873d 0/1 auto-closed as invalid on 2020/06/13 20:08
upstream KASAN: use-after-free Read in qfq_reset_qdisc 1 170d 170d 0/22 closed as invalid on 2022/02/17 02:00

Sample crash report:
device veth0_macvtap left promiscuous mode
device veth1_vlan left promiscuous mode
device veth0_vlan left promiscuous mode
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 17342 Comm: kworker/u4:5 Not tainted 4.14.227-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
task: ffff888043ae64c0 task.stack: ffff88804aa48000
RIP: 0010:qfq_reset_qdisc+0x143/0x490 net/sched/sch_qfq.c:1463
RSP: 0018:ffff88804aa4f9b8 EFLAGS: 00010202
RAX: 00000000e0000013 RBX: ffff888099c66d80 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffff88809f429b00 RDI: 0000000700000099
RBP: dffffc0000000000 R08: ffff888043ae64c0 R09: dffffc0000000000
R10: 0000000000000000 R11: ffff888043ae64c0 R12: 0000000700000001
R13: ffff888099c66dc8 R14: ffffed1011eb0da0 R15: ffff88809f429b00
FS:  0000000000000000(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c034479000 CR3: 000000008f5c2000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 qdisc_destroy+0x104/0x310 net/sched/sch_generic.c:724
 dev_shutdown+0x27a/0x440 net/sched/sch_generic.c:1001
 rollback_registered_many+0x73a/0xba0 net/core/dev.c:7197
 unregister_netdevice_many.part.0+0x18/0x2e0 net/core/dev.c:8285
 unregister_netdevice_many net/core/dev.c:8284 [inline]
 default_device_exit_batch+0x2d8/0x380 net/core/dev.c:8746
 ops_exit_list+0xf9/0x150 net/core/net_namespace.c:145
 cleanup_net+0x3b3/0x840 net/core/net_namespace.c:484
 process_one_work+0x793/0x14a0 kernel/workqueue.c:2116
 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2250
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Code: a7 7a fb 4c 8d 6b 48 4c 89 e8 48 c1 e8 03 80 3c 28 00 0f 85 41 02 00 00 4c 8b 63 48 49 8d bc 24 98 00 00 00 48 89 f8 48 c1 e8 03 <0f> b6 04 28 84 c0 74 08 3c 03 0f 8e 35 02 00 00 41 8b 84 24 98 
RIP: qfq_reset_qdisc+0x143/0x490 net/sched/sch_qfq.c:1463 RSP: ffff88804aa4f9b8
---[ end trace bfccf403254a246f ]---

Crashes (2):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2021/03/28 19:47 linux-4.14.y 670d6552eda8 a8529b82 .config log report info general protection fault in qfq_reset_qdisc
ci2-linux-4-14 2021/01/10 14:41 linux-4.14.y ec822b3e8bf4 2c1f2513 .config log report info