FAULT_INJECTION: forcing a failure.
name fail_usercopy, interval 1, probability 0, space 0, times 1
CPU: 0 UID: 0 PID: 5333 Comm: syz.0.0 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
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
fail_dump lib/fault-inject.c:73 [inline]
should_fail_ex+0x412/0x560 lib/fault-inject.c:174
strncpy_from_user+0x36/0x2b0 lib/strncpy_from_user.c:118
do_getname+0x77/0x250 fs/namei.c:193
getname include/linux/fs.h:2526 [inline]
class_filename_constructor include/linux/fs.h:2553 [inline]
do_sys_openat2+0xca/0x200 fs/open.c:1363
do_sys_open fs/open.c:1370 [inline]
__do_sys_openat fs/open.c:1386 [inline]
__se_sys_openat fs/open.c:1381 [inline]
__x64_sys_openat+0x138/0x170 fs/open.c:1381
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3d7b79ce59
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:00007f3d7c695fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f3d7ba16090 RCX: 00007f3d7b79ce59
RDX: 0000000000000100 RSI: 0000200000000440 RDI: ffffffffffffff9c
RBP: 00007f3d7c696050 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007f3d7ba16128 R14: 00007f3d7ba16090 R15: 00007ffe8e05c8e8
------------[ cut here ]------------
workqueue: cannot queue hci_rx_work on wq hci0
WARNING: kernel/workqueue.c:2298 at __queue_work+0xd3f/0x1040 kernel/workqueue.c:2296, CPU#0: syz.0.0/5333
Modules linked in:
CPU: 0 UID: 0 PID: 5333 Comm: syz.0.0 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+0xd67/0x1040 kernel/workqueue.c:2296
Code: a6 0e 49 8d 7d 18 48 89 f8 48 c1 e8 03 42 80 3c 20 00 74 05 e8 fa 78 a5 00 49 8b 75 18 49 81 c7 70 01 00 00 4c 89 f7 4c 89 fa <67> 48 0f b9 3a 4c 89 e8 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 ef
RSP: 0018:ffffc90003a5fb08 EFLAGS: 00010082
RAX: 1ffff110086f5178 RBX: 0000000000000008 RCX: ffff888000b92540
RDX: ffff888036a3f170 RSI: ffffffff8a9c0fa0 RDI: ffffffff903340b0
RBP: 0000000000000000 R08: ffff8880437a8baf R09: 1ffff110086f5175
R10: dffffc0000000000 R11: ffffed10086f5176 R12: dffffc0000000000
R13: ffff8880437a8ba8 R14: ffffffff903340b0 R15: ffff888036a3f170
FS: 00007f3d7c6966c0(0000) GS:ffff88808c894000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcb05c1be40 CR3: 00000000439fd000 CR4: 0000000000352ef0
Call Trace:
queue_work_on+0x106/0x1d0 kernel/workqueue.c:2444
queue_work include/linux/workqueue.h:698 [inline]
hci_recv_frame+0x625/0x7c0 net/bluetooth/hci_core.c:2969
vhci_get_user drivers/bluetooth/hci_vhci.c:520 [inline]
vhci_write+0x358/0x4a0 drivers/bluetooth/hci_vhci.c:616
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x61d/0xb90 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3d7b75d68e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007f3d7c695f78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f3d7c6966c0 RCX: 00007f3d7b75d68e
RDX: 0000000000000007 RSI: 0000200000000400 RDI: 00000000000000ca
RBP: 00007f3d7b832d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3d7ba16128 R14: 00007f3d7ba16090 R15: 00007ffe8e05c8e8
----------------
Code disassembly (best guess), 2 bytes skipped:
0: 49 8d 7d 18 lea 0x18(%r13),%rdi
4: 48 89 f8 mov %rdi,%rax
7: 48 c1 e8 03 shr $0x3,%rax
b: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1)
10: 74 05 je 0x17
12: e8 fa 78 a5 00 call 0xa57911
17: 49 8b 75 18 mov 0x18(%r13),%rsi
1b: 49 81 c7 70 01 00 00 add $0x170,%r15
22: 4c 89 f7 mov %r14,%rdi
25: 4c 89 fa mov %r15,%rdx
* 28: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction
2d: 4c 89 e8 mov %r13,%rax
30: 48 c1 e8 03 shr $0x3,%rax
34: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1)
39: 74 08 je 0x43
3b: 4c 89 ef mov %r13,%rdi