bisecting fixing commit since 811218eceeaa7618652e1b8d11caeff67ab42072 building syzkaller on 98682e5e2aefc9aad61354f4f3ac93be96002a2a testing commit 811218eceeaa7618652e1b8d11caeff67ab42072 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 39b54f198050efb3fdd55d156327d9a28bde1a4d912ceebf24ec3cff5b2d2e14 all runs: crashed: general protection fault in fq_codel_enqueue testing current HEAD b172b44fcb1771e083aad806fa96f3f60e2ddfac testing commit b172b44fcb1771e083aad806fa96f3f60e2ddfac compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: c5eeaf88a19ebb4dbfbefb8bcd2e553737a58b718ab25a9b4dbe6316d57b62fc all runs: crashed: general protection fault in fq_codel_enqueue revisions tested: 2, total time: 29m23.534429801s (build: 22m5.849801718s, test: 6m41.97001249s) the crash still happens on HEAD commit msg: Linux 4.19.206 crash: general protection fault in fq_codel_enqueue IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready 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 ieee80211 phy7: Selected rate control algorithm 'minstrel_ht' CPU: 0 PID: 9895 Comm: syz-executor.2 Not tainted 4.19.206-syzkaller #0 wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:dequeue_head net/sched/sch_fq_codel.c:126 [inline] RIP: 0010:fq_codel_drop net/sched/sch_fq_codel.c:174 [inline] RIP: 0010:fq_codel_enqueue+0x865/0x12e0 net/sched/sch_fq_codel.c:236 Code: 48 89 7c 24 48 eb 0b 44 39 7c 24 58 0f 86 bb 00 00 00 48 8b 7c 24 50 80 3f 00 0f 85 82 06 00 00 4c 8b 20 4c 89 e2 48 c1 ea 03 <80> 3c 0a 00 0f 85 64 05 00 00 49 8b 14 24 49 8d 7c 24 28 48 89 10 RSP: 0018:ffff88809d057540 EFLAGS: 00010246 RAX: ffff88809c5c0900 RBX: ffff88809a0aed80 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffed10138b8120 RBP: ffff88809d057630 R08: 0000000000000000 R09: 0000000000000000 ieee80211 phy8: Selected rate control algorithm 'minstrel_ht' R10: 0000000000000000 R11: ffff88809a0af068 R12: 0000000000000000 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 R13: 1ffff11013a0aeb4 R14: ffff88809d057780 R15: 0000000000000000 FS: 00007f3efa256700(0000) GS:ffff8880ba200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe3d58efd8 CR3: 0000000099142000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready __dev_xmit_skb net/core/dev.c:3494 [inline] __dev_queue_xmit+0x1098/0x2900 net/core/dev.c:3807 dev_queue_xmit+0xb/0x10 net/core/dev.c:3871 __bpf_tx_skb net/core/filter.c:2015 [inline] __bpf_redirect_common net/core/filter.c:2054 [inline] __bpf_redirect+0x619/0xb60 net/core/filter.c:2061 ____bpf_clone_redirect net/core/filter.c:2094 [inline] bpf_clone_redirect+0x29b/0x3f0 net/core/filter.c:2066 bpf_prog_cc75667d52cf7bb0+0xcf4/0x1000 bpf_test_run_one net/bpf/test_run.c:22 [inline] bpf_test_run+0xce/0x330 net/bpf/test_run.c:43 bpf_prog_test_run_skb+0x537/0xa90 net/bpf/test_run.c:147 bpf_prog_test_run kernel/bpf/syscall.c:1796 [inline] __do_sys_bpf kernel/bpf/syscall.c:2441 [inline] __se_sys_bpf+0x9af/0x2bf0 kernel/bpf/syscall.c:2384 __x64_sys_bpf+0x6e/0xb0 kernel/bpf/syscall.c:2384 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x465d99 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3efa256188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465d99 RDX: 0000000000000048 RSI: 0000000020000140 RDI: 000000000000000a RBP: 00000000004bcf27 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffe6d2a341f R14: 00007f3efa256300 R15: 0000000000022000 Modules linked in: ---[ end trace 3bc44ce1e2a4d3ad ]--- RIP: 0010:dequeue_head net/sched/sch_fq_codel.c:126 [inline] RIP: 0010:fq_codel_drop net/sched/sch_fq_codel.c:174 [inline] RIP: 0010:fq_codel_enqueue+0x865/0x12e0 net/sched/sch_fq_codel.c:236 Code: 48 89 7c 24 48 eb 0b 44 39 7c 24 58 0f 86 bb 00 00 00 48 8b 7c 24 50 80 3f 00 0f 85 82 06 00 00 4c 8b 20 4c 89 e2 48 c1 ea 03 <80> 3c 0a 00 0f 85 64 05 00 00 49 8b 14 24 49 8d 7c 24 28 48 89 10 RSP: 0018:ffff88809d057540 EFLAGS: 00010246 RAX: ffff88809c5c0900 RBX: ffff88809a0aed80 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffed10138b8120 RBP: ffff88809d057630 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: ffff88809a0af068 R12: 0000000000000000 R13: 1ffff11013a0aeb4 R14: ffff88809d057780 R15: 0000000000000000 FS: 00007f3efa256700(0000) GS:ffff8880ba200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe3d58efd8 CR3: 0000000099142000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 89 7c 24 48 mov %rdi,0x48(%rsp) 5: eb 0b jmp 0x12 7: 44 39 7c 24 58 cmp %r15d,0x58(%rsp) c: 0f 86 bb 00 00 00 jbe 0xcd 12: 48 8b 7c 24 50 mov 0x50(%rsp),%rdi 17: 80 3f 00 cmpb $0x0,(%rdi) 1a: 0f 85 82 06 00 00 jne 0x6a2 20: 4c 8b 20 mov (%rax),%r12 23: 4c 89 e2 mov %r12,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 0a 00 cmpb $0x0,(%rdx,%rcx,1) <-- trapping instruction 2e: 0f 85 64 05 00 00 jne 0x598 34: 49 8b 14 24 mov (%r12),%rdx 38: 49 8d 7c 24 28 lea 0x28(%r12),%rdi 3d: 48 89 10 mov %rdx,(%rax)