syzbot


general protection fault in fq_codel_enqueue (2)

Status: closed as invalid on 2021/10/07 21:22
First crash: 1330d, last: 930d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in sysfs_warn_dup (log)
Repro: C syz .config
  
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in fq_codel_enqueue (3) net C inconclusive 5 657d 903d 22/26 fixed on 2023/02/24 13:50
linux-4.19 general protection fault in fq_codel_enqueue C done 5 1428d 1456d 1/1 fixed on 2020/06/21 14:03
linux-4.19 general protection fault in fq_codel_enqueue (2) C error 14 598d 1330d 0/1 upstream: reported C repro on 2020/08/28 22:42
android-5-15 general protection fault in fq_codel_enqueue 1 28d 28d 0/2 premoderation: reported on 2024/03/23 01:26
linux-4.14 general protection fault in fq_codel_enqueue C inconclusive 6 860d 1453d 0/1 upstream: reported C repro on 2020/04/27 21:56
upstream general protection fault in fq_codel_enqueue net C done 25 1377d 1461d 15/26 fixed on 2020/07/17 17:58
android-5-10 general protection fault in fq_codel_enqueue 1 632d 632d 0/2 auto-obsoleted due to no activity on 2022/10/25 22:19
Fix bisection attempts (6)
Created Duration User Patch Repo Result
2021/07/24 10:56 26m bisect fix net-old job log (0) log
2021/04/24 19:07 21m bisect fix net-old job log (0) log
2021/03/25 17:57 26m bisect fix net-old job log (0) log
2021/02/05 01:17 0m bisect fix upstream error job log (0)
2020/11/19 14:57 15m bisect fix upstream job log (0) log
2020/10/20 14:39 18m bisect fix upstream job log (0) log

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: 8419 Comm: syz-executor210 Not tainted 5.14.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:dequeue_head net/sched/sch_fq_codel.c:120 [inline]
RIP: 0010:fq_codel_drop net/sched/sch_fq_codel.c:168 [inline]
RIP: 0010:fq_codel_enqueue+0xcf0/0x1560 net/sched/sch_fq_codel.c:230
Code: 8b 84 24 88 00 00 00 42 80 3c 20 00 48 8b 5c 24 40 74 08 48 89 df e8 ef 53 a4 f9 44 89 74 24 20 4c 8b 2b 4d 89 ef 49 c1 ef 03 <43> 80 3c 27 00 74 08 4c 89 ef e8 d1 53 a4 f9 4d 8b 75 00 4c 89 e3
RSP: 0018:ffffc9000ac96f40 EFLAGS: 00010246
RAX: 1ffff11007604000 RBX: ffff88803b020000 RCX: ffff88803b020000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000ac970d0 R08: ffffffff88252d1b R09: fffffbfff1f5e7d2
R10: fffffbfff1f5e7d2 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000001954300(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f334775e6c0 CR3: 00000000345d7000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 dev_qdisc_enqueue net/core/dev.c:3854 [inline]
 __dev_xmit_skb net/core/dev.c:3938 [inline]
 __dev_queue_xmit+0xcaa/0x34b0 net/core/dev.c:4253
 __bpf_tx_skb net/core/filter.c:2113 [inline]
 __bpf_redirect_common net/core/filter.c:2152 [inline]
 __bpf_redirect+0x9a0/0xe00 net/core/filter.c:2159
 ____bpf_clone_redirect net/core/filter.c:2445 [inline]
 bpf_clone_redirect+0x243/0x350 net/core/filter.c:2417
 bpf_prog_cc75667d52cf7bb0+0x56/0x528
 bpf_dispatcher_nop_func include/linux/bpf.h:687 [inline]
 bpf_test_run+0x506/0xa60 net/bpf/test_run.c:118
 bpf_prog_test_run_skb+0xa45/0x1df0 net/bpf/test_run.c:657
 bpf_prog_test_run kernel/bpf/syscall.c:3207 [inline]
 __sys_bpf+0x5301/0x11d60 kernel/bpf/syscall.c:4487
 __do_sys_bpf kernel/bpf/syscall.c:4573 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:4571 [inline]
 __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4571
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x43f349
Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc0a371788 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 0000000000400488 RCX: 000000000043f349
RDX: 0000000000000048 RSI: 0000000020000140 RDI: 000000000000000a
RBP: 0000000000403330 R08: 0000000000400488 R09: 0000000000400488
R10: 0000000000400488 R11: 0000000000000246 R12: 00000000004033c0
R13: 0000000000000000 R14: 00000000004ad018 R15: 0000000000400488
Modules linked in:
---[ end trace 801b0b210233ddfe ]---
RIP: 0010:dequeue_head net/sched/sch_fq_codel.c:120 [inline]
RIP: 0010:fq_codel_drop net/sched/sch_fq_codel.c:168 [inline]
RIP: 0010:fq_codel_enqueue+0xcf0/0x1560 net/sched/sch_fq_codel.c:230
Code: 8b 84 24 88 00 00 00 42 80 3c 20 00 48 8b 5c 24 40 74 08 48 89 df e8 ef 53 a4 f9 44 89 74 24 20 4c 8b 2b 4d 89 ef 49 c1 ef 03 <43> 80 3c 27 00 74 08 4c 89 ef e8 d1 53 a4 f9 4d 8b 75 00 4c 89 e3
RSP: 0018:ffffc9000ac96f40 EFLAGS: 00010246
RAX: 1ffff11007604000 RBX: ffff88803b020000 RCX: ffff88803b020000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000ac970d0 R08: ffffffff88252d1b R09: fffffbfff1f5e7d2
R10: fffffbfff1f5e7d2 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000001954300(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f334775e6c0 CR3: 00000000345d7000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	8b 84 24 88 00 00 00 	mov    0x88(%rsp),%eax
   7:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1)
   c:	48 8b 5c 24 40       	mov    0x40(%rsp),%rbx
  11:	74 08                	je     0x1b
  13:	48 89 df             	mov    %rbx,%rdi
  16:	e8 ef 53 a4 f9       	callq  0xf9a4540a
  1b:	44 89 74 24 20       	mov    %r14d,0x20(%rsp)
  20:	4c 8b 2b             	mov    (%rbx),%r13
  23:	4d 89 ef             	mov    %r13,%r15
  26:	49 c1 ef 03          	shr    $0x3,%r15
* 2a:	43 80 3c 27 00       	cmpb   $0x0,(%r15,%r12,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 ef             	mov    %r13,%rdi
  34:	e8 d1 53 a4 f9       	callq  0xf9a4540a
  39:	4d 8b 75 00          	mov    0x0(%r13),%r14
  3d:	4c 89 e3             	mov    %r12,%rbx

Crashes (34):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/08/25 14:54 upstream 6e764bcd1cf7 b599f2fc .config console log report syz C ci-upstream-kasan-gce-smack-root general protection fault in fq_codel_enqueue
2021/08/17 14:18 upstream a2824f19e606 33c26cb7 .config console log report syz C ci-upstream-kasan-gce-root general protection fault in fq_codel_enqueue
2021/02/10 17:26 net-old b8776f14a470 2bd9619f .config console log report syz C ci-upstream-net-this-kasan-gce general protection fault in fq_codel_enqueue
2021/02/10 17:29 net-next-old de1db4a6ed62 2bd9619f .config console log report syz C ci-upstream-net-kasan-gce general protection fault in fq_codel_enqueue
2021/10/02 11:44 linux-next a25006a77348 db0f5787 .config console log report syz C ci-upstream-linux-next-kasan-gce-root general protection fault in fq_codel_enqueue
2020/08/30 02:53 upstream 4d41ead6ead9 d5a3ae1f .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/08/29 15:44 upstream 4d41ead6ead9 d5a3ae1f .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/08/29 15:12 upstream 4d41ead6ead9 d5a3ae1f .config console log report syz C ci-upstream-kasan-gce-root
2020/08/29 03:44 upstream 96d454cd2c16 d5a3ae1f .config console log report syz C ci-upstream-kasan-gce-386
2020/08/28 20:21 net-old 5438dd45831e d5a3ae1f .config console log report syz C ci-upstream-net-this-kasan-gce
2020/08/28 21:45 net-next-old 0baf01942d3d d5a3ae1f .config console log report syz C ci-upstream-net-kasan-gce
2020/08/30 11:19 linux-next b36c969764ab d5a3ae1f .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2021/09/18 09:07 upstream 4357f03d6611 70b76c1d .config console log report info ci-upstream-kasan-gce-root general protection fault in fq_codel_enqueue
2021/09/15 12:37 upstream 3ca706c189db 07e953c1 .config console log report info ci-upstream-kasan-gce-selinux-root general protection fault in fq_codel_enqueue
2021/09/12 21:51 upstream f306b90c69ce 5ae8508a .config console log report info ci-upstream-kasan-gce-selinux-root general protection fault in fq_codel_enqueue
2021/02/08 01:02 upstream b75dba7f472c 2ce644fc .config console log report info ci-upstream-kasan-gce-root general protection fault in fq_codel_enqueue
2021/05/17 10:22 upstream d07f6ca923ea a2eb125d .config console log report info ci-qemu-upstream-386 general protection fault in fq_codel_enqueue
2021/08/14 19:11 net-old 5f7735196390 2489ab88 .config console log report info ci-upstream-net-this-kasan-gce general protection fault in fq_codel_enqueue
2021/08/10 02:57 net-old d09c548dbf3b 6972b106 .config console log report info ci-upstream-net-this-kasan-gce general protection fault in fq_codel_enqueue
2021/08/06 09:47 net-old 902e7f373fff f9e341e3 .config console log report info ci-upstream-net-this-kasan-gce general protection fault in fq_codel_enqueue
2021/08/03 11:54 net-old 0541a6293298 6c236867 .config console log report info ci-upstream-net-this-kasan-gce general protection fault in fq_codel_enqueue
2021/07/31 23:05 net-old c7d102232649 6c236867 .config console log report info ci-upstream-net-this-kasan-gce general protection fault in fq_codel_enqueue
2021/07/27 22:32 net-old 8373cd38a888 17d6ab15 .config console log report info ci-upstream-net-this-kasan-gce general protection fault in fq_codel_enqueue
2021/06/24 10:05 net-old c2f5c57d99de ec865f6a .config console log report info ci-upstream-net-this-kasan-gce general protection fault in fq_codel_enqueue
2021/06/12 00:20 net-next-old 1f1aa3fe0214 1ba81399 .config console log report info ci-upstream-net-kasan-gce general protection fault in fq_codel_enqueue
2021/02/23 03:02 net-next-old d310ec03a34e c26fb06b .config console log report info ci-upstream-net-kasan-gce general protection fault in fq_codel_enqueue
2021/02/23 02:54 net-next-old d310ec03a34e c26fb06b .config console log report info ci-upstream-net-kasan-gce general protection fault in fq_codel_enqueue
2021/02/17 04:36 net-next-old 966df6ded24d 98682e5e .config console log report info ci-upstream-net-kasan-gce general protection fault in fq_codel_enqueue
2021/02/17 01:48 net-next-old 966df6ded24d 98682e5e .config console log report info ci-upstream-net-kasan-gce general protection fault in fq_codel_enqueue
2020/09/20 14:39 upstream 325d0eab4f31 9564d2e9 .config console log report info ci-upstream-kasan-gce
2020/09/18 14:09 upstream 10b82d517648 38962c8b .config console log report info ci-upstream-kasan-gce
2021/01/06 01:16 upstream 6207214a70bf b1c228e1 .config console log report info ci-upstream-kasan-gce-386
2021/01/04 14:50 net-next-old 3db1a3fa9880 79264ae3 .config console log report info ci-upstream-net-kasan-gce
2020/12/12 17:43 linux-next 14240d4c5b25 bca53db9 .config console log report info ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.