BUG: sleeping function called from invalid context at net/core/sock.c:2761 in_atomic(): 1, irqs_disabled(): 0, pid: 9025, name: kworker/1:5 2 locks held by kworker/1:5/9025: #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: 9025 Comm: kworker/1:5 Not tainted 4.14.0-next-20171124+ #51 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:1467 [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:437 kauditd_printk_skb: 522 callbacks suppressed audit: type=1326 audit(1511603411.697:8456): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=27080 comm="syz-executor7" exe="/root/syz-executor7" sig=31 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0xffff0000 nla_parse: 14 callbacks suppressed netlink: 8 bytes leftover after parsing attributes in process `syz-executor4'. audit: type=1326 audit(1511603411.989:8457): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=27080 comm="syz-executor7" exe="/root/syz-executor7" sig=31 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0xffff0000 netlink: 8 bytes leftover after parsing attributes in process `syz-executor4'. Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable Disabled LAPIC found during irq injection Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable device gre0 entered promiscuous mode device gre0 entered promiscuous mode device gre0 entered promiscuous mode QAT: Invalid ioctl device gre0 entered promiscuous mode QAT: Invalid ioctl QAT: Invalid ioctl sctp: [Deprecated]: syz-executor1 (pid 27477) Use of int in maxseg socket option. Use struct sctp_assoc_value instead print_req_error: 298 callbacks suppressed print_req_error: I/O error, dev loop0, sector 0 print_req_error: I/O error, dev loop0, sector 0 buffer_io_error: 295 callbacks suppressed Buffer I/O error on dev loop0, logical block 0, async page read print_req_error: I/O error, dev loop0, sector 0 Buffer I/O error on dev loop0, logical block 0, async page read print_req_error: I/O error, dev loop0, sector 0 Buffer I/O error on dev loop0, logical block 0, async page read print_req_error: I/O error, dev loop0, sector 0 Buffer I/O error on dev loop0, logical block 0, async page read print_req_error: I/O error, dev loop0, sector 0 Buffer I/O error on dev loop0, logical block 0, async page read print_req_error: I/O error, dev loop0, sector 0 Buffer I/O error on dev loop0, logical block 0, async page read print_req_error: I/O error, dev loop0, sector 0 Buffer I/O error on dev loop0, logical block 0, async page read print_req_error: I/O error, dev loop0, sector 0 Buffer I/O error on dev loop0, logical block 0, async page read print_req_error: I/O error, dev loop0, sector 0 Buffer I/O error on dev loop0, logical block 0, async page read Buffer I/O error on dev loop0, logical block 0, async page read sctp: [Deprecated]: syz-executor1 (pid 27477) Use of int in maxseg socket option. Use struct sctp_assoc_value instead loop_reread_partitions: partition scan of loop0 () failed (rc=-13) device eql entered promiscuous mode device gre0 entered promiscuous mode netlink: 2 bytes leftover after parsing attributes in process `syz-executor6'. device gre0 entered promiscuous mode device gre0 entered promiscuous mode netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. QAT: failed to copy from user cfg_data. netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. QAT: failed to copy from user cfg_data. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=5 sclass=netlink_route_socket pig=27763 comm=syz-executor1 device gre0 entered promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=5 sclass=netlink_route_socket pig=27767 comm=syz-executor1 QAT: Invalid ioctl QAT: Invalid ioctl netlink: 13 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 13 bytes leftover after parsing attributes in process `syz-executor7'. device sit0 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): sit0: link is not ready kvm_hv_get_msr: 1 callbacks suppressed kvm [27923]: vcpu0, guest rIP: 0x9135 Hyper-V unhandled rdmsr: 0x4000008f IPv6: ADDRCONF(NETDEV_UP): sit0: link is not ready kvm [27923]: vcpu0, guest rIP: 0x9135 Hyper-V unhandled rdmsr: 0x4000008e SELinux: unrecognized netlink message: protocol=0 nlmsg_type=5 sclass=netlink_route_socket pig=27974 comm=syz-executor0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=27974 comm=syz-executor0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=5 sclass=netlink_route_socket pig=27974 comm=syz-executor0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=27982 comm=syz-executor0 netlink: 3 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor5'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor5'. insert transport fail, errno -17 audit: type=1326 audit(1511603417.721:8458): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=28064 comm=656D3173797374656D2176626F78EE exe="/root/syz-executor0" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511603417.722:8459): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=28064 comm="syz-executor0" exe="/root/syz-executor0" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511603417.722:8460): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=28064 comm="syz-executor0" exe="/root/syz-executor0" sig=0 arch=c000003e syscall=228 compat=0 ip=0x45561a code=0x7ffc0000 audit: type=1326 audit(1511603417.722:8461): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=28064 comm="syz-executor0" exe="/root/syz-executor0" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511603417.723:8462): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=28064 comm=656D3173797374656D2176626F78EE exe="/root/syz-executor0" sig=0 arch=c000003e syscall=103 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511603417.733:8463): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=28064 comm=656D3173797374656D2176626F78EE exe="/root/syz-executor0" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511603417.735:8464): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=28064 comm="syz-executor0" exe="/root/syz-executor0" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511603417.735:8465): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=28064 comm="syz-executor0" exe="/root/syz-executor0" sig=0 arch=c000003e syscall=228 compat=0 ip=0x45561a code=0x7ffc0000 audit: type=1326 audit(1511603417.735:8466): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=28064 comm="syz-executor0" exe="/root/syz-executor0" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511603417.736:8467): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=28064 comm=656D3173797374656D2176626F78EE exe="/root/syz-executor0" sig=0 arch=c000003e syscall=2 compat=0 ip=0x40cbb1 code=0x7ffc0000 sctp: [Deprecated]: syz-executor1 (pid 28157) Use of struct sctp_assoc_value in delayed_ack socket option. Use struct sctp_sack_info instead sctp: [Deprecated]: syz-executor1 (pid 28157) Use of struct sctp_assoc_value in delayed_ack socket option. Use struct sctp_sack_info instead sctp: [Deprecated]: syz-executor4 (pid 28184) Use of struct sctp_assoc_value in delayed_ack socket option. Use struct sctp_sack_info instead could not allocate digest TFM handle md1*0 could not allocate digest TFM handle md1*0 encrypted_key: master key parameter '`T$A3cFũ\38"_8' is invalid encrypted_key: master key parameter '`T$A3cFũ\38"_8' is invalid sg_write: data in/out 45116/228 bytes for SCSI command 0x0-- guessing data in; program syz-executor3 not setting count and/or reply_len properly SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=28400 comm=syz-executor2 sg_write: data in/out 45116/228 bytes for SCSI command 0x0-- guessing data in; program syz-executor3 not setting count and/or reply_len properly 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 10 27 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 00 00 00 00 00 00 00 sd 0:0:1:0: [sg0] tag#0 CDB[30]: 00 00 00 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 10 27 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 00 00 00 00 00 00 00 sd 0:0:1:0: [sg0] tag#0 CDB[30]: 00 00 00 00 00 00 00 00 00 00 00 00