------------[ cut here ]------------ workqueue: cannot queue hci_cmd_timeout on wq hci0 WARNING: kernel/workqueue.c:2305 at __queue_work+0xd2d/0x12b0 kernel/workqueue.c:2304, CPU#2: syz.4.566/8129 Modules linked in: CPU: 2 UID: 0 PID: 8129 Comm: syz.4.566 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:__queue_work+0xd31/0x12b0 kernel/workqueue.c:2304 Code: 00 00 00 fc ff df 49 8d 94 24 70 01 00 00 48 89 f9 48 c1 e9 03 80 3c 01 00 0f 85 52 05 00 00 48 8d 3d b3 08 30 0f 48 8b 75 18 <67> 48 0f b9 3a 48 b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 RSP: 0018:ffffc90000648be0 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: 0000000000000100 RCX: 1ffff110051e594e RDX: ffff88803e9e9170 RSI: ffffffff8a9043a0 RDI: ffffffff90feef40 RBP: ffff888028f2ca58 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000000 R12: ffff88803e9e9000 R13: 0000000000000000 R14: ffffffff81ceec20 R15: 0000000000000001 FS: 00007f847a78f6c0(0000) GS:ffff8880d62e0000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000848000 CR3: 000000002c1ec000 CR4: 0000000000352ef0 Call Trace: call_timer_fn+0x19a/0x610 kernel/time/timer.c:1748 expire_timers kernel/time/timer.c:1794 [inline] __run_timers+0x570/0xb00 kernel/time/timer.c:2374 __run_timer_base kernel/time/timer.c:2386 [inline] __run_timer_base kernel/time/timer.c:2378 [inline] run_timer_base+0x114/0x190 kernel/time/timer.c:2395 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2405 handle_softirqs+0x1ea/0x9b0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x162/0x210 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:lock_acquire+0x5e/0x370 kernel/locking/lockdep.c:5872 Code: 05 bb ef 4e 12 83 f8 07 0f 87 da 00 00 00 48 0f a3 05 06 a2 16 0f 0f 82 ac 02 00 00 8b 35 ce d5 16 0f 85 f6 0f 85 c7 00 00 00 <48> 8b 44 24 30 65 48 2b 05 5d ef 4e 12 0f 85 ec 02 00 00 48 83 c4 RSP: 0018:ffffc9000d7af238 EFLAGS: 00000206 RAX: 0000000000000046 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8e137691 RDI: ffffffff8c3e9a80 RBP: ffff88802f0fa3d8 R08: 00000000002122e8 R09: ffffffff9727cc68 R10: 0000000000000200 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000 __raw_spin_lock include/linux/spinlock_api_smp.h:158 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:158 spin_lock include/linux/spinlock.h:342 [inline] pte_offset_map_lock+0x10f/0x320 mm/pgtable-generic.c:404 do_anonymous_page+0x268/0x2080 mm/memory.c:5312 do_pte_missing mm/memory.c:4564 [inline] handle_pte_fault mm/memory.c:6379 [inline] __handle_mm_fault+0x1d2c/0x2a00 mm/memory.c:6517 handle_mm_fault+0x37b/0xa30 mm/memory.c:6686 do_user_addr_fault+0x74c/0x12f0 arch/x86/mm/fault.c:1394 handle_page_fault arch/x86/mm/fault.c:1483 [inline] exc_page_fault+0x6f/0xd0 arch/x86/mm/fault.c:1536 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:595 RIP: 0010:copy_user_generic arch/x86/include/asm/uaccess_64.h:126 [inline] RIP: 0010:raw_copy_from_user arch/x86/include/asm/uaccess_64.h:141 [inline] RIP: 0010:copy_from_user_iter lib/iov_iter.c:67 [inline] RIP: 0010:iterate_ubuf include/linux/iov_iter.h:30 [inline] RIP: 0010:iterate_and_advance2 include/linux/iov_iter.h:302 [inline] RIP: 0010:iterate_and_advance include/linux/iov_iter.h:330 [inline] RIP: 0010:__copy_from_iter lib/iov_iter.c:261 [inline] RIP: 0010:_copy_from_iter+0x350/0x1690 lib/iov_iter.c:272 Code: 89 f5 44 89 f6 48 89 df 48 b8 00 f0 ff ff ff 7f 00 00 48 39 c5 48 0f 47 e8 e8 bc 0b 7a fd 0f 01 cb 4c 89 f1 48 89 df 48 89 ee a4 0f 1f 00 48 89 cd 0f 01 ca 4d 89 f7 49 29 cf e9 a9 fe ff ff RSP: 0018:ffffc9000d7af778 EFLAGS: 00050246 RAX: 0000000000000001 RBX: ffff888041b40010 RCX: 000000000000fee3 RDX: 0000000000000001 RSI: 0000200000848000 RDI: ffff888041b40011 RBP: 0000200000847fff R08: 0000000000000001 R09: ffffed1008369fde R10: ffff888041b4fef3 R11: 0000000000000000 R12: ffffc9000d7afd70 R13: 0000000000000000 R14: 000000000000fee4 R15: 0000000000000000 copy_from_iter include/linux/uio.h:228 [inline] copy_from_iter_full include/linux/uio.h:245 [inline] sctp_user_addto_chunk+0x84/0x240 net/sctp/sm_make_chunk.c:1557 sctp_datamsg_from_user+0x60b/0x1360 net/sctp/chunk.c:270 sctp_sendmsg_to_asoc+0xb1c/0x1c50 net/sctp/socket.c:1858 sctp_sendmsg+0x1144/0x22e0 net/sctp/socket.c:2039 inet_sendmsg+0x11c/0x140 net/ipv4/af_inet.c:865 sock_sendmsg_nosec net/socket.c:775 [inline] __sock_sendmsg net/socket.c:790 [inline] __sys_sendto+0x453/0x4e0 net/socket.c:2252 __do_sys_sendto net/socket.c:2259 [inline] __se_sys_sendto net/socket.c:2255 [inline] __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2255 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f847999ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f847a78f028 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f8479c15fa0 RCX: 00007f847999ce59 RDX: 000000000000fee4 RSI: 0000200000847fff RDI: 000000000000000a RBP: 00007f8479a32e6f R08: 000020000005ffe4 R09: 000000000000001c R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8479c16038 R14: 00007f8479c15fa0 R15: 00007fffc6c75778 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 fc add %bh,%ah 4: ff lcall (bad) 5: df 49 8d fisttps -0x73(%rcx) 8: 94 xchg %eax,%esp 9: 24 70 and $0x70,%al b: 01 00 add %eax,(%rax) d: 00 48 89 add %cl,-0x77(%rax) 10: f9 stc 11: 48 c1 e9 03 shr $0x3,%rcx 15: 80 3c 01 00 cmpb $0x0,(%rcx,%rax,1) 19: 0f 85 52 05 00 00 jne 0x571 1f: 48 8d 3d b3 08 30 0f lea 0xf3008b3(%rip),%rdi # 0xf3008d9 26: 48 8b 75 18 mov 0x18(%rbp),%rsi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 36: fc ff df 39: 48 89 ea mov %rbp,%rdx 3c: 48 c1 ea 03 shr $0x3,%rdx