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: 31856 Comm: kworker/u4:21 Not tainted 6.7.0-rc6-syzkaller-01690-g92de776d2090 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: netns cleanup_net RIP: 0010:qfq_reset_qdisc+0x117/0x420 net/sched/sch_qfq.c:1471 Code: a7 e9 f8 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:ffffc900068478c8 EFLAGS: 00010206 RAX: 000000000000001d RBX: ffff888035e42c00 RCX: ffffffff889dd917 RDX: ffff88818e8f5940 RSI: ffffffff889dd990 RDI: 00000000000000e8 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000000 R12: ffff888035bf02d0 R13: ffff888035e42c50 R14: 0000000000000000 R15: ffffed1006b7e05a FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0084ea8d0 CR3: 000000000cd77000 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:1024 __qdisc_destroy+0xd5/0x610 net/sched/sch_generic.c:1065 qdisc_put+0xd1/0xf0 net/sched/sch_generic.c:1108 dev_shutdown+0x1c4/0x430 net/sched/sch_generic.c:1496 unregister_netdevice_many_notify+0x615/0x1a10 net/core/dev.c:11073 unregister_netdevice_many net/core/dev.c:11139 [inline] default_device_exit_batch+0x49b/0x610 net/core/dev.c:11610 ops_exit_list+0x125/0x170 net/core/net_namespace.c:175 cleanup_net+0x505/0xb20 net/core/net_namespace.c:618 process_one_work+0x886/0x15d0 kernel/workqueue.c:2627 process_scheduled_works kernel/workqueue.c:2700 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2781 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:qfq_reset_qdisc+0x117/0x420 net/sched/sch_qfq.c:1471 Code: a7 e9 f8 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:ffffc900068478c8 EFLAGS: 00010206 RAX: 000000000000001d RBX: ffff888035e42c00 RCX: ffffffff889dd917 RDX: ffff88818e8f5940 RSI: ffffffff889dd990 RDI: 00000000000000e8 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000000 R12: ffff888035bf02d0 R13: ffff888035e42c50 R14: 0000000000000000 R15: ffffed1006b7e05a FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0085775c0 CR3: 0000000026c46000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: a7 cmpsl %es:(%rdi),%ds:(%rsi) 1: e9 f8 4c 8d 6b jmp 0x6b8d4cfe 6: 50 push %rax 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