BUG: sleeping function called from invalid context at net/core/sock.c:2761 in_atomic(): 1, irqs_disabled(): 0, pid: 17723, name: kworker/1:5 2 locks held by kworker/1:5/17723: #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: 1 PID: 17723 Comm: kworker/1:5 Not tainted 4.15.0-rc1+ #197 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 QAT: Invalid ioctl QAT: Device 0 not found QAT: Invalid ioctl QAT: Device 0 not found netlink: 16 bytes leftover after parsing attributes in process `syz-executor0'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 16 bytes leftover after parsing attributes in process `syz-executor0'. sctp: [Deprecated]: syz-executor7 (pid 19131) Use of int in maxseg socket option. Use struct sctp_assoc_value instead sctp: [Deprecated]: syz-executor7 (pid 19144) Use of int in maxseg socket option. Use struct sctp_assoc_value instead binder: 19170:19176 IncRefs 0 refcount change on invalid ref 2 ret -22 binder: 19170:19176 Acquire 1 refcount change on invalid ref 4 ret -22 binder: binder_mmap: 19170 205a3000-205a7000 bad vm_flags failed -1 *** Guest State *** CR0: actual=0x0000000080000031, shadow=0x0000000060000010, gh_mask=fffffffffffffff7 CR4: actual=0x0000000000002051, shadow=0x0000000000000000, gh_mask=ffffffffffffe871 CR3 = 0x00000000fffbc000 RSP = 0x000000000000fffa RIP = 0x0000000000000000 RFLAGS=0x00033000 DR7 = 0x0000000000000400 Sysenter RSP=0000000000000000 CS:RIP=0000:0000000000000000 CS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 DS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 SS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 ES: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 FS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 GS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 GDTR: limit=0x0000ffff, base=0x0000000000000000 LDTR: sel=0x0000, attr=0x00082, limit=0x0000ffff, base=0x0000000000000000 IDTR: limit=0x0000ffff, base=0x0000000000000000 TR: sel=0x0000, attr=0x0008b, limit=0x00002088, base=0x0000000000000000 EFER = 0x0000000000000000 PAT = 0x0007040600070406 DebugCtl = 0x0000000000000000 DebugExceptions = 0x0000000000000000 Interruptibility = 00000000 ActivityState = 00000000 *** Host State *** RIP = 0xffffffff811bced3 RSP = 0xffff8801c93ff4c8 CS=0010 SS=0018 DS=0000 ES=0000 FS=0000 GS=0000 TR=0040 FSBase=00007fa96e572700 GSBase=ffff8801db400000 TRBase=ffff8801db423100 GDTBase=ffffffffff577000 IDTBase=ffffffffff57b000 CR0=0000000080050033 CR3=00000001d9117000 CR4=00000000001426f0 Sysenter RSP=0000000000000000 CS:RIP=0010:ffffffff8516bec0 EFER = 0x0000000000000d01 PAT = 0x0000000000000000 *** Control State *** PinBased=0000003f CPUBased=b6a1edfe SecondaryExec=0000004b EntryControls=0000d1ff ExitControls=0023efff ExceptionBitmap=ffffbfff PFECmask=00000000 PFECmatch=00000000 VMEntry: intr_info=00000000 errcode=00000000 ilen=00000000 VMExit: intr_info=00000000 errcode=00000000 ilen=00000000 reason=80000021 qualification=0000000000000000 IDTVectoring: info=00000000 errcode=00000000 TSC Offset = 0xffffffa373c7c86e TPR Threshold = 0x00 EPT pointer = 0x00000001c114601e binder: 19170:19194 IncRefs 0 refcount change on invalid ref 2 ret -22 binder: 19170:19194 Acquire 1 refcount change on invalid ref 4 ret -22 binder: 19170:19194 Acquire 1 refcount change on invalid ref 0 ret -22 binder: 19170:19194 Release 1 refcount change on invalid ref 1 ret -22 binder: 19170:19194 Acquire 1 refcount change on invalid ref 2 ret -22 binder: 19170:19194 BC_DEAD_BINDER_DONE 0000000000000001 not found binder: 19170:19194 BC_DEAD_BINDER_DONE 0000000000000000 not found binder: binder_mmap: 19170 205a3000-205a7000 bad vm_flags failed -1 dccp_close: ABORT with 3592 bytes unread binder: 19170:19176 Acquire 1 refcount change on invalid ref 0 ret -22 binder: 19170:19176 Release 1 refcount change on invalid ref 1 ret -22 binder: 19170:19176 Acquire 1 refcount change on invalid ref 2 ret -22 binder: 19170:19176 BC_DEAD_BINDER_DONE 0000000000000001 not found binder: 19170:19176 BC_DEAD_BINDER_DONE 0000000000000000 not found binder: 19311:19312 ERROR: BC_REGISTER_LOOPER called without request binder: 19312 RLIMIT_NICE not set kvm: apic: phys broadcast and lowest prio binder_alloc: 19311: binder_alloc_buf size 576465146055034880 failed, no address space binder_alloc: allocated: 0 (num: 0 largest: 0), free: 8192 (num: 1 largest: 8192) binder: 19311:19321 transaction failed 29201/-28, size 576465146055034880-0 line 2870 binder: BINDER_SET_CONTEXT_MGR already set binder: 19311:19326 ioctl 40046207 0 returned -16 binder: 19311:19321 ERROR: BC_REGISTER_LOOPER called without request binder: 19321 RLIMIT_NICE not set binder_alloc: 19311: binder_alloc_buf, no vma binder: 19311:19326 transaction failed 29189/-3, size 576465146055034880-0 line 2870 sd 0:0:1:0: [sg0] tag#0 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK sd 0:0:1:0: [sg0] tag#0 CDB: Test Unit Ready sd 0:0:1:0: [sg0] tag#0 CDB[00]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 sd 0:0:1:0: [sg0] tag#0 CDB[10]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 sd 0:0:1:0: [sg0] tag#0 CDB[20]: 00 00 00 00 00 00 00 00 00 sd 0:0:1:0: [sg0] tag#0 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK sd 0:0:1:0: [sg0] tag#0 CDB: Test Unit Ready sd 0:0:1:0: [sg0] tag#0 CDB[00]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 sd 0:0:1:0: [sg0] tag#0 CDB[10]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 sd 0:0:1:0: [sg0] tag#0 CDB[20]: 00 00 00 00 00 00 00 00 00 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29201 binder: 19438:19441 IncRefs 0 refcount change on invalid ref 2 ret -22 binder: 19438:19441 Acquire 1 refcount change on invalid ref 4 ret -22 binder: 19438:19441 Acquire 1 refcount change on invalid ref 0 ret -22 binder: BINDER_SET_CONTEXT_MGR already set binder: 19438:19447 ioctl 40046207 0 returned -16 binder_alloc: 19438: binder_alloc_buf, no vma binder: 19438:19447 transaction failed 29189/-3, size 255156491150087--17179869184 line 2870 binder: 19438:19459 unknown command 0 binder: 19438:19459 ioctl c0306201 20000fd0 returned -22 binder: BINDER_SET_CONTEXT_MGR already set binder: 19438:19447 ioctl 40046207 0 returned -16 binder: BINDER_SET_CONTEXT_MGR already set binder: 19438:19459 ioctl 40046207 0 returned -16 binder_alloc: 19438: binder_alloc_buf, no vma binder: 19438:19459 transaction failed 29189/-3, size 255156491150087--17179869184 line 2870 QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl binder: 19438:19441 unknown command 0 QAT: Invalid ioctl binder: 19438:19441 ioctl c0306201 20000fd0 returned -14 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 device gre0 entered promiscuous mode do_dccp_setsockopt: sockopt(CHANGE_L/R) is deprecated: fix your app do_dccp_setsockopt: sockopt(CHANGE_L/R) is deprecated: fix your app 9pnet_virtio: no channels available for device ./file0 device lo entered promiscuous mode 9pnet_virtio: no channels available for device ./file0 binder: BC_ACQUIRE_RESULT not supported binder: 19616:19619 ioctl c0306201 20002fd0 returned -22 binder: BINDER_SET_CONTEXT_MGR already set binder: 19616:19629 ioctl 40046207 0 returned -16 binder: BC_ACQUIRE_RESULT not supported binder: 19616:19629 ioctl c0306201 20002fd0 returned -22 rpcbind: RPC call returned error 22 dccp_close: ABORT with 12 bytes unread rpcbind: RPC call returned error 22 netlink: 3 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor2'. RDS: rds_bind could not find a transport for 172.20.4.170, load rds_tcp or rds_rdma? RDS: rds_bind could not find a transport for 172.20.4.170, load rds_tcp or rds_rdma? kauditd_printk_skb: 64 callbacks suppressed audit: type=1326 audit(1511883052.994:4580): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=19752 comm="syz-executor6" exe="/root/syz-executor6" sig=31 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0xffff0000 netlink: 12 bytes leftover after parsing attributes in process `syz-executor0'. RDS: rds_bind could not find a transport for 0.0.0.1, load rds_tcp or rds_rdma? netlink: 12 bytes leftover after parsing attributes in process `syz-executor0'. RDS: rds_bind could not find a transport for 0.0.0.1, load rds_tcp or rds_rdma? binder: 19872:19876 IncRefs 0 refcount change on invalid ref 2 ret -22 binder: 19872:19876 Acquire 1 refcount change on invalid ref 4 ret -22 binder: 19872:19876 Acquire 1 refcount change on invalid ref 0 ret -22 binder: 19872:19876 Release 1 refcount change on invalid ref 1 ret -22 binder: 19872:19876 Acquire 1 refcount change on invalid ref 2 ret -22 binder: 19872:19876 BC_DEAD_BINDER_DONE 0000000000000001 not found binder: 19872:19876 BC_DEAD_BINDER_DONE 0000000000000000 not found audit: type=1326 audit(1511883053.583:4581): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=19877 comm="syz-executor6" exe="/root/syz-executor6" sig=31 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0xffff0000 binder: 19872:19888 unknown command 0 binder: 19872:19888 ioctl c0306201 20000fd0 returned -22 audit: type=1326 audit(1511883053.765:4582): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=19877 comm="syz-executor6" exe="/root/syz-executor6" sig=31 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0xffff0000 netlink: 8 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 2 bytes leftover after parsing attributes in process `syz-executor5'. device gre0 entered promiscuous mode netlink: 2 bytes leftover after parsing attributes in process `syz-executor5'. audit: type=1326 audit(1511883054.890:4583): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=20112 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511883054.912:4584): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=20112 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=16 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511883054.913:4585): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=20112 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511883054.914:4586): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=20112 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=298 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511883054.914:4587): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=20112 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511883054.914:4588): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=20112 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=22 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511883054.916:4589): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=20112 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 binder: 20264:20270 ioctl 40046205 7f returned -22 binder: 20264:20270 BC_FREE_BUFFER u0000000020000000 matched unreturned buffer 9pnet_virtio: no channels available for device ./file0 binder: BINDER_SET_CONTEXT_MGR already set binder: 20264:20279 ioctl 40046207 0 returned -16 binder: 20264:20291 ioctl 40046205 7f returned -22 binder_alloc: 20264: binder_alloc_buf, no vma binder: 20264:20291 transaction failed 29189/-3, size 0-0 line 2870 binder: 20264:20279 BC_FREE_BUFFER u0000000020000000 no match 9pnet_virtio: no channels available for device ./file0 binder: undelivered TRANSACTION_ERROR: 29189 binder: release 20264:20270 transaction 110 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 110, target dead device gre0 entered promiscuous mode binder: 20425:20428 BC_REQUEST_DEATH_NOTIFICATION invalid ref 2 device gre0 entered promiscuous mode binder: 20425:20428 BC_ACQUIRE_DONE node 112 has no pending acquire request binder: 20425:20428 BC_REQUEST_DEATH_NOTIFICATION invalid ref 3 binder: 20425:20428 Release 1 refcount change on invalid ref 2 ret -22 binder: 20425:20446 ioctl 40046205 7f returned -22 binder: 20425:20440 BC_FREE_BUFFER u0000000020000000 matched unreturned buffer binder: BINDER_SET_CONTEXT_MGR already set binder: 20425:20440 ioctl 40046207 0 returned -16 binder: 20425:20446 BC_REQUEST_DEATH_NOTIFICATION invalid ref 2 binder: 20425:20446 BC_ACQUIRE_DONE u0000000000000000 no match binder: 20425:20446 BC_REQUEST_DEATH_NOTIFICATION invalid ref 3 binder: 20425:20446 Release 1 refcount change on invalid ref 2 ret -22 binder: 20425:20446 DecRefs 0 refcount change on invalid ref 3 ret -22 binder: 20425:20446 DecRefs 0 refcount change on invalid ref 3 ret -22 binder: 20425:20446 BC_REQUEST_DEATH_NOTIFICATION invalid ref 4 binder: 20425:20446 BC_REQUEST_DEATH_NOTIFICATION invalid ref 4 binder: 20446 RLIMIT_NICE not set binder: 20425:20440 ioctl 40046205 7f returned -22 binder: 20425:20446 BC_FREE_BUFFER u0000000020000000 no match binder_alloc: 20425: binder_alloc_buf, no vma binder: 20425:20440 transaction failed 29189/-3, size 0-0 line 2870 *** Guest State *** CR0: actual=0x0000000080000031, shadow=0x0000000060000010, gh_mask=fffffffffffffff7 CR4: actual=0x0000000000002051, shadow=0x0000000000000000, gh_mask=ffffffffffffe871 CR3 = 0x00000000fffbc000 RSP = 0x000000000000fffa RIP = 0x0000000000000000 RFLAGS=0x00033000 DR7 = 0x0000000000000400 Sysenter RSP=0000000000000000 CS:RIP=0000:0000000000000000 CS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 DS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 SS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 ES: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 FS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 GS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 GDTR: limit=0x0000ffff, base=0x0000000000000000 LDTR: sel=0x0000, attr=0x00082, limit=0x0000ffff, base=0x0000000000000000 IDTR: limit=0x0000ffff, base=0x0000000000000000 TR: sel=0x0000, attr=0x0008b, limit=0x00002088, base=0x0000000000000000 EFER = 0x0000000000000000 PAT = 0x0007040600070406 DebugCtl = 0x0000000000000000 DebugExceptions = 0x0000000000000000 Interruptibility = 00000000 ActivityState = 00000000 *** Host State *** RIP = 0xffffffff811bced3 RSP = 0xffff8801920774c8 CS=0010 SS=0018 DS=0000 ES=0000 FS=0000 GS=0000 TR=0040 FSBase=00007fa96e573700 GSBase=ffff8801db400000 TRBase=ffff8801db423100 GDTBase=ffffffffff577000 IDTBase=ffffffffff57b000 CR0=0000000080050033 CR3=000000010a6ea000 CR4=00000000001426f0 Sysenter RSP=0000000000000000 CS:RIP=0010:ffffffff8516bec0 EFER = 0x0000000000000d01 PAT = 0x0000000000000000 *** Control State *** PinBased=0000003f CPUBased=b699edfa SecondaryExec=00000042 EntryControls=0000d1ff ExitControls=0023efff ExceptionBitmap=ffffbfff PFECmask=00000000 PFECmatch=00000000 VMEntry: intr_info=00000000 errcode=00000000 ilen=00000000 VMExit: intr_info=00000000 errcode=00000000 ilen=00000000 reason=80000021 qualification=0000000000000000 IDTVectoring: info=00000000 errcode=00000000 TSC Offset = 0xffffff9f2c96f8a5 EPT pointer = 0x00000001cec4e01e binder: 20425:20428 DecRefs 0 refcount change on invalid ref 3 ret -22 binder: 20425:20428 DecRefs 0 refcount change on invalid ref 3 ret -22 binder: 20425:20428 BC_REQUEST_DEATH_NOTIFICATION invalid ref 4 binder: 20425:20428 BC_REQUEST_DEATH_NOTIFICATION invalid ref 4 binder: 20428 RLIMIT_NICE not set binder: 20428 RLIMIT_NICE not set binder: undelivered TRANSACTION_ERROR: 29189 binder: release 20425:20428 transaction 114 in, still active binder: send failed reply for transaction 114 to 20425:20440 binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29189