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: 8439 Comm: syz-executor604 Not tainted 5.14.0-rc6-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+0x83b/0x10c0 net/sched/sch_fq_codel.c:230 Code: db c5 2c fa 45 39 ec 0f 83 cb 00 00 00 e8 9d bd 2c fa 48 8b 44 24 10 80 38 00 0f 85 9a 06 00 00 49 8b 07 48 89 c2 48 c1 ea 03 <42> 80 3c 32 00 0f 85 6e 06 00 00 48 8b 10 48 8d 78 28 49 89 17 48 RSP: 0018:ffffc9000185f540 EFLAGS: 00010256 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8748eb63 RDI: 0000000000000003 RBP: ffffc9000185f718 R08: 0000000000000400 R09: 0000000000000001 R10: ffffffff8748eac3 R11: 0000000000000000 R12: 0000000000000400 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff8880326c0000 FS: 000000000242c300(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000080 CR3: 00000000127ad000 CR4: 0000000000350ee0 Call Trace: dev_qdisc_enqueue+0x40/0x300 net/core/dev.c:3854 __dev_xmit_skb net/core/dev.c:3938 [inline] __dev_queue_xmit+0x1e28/0x3620 net/core/dev.c:4253 __bpf_tx_skb net/core/filter.c:2113 [inline] __bpf_redirect_no_mac net/core/filter.c:2138 [inline] __bpf_redirect+0x5ba/0xd20 net/core/filter.c:2161 ____bpf_clone_redirect net/core/filter.c:2445 [inline] bpf_clone_redirect+0x2ae/0x420 net/core/filter.c:2417 bpf_prog_cc75667d52cf7bb0+0x56/0xe28 bpf_dispatcher_nop_func include/linux/bpf.h:687 [inline] bpf_test_run+0x543/0xa90 net/bpf/test_run.c:118 bpf_prog_test_run_skb+0xac5/0x1d20 net/bpf/test_run.c:657 bpf_prog_test_run kernel/bpf/syscall.c:3207 [inline] __sys_bpf+0x1993/0x53b0 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+0x75/0xb0 kernel/bpf/syscall.c:4571 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/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:00007ffe9ac58568 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 6cbf98220a7b0c3a ]--- 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+0x83b/0x10c0 net/sched/sch_fq_codel.c:230 Code: db c5 2c fa 45 39 ec 0f 83 cb 00 00 00 e8 9d bd 2c fa 48 8b 44 24 10 80 38 00 0f 85 9a 06 00 00 49 8b 07 48 89 c2 48 c1 ea 03 <42> 80 3c 32 00 0f 85 6e 06 00 00 48 8b 10 48 8d 78 28 49 89 17 48 RSP: 0018:ffffc9000185f540 EFLAGS: 00010256 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8748eb63 RDI: 0000000000000003 RBP: ffffc9000185f718 R08: 0000000000000400 R09: 0000000000000001 R10: ffffffff8748eac3 R11: 0000000000000000 R12: 0000000000000400 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff8880326c0000 FS: 000000000242c300(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000080 CR3: 00000000127ad000 CR4: 0000000000350ee0 ---------------- Code disassembly (best guess): 0: db c5 fcmovnb %st(5),%st 2: 2c fa sub $0xfa,%al 4: 45 39 ec cmp %r13d,%r12d 7: 0f 83 cb 00 00 00 jae 0xd8 d: e8 9d bd 2c fa callq 0xfa2cbdaf 12: 48 8b 44 24 10 mov 0x10(%rsp),%rax 17: 80 38 00 cmpb $0x0,(%rax) 1a: 0f 85 9a 06 00 00 jne 0x6ba 20: 49 8b 07 mov (%r15),%rax 23: 48 89 c2 mov %rax,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx 2a: 42 80 3c 32 00 cmpb $0x0,(%rdx,%r14,1) <-- trapping instruction 2f: 0f 85 6e 06 00 00 jne 0x6a3 35: 48 8b 10 mov (%rax),%rdx 38: 48 8d 78 28 lea 0x28(%rax),%rdi 3c: 49 89 17 mov %rdx,(%r15) 3f: 48 rex.W