kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 2114 Comm: syz-executor.1 Not tainted 5.4.274-syzkaller-00002-g6f97bd951d82 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:__write_once_size include/linux/compiler.h:295 [inline] RIP: 0010:__hlist_del include/linux/list.h:789 [inline] RIP: 0010:detach_timer kernel/time/timer.c:824 [inline] RIP: 0010:expire_timers kernel/time/timer.c:1482 [inline] RIP: 0010:__run_timers+0x77f/0xbe0 kernel/time/timer.c:1817 Code: 00 00 00 00 00 fc ff df 80 3c 03 00 74 08 4c 89 ff e8 25 4e 3f 00 4d 8b 27 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 e7 e8 83 4e 3f 00 4d 89 2c 24 4d 85 ed 74 RSP: 0018:ffff8881f6e09d60 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 1ffff1103c0f6e39 RCX: dffffc0000000000 RDX: 0000000080000102 RSI: 0000000000000004 RDI: ffff8881f6e09ce0 RBP: ffff8881f6e09ec8 R08: dffffc0000000000 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000000000000 R13: dead000000000122 R14: 1ffff1103c0f6e38 R15: ffff8881e07b71c8 FS: 00007f859c2076c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32f2a000 CR3: 00000001e024e000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1830 __do_softirq+0x23b/0x6b7 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x195/0x1c0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:538 [inline] smp_apic_timer_interrupt+0x11a/0x460 arch/x86/kernel/apic/apic.c:1149 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834 RIP: 0010:deref_stack_reg+0x13e/0x1f0 arch/x86/kernel/unwind_orc.c:350 Code: 0e 31 c0 49 bc 00 00 00 00 00 fc ff df eb 6d 4c 8d 74 24 40 4c 89 f3 48 c1 eb 03 49 bc 00 00 00 00 00 fc ff df 42 80 3c 23 00 <74> 08 4c 89 f7 e8 58 41 64 00 48 c7 44 24 40 00 00 00 00 4c 89 ff RSP: 0018:ffff8881e8026d20 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: ffff8881e8027bb8 RBX: 1ffff1103d004dac RCX: dffffc0000000000 RDX: ffff8881e8027120 RSI: ffff8881e8027bb0 RDI: ffff8881e80270f0 RBP: ffff8881e8026dd0 R08: dffffc0000000000 R09: ffff8881e8027130 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff1103d004da8 R14: ffff8881e8026d60 R15: ffff8881e8027bb0 unwind_next_frame+0x1681/0x1ea0 arch/x86/kernel/unwind_orc.c:579 arch_stack_walk+0x111/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1c0 kernel/stacktrace.c:123 save_stack mm/kasan/common.c:70 [inline] set_track mm/kasan/common.c:78 [inline] __kasan_kmalloc+0x171/0x210 mm/kasan/common.c:529 __kmalloc_node include/linux/slab.h:422 [inline] kmalloc_node include/linux/slab.h:599 [inline] kzalloc_node include/linux/slab.h:701 [inline] qdisc_alloc+0x78/0x7b0 net/sched/sch_generic.c:864 qdisc_create_dflt+0x60/0x250 net/sched/sch_generic.c:937 mq_init+0x2c8/0x6b0 net/sched/sch_mq.c:90 qdisc_create_dflt+0x129/0x250 net/sched/sch_generic.c:944 attach_default_qdiscs net/sched/sch_generic.c:1113 [inline] dev_activate+0x11f/0xc00 net/sched/sch_generic.c:1154 __dev_open+0x302/0x420 net/core/dev.c:1335 __dev_change_flags+0x1db/0x6e0 net/core/dev.c:7939 dev_change_flags+0x87/0x190 net/core/dev.c:8010 dev_ifsioc+0x104/0xa60 net/core/dev_ioctl.c:226 dev_ioctl+0x505/0xb40 net/core/dev_ioctl.c:483 sock_do_ioctl+0x295/0x3a0 net/socket.c:1081 sock_ioctl+0x4a4/0x760 net/socket.c:1198 do_vfs_ioctl+0x742/0x1720 fs/ioctl.c:47 ksys_ioctl fs/ioctl.c:742 [inline] __do_sys_ioctl fs/ioctl.c:749 [inline] __se_sys_ioctl fs/ioctl.c:747 [inline] __x64_sys_ioctl+0xd4/0x110 fs/ioctl.c:747 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7f859ce8cea9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f859c2070c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f859cfc3f80 RCX: 00007f859ce8cea9 RDX: 0000000020000080 RSI: 0000000000008914 RDI: 0000000000000008 RBP: 00007f859cefbff4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f859cfc3f80 R15: 00007ffed0c54a88 Modules linked in: ---[ end trace caf1478d409a9bf5 ]--- RIP: 0010:__write_once_size include/linux/compiler.h:295 [inline] RIP: 0010:__hlist_del include/linux/list.h:789 [inline] RIP: 0010:detach_timer kernel/time/timer.c:824 [inline] RIP: 0010:expire_timers kernel/time/timer.c:1482 [inline] RIP: 0010:__run_timers+0x77f/0xbe0 kernel/time/timer.c:1817 Code: 00 00 00 00 00 fc ff df 80 3c 03 00 74 08 4c 89 ff e8 25 4e 3f 00 4d 8b 27 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 e7 e8 83 4e 3f 00 4d 89 2c 24 4d 85 ed 74 RSP: 0018:ffff8881f6e09d60 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 1ffff1103c0f6e39 RCX: dffffc0000000000 RDX: 0000000080000102 RSI: 0000000000000004 RDI: ffff8881f6e09ce0 RBP: ffff8881f6e09ec8 R08: dffffc0000000000 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000000000000 R13: dead000000000122 R14: 1ffff1103c0f6e38 R15: ffff8881e07b71c8 FS: 00007f859c2076c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32f2a000 CR3: 00000001e024e000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess), 7 bytes skipped: 0: df 80 3c 03 00 74 filds 0x7400033c(%rax) 6: 08 4c 89 ff or %cl,-0x1(%rcx,%rcx,4) a: e8 25 4e 3f 00 call 0x3f4e34 f: 4d 8b 27 mov (%r15),%r12 12: 4c 89 e0 mov %r12,%rax 15: 48 c1 e8 03 shr $0x3,%rax 19: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 20: fc ff df * 23: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 27: 74 08 je 0x31 29: 4c 89 e7 mov %r12,%rdi 2c: e8 83 4e 3f 00 call 0x3f4eb4 31: 4d 89 2c 24 mov %r13,(%r12) 35: 4d 85 ed test %r13,%r13 38: 74 .byte 0x74