BUG: sleeping function called from invalid context at net/core/sock.c:2761 in_atomic(): 1, irqs_disabled(): 0, pid: 6058, name: kworker/1:3 2 locks held by kworker/1:3/6058: #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: 6058 Comm: kworker/1:3 Not tainted 4.15.0-rc1+ #198 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: pencrypt 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 *** Guest State *** CR0: actual=0x0000000080000031, shadow=0x0000000060000011, gh_mask=fffffffffffffff7 CR4: actual=0x0000000000002050, shadow=0x0000000000000000, gh_mask=ffffffffffffe871 CR3 = 0x00000000fffbc000 RSP = 0x0000000000008000 RIP = 0x0000000000003000 RFLAGS=0x00000004 DR7 = 0x0000000000000400 Sysenter RSP=0000000000000000 CS:RIP=0000:0000000000000000 CS: sel=0x0010, attr=0x0009b, limit=0x000fffff, base=0x0000000000000000 DS: sel=0x0018, attr=0x00093, limit=0x000fffff, base=0x0000000000000000 SS: sel=0x0018, attr=0x00093, limit=0x000fffff, base=0x0000000000000000 ES: sel=0x0018, attr=0x00093, limit=0x000fffff, base=0x0000000000000000 FS: sel=0x0018, attr=0x00093, limit=0x000fffff, base=0x0000000000000000 GS: sel=0x0018, attr=0x00093, limit=0x000fffff, base=0x0000000000000000 GDTR: limit=0x000007ff, base=0x0000000000001000 LDTR: sel=0x0008, attr=0x04082, limit=0x000007ff, base=0x0000000000001800 IDTR: limit=0x0000ffff, base=0x0000000000000000 TR: sel=0x0000, attr=0x0008b, limit=0x0000ffff, base=0x0000000000000000 EFER = 0x0000000000000000 PAT = 0x0007040600070406 DebugCtl = 0x0000000000000000 DebugExceptions = 0x0000000000000000 Interruptibility = 00000000 ActivityState = 00000000 *** Host State *** RIP = 0xffffffff811bced3 RSP = 0xffff8801c41f74c8 CS=0010 SS=0018 DS=0000 ES=0000 FS=0000 GS=0000 TR=0040 FSBase=00007fb0694f1700 GSBase=ffff8801db500000 TRBase=ffff8801db523100 GDTBase=ffffffffff576000 IDTBase=ffffffffff57b000 CR0=0000000080050033 CR3=00000001c5001000 CR4=00000000001426e0 Sysenter RSP=0000000000000000 CS:RIP=0010:ffffffff8516bec0 EFER = 0x0000000000000d01 PAT = 0x0000000000000000 *** Control State *** PinBased=0000003f CPUBased=b699edfa SecondaryExec=0000004a EntryControls=0000d1ff ExitControls=0023efff ExceptionBitmap=00060042 PFECmask=00000000 PFECmatch=00000000 VMEntry: intr_info=00000000 errcode=00000000 ilen=00000000 VMExit: intr_info=00000000 errcode=00000000 ilen=00000002 reason=80000021 qualification=0000000000000000 IDTVectoring: info=00000000 errcode=00000000 TSC Offset = 0xffffffd771ffaef2 EPT pointer = 0x00000001bf3eb01e binder: 6611:6614 BC_DEAD_BINDER_DONE 0000000000000002 not found binder: 6611:6614 BC_FREE_BUFFER u0000000020007f72 no match binder: BINDER_SET_CONTEXT_MGR already set binder: 6611:6632 ioctl 40046207 0 returned -16 binder_alloc: 6611: binder_alloc_buf, no vma binder: 6611:6626 transaction failed 29189/-3, size 80-16 line 2870 binder: tried to use weak ref as strong ref binder: 6611:6614 got transaction to invalid handle binder: 6611:6614 transaction failed 29201/-22, size 0-32 line 2755 binder: undelivered TRANSACTION_ERROR: 29189 binder: release 6611:6614 transaction 22 out, still active binder: unexpected work type, 4, not freed binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29201 binder: send failed reply for transaction 22, target dead binder: release 6708:6711 transaction 30 out, still active binder: undelivered TRANSACTION_COMPLETE nla_parse: 6 callbacks suppressed netlink: 17 bytes leftover after parsing attributes in process `syz-executor0'. binder: BINDER_SET_CONTEXT_MGR already set binder: 6708:6724 ioctl 40046207 0 returned -16 binder_alloc: 6708: binder_alloc_buf, no vma binder: 6708:6736 transaction failed 29189/-3, size 0-0 line 2870 netlink: 17 bytes leftover after parsing attributes in process `syz-executor0'. binder: undelivered TRANSACTION_ERROR: 29189 binder: send failed reply for transaction 30, target dead device gre0 entered promiscuous mode kvm: pic: level sensitive irq not supported dccp_invalid_packet: P.CsCov 5 exceeds packet length 552 *** Guest State *** CR0: actual=0x0000000080000031, shadow=0x0000000060000010, gh_mask=fffffffffffffff7 CR4: actual=0x0000000000002051, shadow=0x0000000000000000, gh_mask=ffffffffffffe871 dccp_invalid_packet: P.CsCov 5 exceeds packet length 552 CR3 = 0x00000000fffbc000 RSP = 0x000000000000fffa RIP = 0x0000000000000f00 RFLAGS=0x00033000 DR7 = 0x0000000000000400 Sysenter RSP=0000000000000000 CS:RIP=0000:0000000000000000 CS: sel=0xd800, attr=0x000f3, limit=0x0000ffff, base=0x00000000000d8000 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 = 0xffff8801d07374c8 CS=0010 SS=0018 DS=0000 ES=0000 FS=0000 GS=0000 TR=0040 FSBase=00007f38063c8700 GSBase=ffff8801db400000 TRBase=ffff8801db423100 GDTBase=ffffffffff576000 IDTBase=ffffffffff57b000 CR0=0000000080050033 CR3=00000001ce9b1000 CR4=00000000001426f0 Sysenter RSP=0000000000000000 CS:RIP=0010:ffffffff8516bec0 kvm: vcpu 0: requested 68374 ns lapic timer period limited to 500000 ns EFER = 0x0000000000000d01 PAT = 0x0000000000000000 *** Control State *** PinBased=0000003f CPUBased=b6a1edfa SecondaryExec=00000043 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=00000003 kvm: vcpu 0: requested 68374 ns lapic timer period limited to 500000 ns reason=80000021 qualification=0000000000000000 IDTVectoring: info=00000000 errcode=00000000 TSC Offset = 0xffffffd66b4bc0f5 TPR Threshold = 0x00 EPT pointer = 0x00000001c3b9201e netlink: 16 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 16 bytes leftover after parsing attributes in process `syz-executor7'. device gre0 entered promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=6951 comm=syz-executor7 netlink: 64 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 64 bytes leftover after parsing attributes in process `syz-executor3'. device gre0 entered promiscuous mode netlink: 1 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor2'. kauditd_printk_skb: 89 callbacks suppressed audit: type=1326 audit(1511898170.641:401): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7107 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511898170.643:402): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7107 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=2 compat=0 ip=0x40cd11 code=0x7ffc0000 audit: type=1326 audit(1511898170.699:403): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7107 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 binder: undelivered death notification, 0000000000000000 audit: type=1326 audit(1511898170.699:404): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7107 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 binder: BINDER_SET_CONTEXT_MGR already set binder: 7119:7120 ioctl 40046207 0 returned -16 binder: undelivered death notification, 0000000000000000 audit: type=1326 audit(1511898170.725:405): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7107 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=54 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511898170.725:406): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7107 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511898170.725:407): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7107 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511898170.726:408): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7107 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=9 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511898170.726:409): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7107 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511898170.726:410): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7107 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 netlink: 5 bytes leftover after parsing attributes in process `syz-executor0'. device lo entered promiscuous mode netlink: 5 bytes leftover after parsing attributes in process `syz-executor0'. device gre0 entered promiscuous mode sctp: [Deprecated]: syz-executor6 (pid 7298) Use of int in max_burst socket option. Use struct sctp_assoc_value instead sctp: [Deprecated]: syz-executor6 (pid 7298) Use of int in max_burst socket option. Use struct sctp_assoc_value instead QAT: Invalid ioctl QAT: Invalid ioctl sock: process `syz-executor7' is using obsolete getsockopt SO_BSDCOMPAT QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=7573 comm=syz-executor4 nla_parse: 4 callbacks suppressed netlink: 3 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor7'. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=7623 comm=syz-executor2 netlink: 3 bytes leftover after parsing attributes in process `syz-executor7'. sctp: [Deprecated]: syz-executor5 (pid 7629) Use of struct sctp_assoc_value in delayed_ack socket option. Use struct sctp_sack_info instead device syz7 entered promiscuous mode loop_reread_partitions: partition scan of loop0 (2°]€fI¸Òæ¶Ì”B±!S,›ùDÏ') failed (rc=-13) loop: Write error at byte offset 18446744073709547520, length 512. print_req_error: I/O error, dev loop0, sector 0 Buffer I/O error on dev loop0, logical block 0, lost async page write loop: Write error at byte offset 18446744073709547520, length 512. print_req_error: I/O error, dev loop0, sector 0 Buffer I/O error on dev loop0, logical block 0, lost async page write loop_reread_partitions: partition scan of loop0 () failed (rc=-13) QAT: Invalid ioctl QAT: Invalid ioctl netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=9296 sclass=netlink_route_socket pig=7854 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=9296 sclass=netlink_route_socket pig=7854 comm=syz-executor2 netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=14917 sclass=netlink_route_socket pig=7882 comm=syz-executor6 device gre0 entered promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=14917 sclass=netlink_route_socket pig=7882 comm=syz-executor6 device gre0 entered promiscuous mode netlink: 3 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor1'. QAT: Invalid ioctl QAT: Invalid ioctl