Bluetooth: hci4: command 0x0406 tx timeout ============================= [ BUG: Invalid wait context ] 6.12.0-next-20241118 #1 Not tainted ----------------------------- syz-executor.7/11242 is trying to lock: ffff88807ffdcf78 (&zone->lock){..-.}-{3:3}, at: __rmqueue_pcplist+0x4cd/0xe60 other info that might help us debug this: context-{2:2} 3 locks held by syz-executor.7/11242: #0: ffff888014d1c668 (&ctx->ring_lock){+.+.}-{4:4}, at: ioctx_alloc+0x207/0x1df0 #1: ffffffff85c16140 (rcu_read_lock){....}-{1:3}, at: __find_and_get_object+0x24/0x150 #2: ffff88806ce41518 (&pcp->lock){+.+.}-{3:3}, at: get_page_from_freelist+0x4a5/0x2130 stack backtrace: CPU: 0 UID: 0 PID: 11242 Comm: syz-executor.7 Not tainted 6.12.0-next-20241118 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Call Trace: dump_stack_lvl+0xca/0x120 __lock_acquire+0x1535/0x4430 lock_acquire.part.0+0xeb/0x320 _raw_spin_lock_irqsave+0x3a/0x60 __rmqueue_pcplist+0x4cd/0xe60 get_page_from_freelist+0x500/0x2130 __alloc_pages_noprof+0x213/0x1f90 alloc_pages_mpol_noprof+0xf2/0x330 stack_depot_save_flags+0x575/0x900 kasan_save_stack+0x34/0x50 __kasan_record_aux_stack+0x8c/0xa0 task_work_add+0xb8/0x390 run_posix_cpu_timers+0x65e/0x760 tick_nohz_handler+0x414/0x6d0 __hrtimer_run_queues+0x57c/0xa70 hrtimer_interrupt+0x369/0x830 __sysvec_apic_timer_interrupt+0xc2/0x330 sysvec_apic_timer_interrupt+0x6b/0x80 asm_sysvec_apic_timer_interrupt+0x1a/0x20 RIP: 0010:_raw_spin_unlock_irqrestore+0x34/0x50 Code: c7 18 53 48 89 f3 48 8b 74 24 10 e8 b6 7d a9 fc 48 89 ef e8 be f0 a9 fc 80 e7 02 74 06 e8 04 4a d3 fc fb 65 ff 0d 54 ec 7c 7b <74> 07 5b 5d e9 a3 1e 00 00 0f 1f 44 00 00 5b 5d e9 97 1e 00 00 0f RSP: 0018:ffff88804178faf8 EFLAGS: 00000286 RAX: 0000000000000121 RBX: 0000000000000202 RCX: 1ffffffff0fe6a87 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8486ba6c RBP: ffffffff85d019c0 R08: 0000000000000001 R09: fffffbfff0fdda03 R10: ffffffff87eed01f R11: 0000000000000001 R12: ffff888018e89818 R13: 0000000000000000 R14: 0000000000000000 R15: ffff888009402cc0 __find_and_get_object+0x75/0x150 paint_ptr+0x10/0x80 alloc_slab_obj_exts+0x56/0x90 new_slab+0xbe/0x210 ___slab_alloc+0x8a8/0x1200 kmem_cache_alloc_noprof+0x228/0x3d0 alloc_empty_file+0x76/0x1e0 alloc_file_pseudo+0x139/0x200 ioctx_alloc+0x551/0x1df0 __x64_sys_io_setup+0xc8/0x1f0 do_syscall_64+0xbf/0x1d0 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff5ff440b19 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:00007ff5fc9b6188 EFLAGS: 00000246 ORIG_RAX: 00000000000000ce RAX: ffffffffffffffda RBX: 00007ff5ff553f60 RCX: 00007ff5ff440b19 RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000008000 RBP: 00007ff5ff49af6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcebed4bef R14: 00007ff5fc9b6300 R15: 0000000000022000 sd 0:0:0:0: ioctl_internal_command: ILLEGAL REQUEST asc=0x24 ascq=0x0 Bluetooth: hci0: command 0x0401 tx timeout Bluetooth: hci1: command 0x0c1a tx timeout Bluetooth: hci2: command 0x0c1a tx timeout Bluetooth: hci3: command 0x0c1a tx timeout Bluetooth: hci6: command 0x0c1a tx timeout Bluetooth: hci5: command 0x0c1a tx timeout Bluetooth: hci7: command 0x0c1a tx timeout Bluetooth: hci1: command 0x0c1a tx timeout Bluetooth: hci7: command 0x0c1a tx timeout Bluetooth: hci5: command 0x0c1a tx timeout Bluetooth: hci6: command 0x0c1a tx timeout Bluetooth: hci3: command 0x0c1a tx timeout Bluetooth: hci2: command 0x0c1a tx timeout Bluetooth: hci0: command 0x0401 tx timeout ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 18 53 48 sbb %dl,0x48(%rbx) 3: 89 f3 mov %esi,%ebx 5: 48 8b 74 24 10 mov 0x10(%rsp),%rsi a: e8 b6 7d a9 fc callq 0xfca97dc5 f: 48 89 ef mov %rbp,%rdi 12: e8 be f0 a9 fc callq 0xfca9f0d5 17: 80 e7 02 and $0x2,%bh 1a: 74 06 je 0x22 1c: e8 04 4a d3 fc callq 0xfcd34a25 21: fb sti 22: 65 ff 0d 54 ec 7c 7b decl %gs:0x7b7cec54(%rip) # 0x7b7cec7d * 29: 74 07 je 0x32 <-- trapping instruction 2b: 5b pop %rbx 2c: 5d pop %rbp 2d: e9 a3 1e 00 00 jmpq 0x1ed5 32: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 37: 5b pop %rbx 38: 5d pop %rbp 39: e9 97 1e 00 00 jmpq 0x1ed5 3e: 0f .byte 0xf