------------[ cut here ]------------ WARNING: CPU: 1 PID: 3610 at kernel/workqueue.c:1441 __queue_work+0xddc/0xf90 Modules linked in: CPU: 1 PID: 3610 Comm: syz-executor.2 Not tainted 6.1.91-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:__queue_work+0xddc/0xf90 kernel/workqueue.c:1441 Code: 8b 3c 24 e8 c6 9c 88 00 e9 d9 fc ff ff e8 4c 1d 31 00 89 ee 48 c7 c7 00 96 fd 8c e8 0e 02 0a 03 e9 1e fc ff ff e8 34 1d 31 00 <0f> 0b 48 83 c4 50 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 1e 1d 31 00 RSP: 0018:ffffc900001e0af8 EFLAGS: 00010046 RAX: ffffffff8159701c RBX: 00000000000b0012 RCX: ffff88801732bb80 RDX: 0000000080000101 RSI: 0000000000000100 RDI: 0000000000000000 RBP: 0000000000010000 R08: ffffffff815a5dc5 R09: fffffbfff1ce710e R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: dffffc0000000000 R14: 0000000000000008 R15: ffff888079b14800 FS: 0000555556a9d480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff3f3ad5f80 CR3: 000000005ba7a000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: call_timer_fn+0x1ad/0x6b0 kernel/time/timer.c:1504 expire_timers kernel/time/timer.c:1544 [inline] __run_timers+0x6a8/0x890 kernel/time/timer.c:1820 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1833 __do_softirq+0x2e9/0xa4c kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x155/0x240 kernel/softirq.c:650 irq_exit_rcu+0x5/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:raw_spin_rq_unlock_irq+0x19/0x80 kernel/sched/sched.h:1367 Code: 07 80 c1 03 38 c1 7c d1 e8 74 7d 81 00 eb ca 0f 0b 41 57 41 56 53 48 89 fb 66 90 48 89 df e8 7e 9a 34 09 e8 39 c0 30 00 fb 5b <41> 5e 41 5f c3 49 bf 00 00 00 00 00 fc ff df 4c 8d b3 58 0d 00 00 RSP: 0018:ffffc90004fe6688 EFLAGS: 00000282 RAX: bf1a07fc5ecbd200 RBX: ffff8880b993aa00 RCX: ffffffff816acf0a RDX: dffffc0000000000 RSI: ffffffff8aec01c0 RDI: ffffffff8b3d4560 RBP: ffffc90004fe6850 R08: dffffc0000000000 R09: fffffbfff2093849 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff11002e657c2 R14: ffff88801732be10 R15: ffff88801732bb80 __schedule+0x16aa/0x4550 kernel/sched/core.c:6564 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6727 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6751 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x128/0x130 kernel/locking/spinlock.c:194 __debug_check_no_obj_freed lib/debugobjects.c:987 [inline] debug_check_no_obj_freed+0x455/0x4e0 lib/debugobjects.c:1008 free_pages_prepare mm/page_alloc.c:1446 [inline] free_pcp_prepare mm/page_alloc.c:1490 [inline] free_unref_page_prepare+0x319/0x1120 mm/page_alloc.c:3358 free_unref_page+0x33/0x3e0 mm/page_alloc.c:3453 __stack_depot_save+0x409/0x470 lib/stackdepot.c:506 save_stack+0x104/0x1e0 mm/page_owner.c:128 __set_page_owner+0x26/0x390 mm/page_owner.c:190 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x18d/0x1b0 mm/page_alloc.c:2513 prep_new_page mm/page_alloc.c:2520 [inline] get_page_from_freelist+0x31a1/0x3320 mm/page_alloc.c:4279 __alloc_pages+0x28d/0x770 mm/page_alloc.c:5547 alloc_slab_page+0x6a/0x150 mm/slub.c:1794 allocate_slab mm/slub.c:1939 [inline] new_slab+0x84/0x2d0 mm/slub.c:1992 ___slab_alloc+0xc20/0x1270 mm/slub.c:3180 __slab_alloc mm/slub.c:3279 [inline] slab_alloc_node mm/slub.c:3364 [inline] slab_alloc mm/slub.c:3406 [inline] __kmem_cache_alloc_lru mm/slub.c:3413 [inline] kmem_cache_alloc_lru+0x1a5/0x2d0 mm/slub.c:3429 alloc_inode_sb include/linux/fs.h:3193 [inline] alloc_inode fs/inode.c:263 [inline] new_inode_pseudo+0x81/0x1d0 fs/inode.c:1020 new_inode+0x25/0x1d0 fs/inode.c:1048 debugfs_get_inode fs/debugfs/inode.c:72 [inline] __debugfs_create_file+0x147/0x500 fs/debugfs/inode.c:432 nsim_bpf_init+0x125/0x260 drivers/net/netdevsim/bpf.c:633 nsim_init_netdevsim drivers/net/netdevsim/netdev.c:311 [inline] nsim_create+0x314/0x3f0 drivers/net/netdevsim/netdev.c:365 __nsim_dev_port_add+0x6ba/0xb10 drivers/net/netdevsim/dev.c:1393 nsim_dev_port_add_all+0x33/0xe0 drivers/net/netdevsim/dev.c:1451 nsim_drv_probe+0x80e/0xb20 drivers/net/netdevsim/dev.c:1605 really_probe+0x2ab/0xcb0 drivers/base/dd.c:639 __driver_probe_device+0x1a2/0x3d0 drivers/base/dd.c:785 driver_probe_device+0x50/0x420 drivers/base/dd.c:815 __device_attach_driver+0x2cf/0x510 drivers/base/dd.c:943 bus_for_each_drv+0x183/0x200 drivers/base/bus.c:427 __device_attach+0x359/0x570 drivers/base/dd.c:1015 bus_probe_device+0xba/0x1e0 drivers/base/bus.c:487 device_add+0xb48/0xfd0 drivers/base/core.c:3686 nsim_bus_dev_new drivers/net/netdevsim/bus.c:290 [inline] new_device_store+0x3e5/0x800 drivers/net/netdevsim/bus.c:167 kernfs_fop_write_iter+0x3a2/0x4f0 fs/kernfs/file.c:330 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7ae/0xba0 fs/read_write.c:584 ksys_write+0x19c/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7ff6f107bc2f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 b9 80 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 0c 81 02 00 48 RSP: 002b:00007ffd9bdd5fc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007ff6f107bc2f RDX: 0000000000000003 RSI: 00007ffd9bdd6010 RDI: 0000000000000005 RBP: 00007ff6f10c9067 R08: 0000000000000000 R09: 00007ffd9bdd5e17 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 00007ffd9bdd6010 R14: 00007ff6f1cd4620 R15: 0000000000000003 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 80 c1 03 add $0x3,%cl 3: 38 c1 cmp %al,%cl 5: 7c d1 jl 0xffffffd8 7: e8 74 7d 81 00 call 0x817d80 c: eb ca jmp 0xffffffd8 e: 0f 0b ud2 10: 41 57 push %r15 12: 41 56 push %r14 14: 53 push %rbx 15: 48 89 fb mov %rdi,%rbx 18: 66 90 xchg %ax,%ax 1a: 48 89 df mov %rbx,%rdi 1d: e8 7e 9a 34 09 call 0x9349aa0 22: e8 39 c0 30 00 call 0x30c060 27: fb sti 28: 5b pop %rbx * 29: 41 5e pop %r14 <-- trapping instruction 2b: 41 5f pop %r15 2d: c3 ret 2e: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 35: fc ff df 38: 4c 8d b3 58 0d 00 00 lea 0xd58(%rbx),%r14