general protection fault, probably for non-canonical address 0xdffffc000000001d: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000000e8-0x00000000000000ef] CPU: 0 PID: 8658 Comm: kworker/u4:6 Not tainted 6.5.0-rc3-syzkaller-00283-g12214540ad87 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 Workqueue: netns cleanup_net RIP: 0010:qfq_reset_qdisc+0x117/0x420 net/sched/sch_qfq.c:1459 Code: 46 31 f9 4c 8d 6b 50 4c 89 e8 48 c1 e8 03 80 3c 28 00 0f 85 1a 02 00 00 4c 8b 73 50 49 8d be e8 00 00 00 48 89 f8 48 c1 e8 03 <0f> b6 04 28 84 c0 74 08 3c 03 0f 8e 0f 02 00 00 45 8b be e8 00 00 RSP: 0018:ffffc90006f378b8 EFLAGS: 00010206 RAX: 000000000000001d RBX: ffff8880366bfa00 RCX: 0000000000000000 RDX: ffff888054288000 RSI: ffffffff88552a60 RDI: 00000000000000e9 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000000 R12: ffff88807a9682d0 R13: ffff8880366bfa50 R14: 0000000000000001 R15: ffffed100f52d05a FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000056d35f4c CR3: 000000000c776000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: qdisc_reset+0xd8/0x620 net/sched/sch_generic.c:1022 __qdisc_destroy+0x91/0x450 net/sched/sch_generic.c:1060 qdisc_put+0xd1/0xf0 net/sched/sch_generic.c:1090 dev_shutdown+0x1ce/0x430 net/sched/sch_generic.c:1478 unregister_netdevice_many_notify+0x5bd/0x19a0 net/core/dev.c:10840 unregister_netdevice_many net/core/dev.c:10906 [inline] default_device_exit_batch+0x584/0x740 net/core/dev.c:11359 ops_exit_list+0x125/0x170 net/core/net_namespace.c:175 cleanup_net+0x505/0xb20 net/core/net_namespace.c:614 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2597 worker_thread+0x687/0x1110 kernel/workqueue.c:2748 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296 RIP: 0000:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:qfq_reset_qdisc+0x117/0x420 net/sched/sch_qfq.c:1459 Code: 46 31 f9 4c 8d 6b 50 4c 89 e8 48 c1 e8 03 80 3c 28 00 0f 85 1a 02 00 00 4c 8b 73 50 49 8d be e8 00 00 00 48 89 f8 48 c1 e8 03 <0f> b6 04 28 84 c0 74 08 3c 03 0f 8e 0f 02 00 00 45 8b be e8 00 00 RSP: 0018:ffffc90006f378b8 EFLAGS: 00010206 RAX: 000000000000001d RBX: ffff8880366bfa00 RCX: 0000000000000000 RDX: ffff888054288000 RSI: ffffffff88552a60 RDI: 00000000000000e9 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000000 R12: ffff88807a9682d0 R13: ffff8880366bfa50 R14: 0000000000000001 R15: ffffed100f52d05a FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdf4e74f5b0 CR3: 000000002cb0d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 46 31 f9 rex.RX xor %r15d,%ecx 3: 4c 8d 6b 50 lea 0x50(%rbx),%r13 7: 4c 89 e8 mov %r13,%rax a: 48 c1 e8 03 shr $0x3,%rax e: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) 12: 0f 85 1a 02 00 00 jne 0x232 18: 4c 8b 73 50 mov 0x50(%rbx),%r14 1c: 49 8d be e8 00 00 00 lea 0xe8(%r14),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 0f b6 04 28 movzbl (%rax,%rbp,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 74 08 je 0x3a 32: 3c 03 cmp $0x3,%al 34: 0f 8e 0f 02 00 00 jle 0x249 3a: 45 rex.RB 3b: 8b .byte 0x8b 3c: be .byte 0xbe 3d: e8 .byte 0xe8