bisecting fixing commit since b8776f14a47046796fe078c4a2e691f58e00ae06 building syzkaller on 2bd9619f762176527aaf28fb26e4a08b614b55df testing commit b8776f14a47046796fe078c4a2e691f58e00ae06 with gcc (GCC) 10.2.1 20210217 kernel signature: b9f2b6414b55439f6ea6cd7a9df45e3d6f4908d197173aa2e48d08010fabdc8c run #0: crashed: general protection fault in fq_codel_enqueue run #1: crashed: general protection fault in fq_codel_enqueue run #2: crashed: general protection fault in fq_codel_enqueue run #3: crashed: general protection fault in fq_codel_enqueue run #4: crashed: general protection fault in fq_codel_enqueue run #5: crashed: general protection fault in fq_codel_enqueue run #6: crashed: general protection fault in fq_codel_enqueue run #7: crashed: general protection fault in fq_codel_enqueue run #8: crashed: general protection fault in fq_codel_enqueue run #9: crashed: general protection fault in fq_codel_enqueue run #10: crashed: general protection fault in fq_codel_enqueue run #11: crashed: general protection fault in fq_codel_enqueue run #12: crashed: general protection fault in fq_codel_enqueue run #13: crashed: general protection fault in fq_codel_enqueue run #14: crashed: general protection fault in fq_codel_enqueue run #15: crashed: general protection fault in fq_codel_enqueue run #16: crashed: general protection fault in fq_codel_enqueue run #17: crashed: general protection fault in fq_codel_enqueue run #18: crashed: general protection fault in fq_codel_enqueue run #19: OK testing current HEAD e43accba9b071dcd106b5e7643b1b106a158cbb1 testing commit e43accba9b071dcd106b5e7643b1b106a158cbb1 with gcc (GCC) 10.2.1 20210217 kernel signature: cbe35b5cf6c79b2e7b21bce1651cb2e317307192009f3af14caf829b92b1845f all runs: crashed: general protection fault in fq_codel_enqueue revisions tested: 2, total time: 26m13.229594633s (build: 13m13.902939667s, test: 12m16.472338056s) the crash still happens on HEAD commit msg: psample: Fix user API breakage crash: general protection fault in fq_codel_enqueue 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: 10184 Comm: syz-executor.0 Not tainted 5.12.0-rc2-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+0x727/0x1020 net/sched/sch_fq_codel.c:230 Code: f9 49 89 d2 49 c1 ea 03 4d 01 fa eb 09 44 39 e5 0f 86 ab 00 00 00 41 80 3a 00 0f 85 1e 06 00 00 48 8b 1a 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 0f 85 c4 05 00 00 48 8b 03 48 8d 7b 28 48 89 02 48 RSP: 0018:ffffc9000180f600 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88803dcd0000 RSI: 0000000000000000 RDI: ffff888023d852e8 RBP: 0000000000000040 R08: 0000000000000000 R09: fffff52000301ef4 R10: ffffed1007b9a000 R11: 0000000000000001 R12: 0000000000000000 R13: ffffc9000180f7a0 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007fbbd439f700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbbd439f718 CR3: 000000001676b000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __dev_xmit_skb net/core/dev.c:3849 [inline] __dev_queue_xmit+0x13ab/0x26a0 net/core/dev.c:4162 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_no_mac net/core/filter.c:2141 [inline] __bpf_redirect+0x463/0xb90 net/core/filter.c:2164 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x275/0x3f0 net/core/filter.c:2420 bpf_prog_cc75667d52cf7bb0+0x56/0x4c8 bpf_dispatcher_nop_func include/linux/bpf.h:659 [inline] bpf_test_run+0x310/0xa90 net/bpf/test_run.c:50 bpf_prog_test_run_skb+0x964/0x1b40 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0x1030/0x39e0 kernel/bpf/syscall.c:4411 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x465b09 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:00007fbbd439f188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 0000000000465b09 RDX: 0000000000000048 RSI: 0000000020000140 RDI: 000000000000000a RBP: 00000000004b069f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c008 R13: 00007ffe47fe62df R14: 00007fbbd439f300 R15: 0000000000022000 Modules linked in: ---[ end trace 4d1a52f5ca8071c6 ]--- 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+0x727/0x1020 net/sched/sch_fq_codel.c:230 Code: f9 49 89 d2 49 c1 ea 03 4d 01 fa eb 09 44 39 e5 0f 86 ab 00 00 00 41 80 3a 00 0f 85 1e 06 00 00 48 8b 1a 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 0f 85 c4 05 00 00 48 8b 03 48 8d 7b 28 48 89 02 48 RSP: 0018:ffffc9000180f600 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88803dcd0000 RSI: 0000000000000000 RDI: ffff888023d852e8 RBP: 0000000000000040 R08: 0000000000000000 R09: fffff52000301ef4 R10: ffffed1007b9a000 R11: 0000000000000001 R12: 0000000000000000 R13: ffffc9000180f7a0 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007fbbd439f700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbbd439f718 CR3: 000000001676b000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400