general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 4000 Comm: syz-executor.2 Not tainted 5.16.0-rc8-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+0x6ec/0x1030 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 5c 06 00 00 48 8b 1a 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 0f 85 02 06 00 00 48 8b 03 48 8d 7b 28 48 89 02 48 RSP: 0018:ffffc900028e72e8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff8880715a0000 RSI: 0000000000000000 RDI: ffff8880787e5ae8 RBP: 0000000000000040 R08: 0000000000000000 R09: fffff5200051ce99 R10: ffffed100e2b4000 R11: 0000000000000001 R12: 0000000000000000 R13: ffffc900028e74c8 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f3c63b75700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2725e0d2e0 CR3: 000000007187e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dev_qdisc_enqueue+0x39/0x220 net/core/dev.c:3785 __dev_xmit_skb net/core/dev.c:3869 [inline] __dev_queue_xmit+0x18c3/0x2d50 net/core/dev.c:4194 __bpf_tx_skb net/core/filter.c:2114 [inline] __bpf_redirect_no_mac net/core/filter.c:2139 [inline] __bpf_redirect+0x4d9/0xc20 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2429 [inline] bpf_clone_redirect+0x275/0x3f0 net/core/filter.c:2401 ___bpf_prog_run+0x2ece/0x7310 kernel/bpf/core.c:1558 __bpf_prog_run512+0x80/0xc0 kernel/bpf/core.c:1786 bpf_dispatcher_nop_func include/linux/bpf.h:727 [inline] __bpf_prog_run include/linux/filter.h:626 [inline] bpf_prog_run include/linux/filter.h:633 [inline] bpf_test_run+0x3f0/0x860 net/bpf/test_run.c:120 bpf_prog_test_run_skb+0x9da/0x1cb0 net/bpf/test_run.c:666 bpf_prog_test_run kernel/bpf/syscall.c:3349 [inline] __sys_bpf+0x103e/0x43f0 kernel/bpf/syscall.c:4651 __do_sys_bpf kernel/bpf/syscall.c:4737 [inline] __se_sys_bpf kernel/bpf/syscall.c:4735 [inline] __x64_sys_bpf+0x70/0xb0 kernel/bpf/syscall.c:4735 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:0x7f3c643ffa39 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:00007f3c63b75188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f3c64512f60 RCX: 00007f3c643ffa39 RDX: 0000000000000048 RSI: 0000000020000140 RDI: 000000000000000a RBP: 00007f3c64459e8f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcd96be09f R14: 00007f3c63b75300 R15: 0000000000022000 Modules linked in: ---[ end trace 83cce68bc17eb1ed ]--- 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+0x6ec/0x1030 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 5c 06 00 00 48 8b 1a 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 0f 85 02 06 00 00 48 8b 03 48 8d 7b 28 48 89 02 48 RSP: 0018:ffffc900028e72e8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff8880715a0000 RSI: 0000000000000000 RDI: ffff8880787e5ae8 RBP: 0000000000000040 R08: 0000000000000000 R09: fffff5200051ce99 R10: ffffed100e2b4000 R11: 0000000000000001 R12: 0000000000000000 R13: ffffc900028e74c8 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f3c63b75700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2725e0d2e0 CR3: 000000007187e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: f9 stc 1: 49 89 d2 mov %rdx,%r10 4: 49 c1 ea 03 shr $0x3,%r10 8: 4d 01 fa add %r15,%r10 b: eb 09 jmp 0x16 d: 44 39 e5 cmp %r12d,%ebp 10: 0f 86 ab 00 00 00 jbe 0xc1 16: 41 80 3a 00 cmpb $0x0,(%r10) 1a: 0f 85 5c 06 00 00 jne 0x67c 20: 48 8b 1a mov (%rdx),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2f: 0f 85 02 06 00 00 jne 0x637 35: 48 8b 03 mov (%rbx),%rax 38: 48 8d 7b 28 lea 0x28(%rbx),%rdi 3c: 48 89 02 mov %rax,(%rdx) 3f: 48 rex.W