QAT: Invalid ioctl QAT: Invalid ioctl BUG: sleeping function called from invalid context at net/core/sock.c:2761 in_atomic(): 1, irqs_disabled(): 0, pid: 3, name: kworker/0:0 2 locks held by kworker/0:0/3: #0: ((wq_completion)"%s"name){+.+.}, at: [] __write_once_size include/linux/compiler.h:212 [inline] #0: ((wq_completion)"%s"name){+.+.}, at: [] atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ((wq_completion)"%s"name){+.+.}, at: [] atomic_long_set include/asm-generic/atomic-long.h:57 [inline] #0: ((wq_completion)"%s"name){+.+.}, at: [] set_work_data kernel/workqueue.c:618 [inline] #0: ((wq_completion)"%s"name){+.+.}, at: [] set_work_pool_and_clear_pending kernel/workqueue.c:645 [inline] #0: ((wq_completion)"%s"name){+.+.}, at: [] process_one_work+0xad4/0x1be0 kernel/workqueue.c:2083 #1: ((work_completion)(&squeue->work)){+.+.}, at: [] process_one_work+0xb2f/0x1be0 kernel/workqueue.c:2087 CPU: 0 PID: 3 Comm: kworker/0:0 Not tainted 4.15.0-rc1+ #198 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: pdecrypt padata_serial_worker Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 ___might_sleep+0x2b2/0x470 kernel/sched/core.c:6060 __might_sleep+0x95/0x190 kernel/sched/core.c:6013 lock_sock_nested+0x37/0x110 net/core/sock.c:2761 lock_sock include/net/sock.h:1465 [inline] af_alg_async_cb+0x86/0x1a0 crypto/af_alg.c:1039 aead_request_complete include/crypto/internal/aead.h:75 [inline] pcrypt_aead_serial+0x75/0xa0 crypto/pcrypt.c:123 padata_serial_worker+0x476/0x750 kernel/padata.c:348 process_one_work+0xbfd/0x1be0 kernel/workqueue.c:2112 worker_thread+0x223/0x1990 kernel/workqueue.c:2246 kthread+0x37a/0x440 kernel/kthread.c:238 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:441 sg_write: data in/out 1562545402/1 bytes for SCSI command 0x0-- guessing data in; program syz-executor1 not setting count and/or reply_len properly sg_write: data in/out 822404280/197 bytes for SCSI command 0x12-- guessing data in; program syz-executor1 not setting count and/or reply_len properly device gre0 entered promiscuous mode devpts: called with bogus options devpts: called with bogus options kauditd_printk_skb: 180 callbacks suppressed audit: type=1326 audit(1511911579.806:11648): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=27241 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511911579.806:11649): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=27241 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511911579.835:11650): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=27241 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=228 compat=0 ip=0x45577a code=0x7ffc0000 audit: type=1326 audit(1511911579.835:11651): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=27241 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511911579.836:11652): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=27241 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511911579.836:11653): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=27241 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=2 compat=0 ip=0x40cd11 code=0x7ffc0000 audit: type=1326 audit(1511911579.836:11654): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=27241 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 WARNING: CPU: 0 PID: 27277 at ./include/net/sock.h:1511 sock_owned_by_me include/net/sock.h:1511 [inline] WARNING: CPU: 0 PID: 27277 at ./include/net/sock.h:1511 sock_owned_by_user include/net/sock.h:1517 [inline] WARNING: CPU: 0 PID: 27277 at ./include/net/sock.h:1511 strp_data_ready+0x2b7/0x390 net/strparser/strparser.c:404 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 27277 Comm: syz-executor4 Tainted: G W 4.15.0-rc1+ #198 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 panic+0x1e4/0x41c kernel/panic.c:183 __warn+0x1dc/0x200 kernel/panic.c:547 report_bug+0x211/0x2d0 lib/bug.c:184 fixup_bug.part.11+0x37/0x80 arch/x86/kernel/traps.c:177 fixup_bug arch/x86/kernel/traps.c:246 [inline] do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:295 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314 invalid_op+0x18/0x20 arch/x86/entry/entry_64.S:930 RIP: 0010:sock_owned_by_me include/net/sock.h:1511 [inline] RIP: 0010:sock_owned_by_user include/net/sock.h:1517 [inline] RIP: 0010:strp_data_ready+0x2b7/0x390 net/strparser/strparser.c:404 RSP: 0018:ffff8801c588f8e8 EFLAGS: 00010216 RAX: 0000000000010000 RBX: ffff8801c8826c88 RCX: ffffffff84ab45a7 RDX: 0000000000000251 RSI: ffffc900035ea000 RDI: ffffffff860eab80 RBP: ffff8801c588f908 R08: 0000000000000000 R09: 0000000000000006 R10: 0000000000000000 R11: ffffffff87489d60 R12: ffff8801d87fa840 R13: ffff8801c8826c90 R14: ffff8801c588fa70 R15: ffff8801d87fa840 psock_data_ready+0x56/0x70 net/kcm/kcmsock.c:353 unix_dgram_sendmsg+0xa72/0x1600 net/unix/af_unix.c:1809 unix_seqpacket_sendmsg+0xf3/0x160 net/unix/af_unix.c:2063 sock_sendmsg_nosec net/socket.c:632 [inline] sock_sendmsg+0xca/0x110 net/socket.c:642 ___sys_sendmsg+0x75b/0x8a0 net/socket.c:2048 __sys_sendmsg+0xe5/0x210 net/socket.c:2082 SYSC_sendmsg net/socket.c:2093 [inline] SyS_sendmsg+0x2d/0x50 net/socket.c:2089 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x4529d9 RSP: 002b:00007f3695747c58 EFLAGS: 00000212 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000758190 RCX: 00000000004529d9 RDX: 0000000000008800 RSI: 0000000020639000 RDI: 0000000000000015 RBP: 0000000000000559 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f50f8 R13: 00000000ffffffff R14: 00007f36957486d4 R15: 0000000000000002 Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..