BUG: sleeping function called from invalid context at net/core/sock.c:2761 in_atomic(): 1, irqs_disabled(): 0, pid: 23, name: kworker/1:1 2 locks held by kworker/1:1/23: #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: 23 Comm: kworker/1:1 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 device gre0 entered promiscuous mode tc_dump_action: action bad kind tc_dump_action: action bad kind device gre0 entered promiscuous mode nla_parse: 6 callbacks suppressed netlink: 2 bytes leftover after parsing attributes in process `syz-executor0'. Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable netlink: 2 bytes leftover after parsing attributes in process `syz-executor0'. device gre0 entered promiscuous mode dccp_invalid_packet: pskb_may_pull failed dccp_invalid_packet: P.Data Offset(0) too small netlink: 37 bytes leftover after parsing attributes in process `syz-executor7'. dccp_invalid_packet: pskb_may_pull failed dccp_invalid_packet: P.Data Offset(0) too small netlink: 37 bytes leftover after parsing attributes in process `syz-executor7'. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=7851 sclass=netlink_route_socket pig=4714 comm=syz-executor2 QAT: Invalid ioctl QAT: Invalid ioctl netlink: 1 bytes leftover after parsing attributes in process `syz-executor6'. QAT: Invalid ioctl QAT: Invalid ioctl netlink: 1 bytes leftover after parsing attributes in process `syz-executor6'. 9pnet_virtio: no channels available for device ./file0 QAT: Invalid ioctl SELinux: unrecognized netlink message: protocol=0 nlmsg_type=7851 sclass=netlink_route_socket pig=4730 comm=syz-executor2 9pnet_virtio: no channels available for device ./file0 QAT: Invalid ioctl dccp_invalid_packet: pskb_may_pull failed dccp_invalid_packet: pskb_may_pull failed device lo entered promiscuous mode IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready device lo left promiscuous mode device lo entered promiscuous mode device lo left promiscuous mode netlink: 16 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 16 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor7'. device gre0 entered promiscuous mode sctp: [Deprecated]: syz-executor0 (pid 4965) Use of int in maxseg socket option. Use struct sctp_assoc_value instead sctp: [Deprecated]: syz-executor0 (pid 4970) Use of int in maxseg socket option. Use struct sctp_assoc_value instead device syz0 entered promiscuous mode futex_wake_op: syz-executor6 tries to shift op by 4095; fix this program futex_wake_op: syz-executor6 tries to shift op by 4095; fix this program kauditd_printk_skb: 197 callbacks suppressed audit: type=1326 audit(1511919113.426:24058): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=5128 comm="syz-executor0" exe="/root/syz-executor0" sig=31 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0xffff0000 device gre0 entered promiscuous mode audit: type=1326 audit(1511919113.563:24059): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=5128 comm="syz-executor0" exe="/root/syz-executor0" sig=31 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0xffff0000 loop_reread_partitions: partition scan of loop0 (2°]€fI¸Òæ¶Ì”B±!S,›ùDÏ') failed (rc=-13) audit: type=1326 audit(1511919114.180:24060): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=5268 comm="syz-executor4" exe="/root/syz-executor4" sig=31 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0xffff0000 rpcbind: RPC call returned error 22 audit: type=1326 audit(1511919114.335:24061): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=5268 comm="syz-executor4" exe="/root/syz-executor4" sig=31 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0xffff0000 *** 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 = 0xffff8801d3caf4c8 CS=0010 SS=0018 DS=0000 ES=0000 FS=0000 GS=0000 TR=0040 FSBase=00007f7357b15700 GSBase=ffff8801db500000 TRBase=ffff8801db523100 GDTBase=ffffffffff576000 IDTBase=ffffffffff57b000 CR0=0000000080050033 CR3=00000001d3b14000 CR4=00000000001426e0 Sysenter RSP=0000000000000000 CS:RIP=0010:ffffffff8516bec0 EFER = 0x0000000000000d01 PAT = 0x0000000000000000 loop_reread_partitions: partition scan of loop0 () failed (rc=-13) *** 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=00000003 reason=80000021 qualification=0000000000000000 IDTVectoring: info=00000000 errcode=00000000 TSC Offset = 0xfffffeff9b88d2c3 EPT pointer = 0x00000001d3c9d01e binder: 5385:5392 BC_FREE_BUFFER u0000000000000000 no match binder: 5385:5392 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 5385:5392 BC_ACQUIRE_DONE u0000000000000000 node 609 cookie mismatch 0000000000000004 != 0000000000000000 QAT: Invalid ioctl binder: 5385:5392 unknown command 0 binder: 5385:5392 ioctl c0306201 20009fd0 returned -22 binder: BINDER_SET_CONTEXT_MGR already set binder: 5385:5406 ioctl 40046207 0 returned -16 binder: 5385:5404 BC_FREE_BUFFER u0000000000000000 no match binder: 5385:5404 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 5385:5404 BC_ACQUIRE_DONE u0000000000000000 no match binder_alloc: 5385: binder_alloc_buf, no vma binder: 5385:5404 transaction failed 29189/-3, size 40-8 line 2870 binder: 5385:5404 ioctl c0306201 20009fd0 returned -14 QAT: Invalid ioctl binder: undelivered TRANSACTION_ERROR: 29189 QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl nla_parse: 3 callbacks suppressed netlink: 8 bytes leftover after parsing attributes in process `syz-executor5'. netlink: 2 bytes leftover after parsing attributes in process `syz-executor0'. netlink: 2 bytes leftover after parsing attributes in process `syz-executor0'. QAT: Invalid ioctl QAT: Invalid ioctl netlink: 5 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 5 bytes leftover after parsing attributes in process `syz-executor4'. binder: 5800:5803 got transaction with invalid offsets size, 4 binder: 5800:5803 transaction failed 29201/-22, size 0-4 line 2906 RDS: rds_bind could not find a transport for 172.20.1.170, load rds_tcp or rds_rdma? binder: BINDER_SET_CONTEXT_MGR already set binder: 5800:5803 ioctl 40046207 0 returned -16 binder_alloc: binder_alloc_mmap_handler: 5800 20005000-20009000 already mapped failed -16 binder_alloc: binder_alloc_mmap_handler: 5800 2055a000-2055c000 already mapped failed -16 loop_reread_partitions: partition scan of loop0 (2°]€fI¸Òæ¶Ì”B±!S,›ùDÏ') failed (rc=-13) print_req_error: I/O error, dev loop0, sector 0 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 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 binder: BINDER_SET_CONTEXT_MGR already set binder: 5800:5813 ioctl 40046207 0 returned -16 binder_alloc: 5800: binder_alloc_buf, no vma binder: 5800:5813 transaction failed 29189/-3, size 0-4 line 2870 binder: BINDER_SET_CONTEXT_MGR already set binder: 5800:5813 ioctl 40046207 0 returned -16 binder_alloc: binder_alloc_mmap_handler: 5800 20005000-20009000 already mapped failed -16 loop_reread_partitions: partition scan of loop0 () failed (rc=-13) binder_alloc: binder_alloc_mmap_handler: 5800 2055a000-2055c000 already mapped failed -16 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29201 RDS: rds_bind could not find a transport for 172.20.1.170, load rds_tcp or rds_rdma? binder: 5836:5841 BC_REQUEST_DEATH_NOTIFICATION invalid ref 2 binder: 5836:5841 BC_ACQUIRE_DONE node 614 has no pending acquire request binder: 5836:5841 BC_REQUEST_DEATH_NOTIFICATION invalid ref 3 binder: 5836:5841 Release 1 refcount change on invalid ref 2 ret -22 binder: 5836:5841 DecRefs 0 refcount change on invalid ref 3 ret -22 binder: 5836:5841 DecRefs 0 refcount change on invalid ref 3 ret -22 binder: 5836:5841 BC_REQUEST_DEATH_NOTIFICATION invalid ref 4 binder: 5836:5841 BC_REQUEST_DEATH_NOTIFICATION invalid ref 4 binder: 5841 RLIMIT_NICE not set kvm: vcpu 0: requested 68374 ns lapic timer period limited to 500000 ns binder: 5836:5849 ioctl 40046205 7f returned -22 binder: 5841 RLIMIT_NICE not set binder: BINDER_SET_CONTEXT_MGR already set binder: 5836:5841 ioctl 40046207 0 returned -16 binder: 5836:5841 BC_REQUEST_DEATH_NOTIFICATION invalid ref 2 binder: 5836:5841 BC_ACQUIRE_DONE node 614 has no pending acquire request binder: 5836:5841 BC_REQUEST_DEATH_NOTIFICATION invalid ref 3 binder: 5836:5841 Release 1 refcount change on invalid ref 2 ret -22 binder: 5836:5841 DecRefs 0 refcount change on invalid ref 3 ret -22 binder: 5836:5841 DecRefs 0 refcount change on invalid ref 3 ret -22 binder: 5836:5841 BC_REQUEST_DEATH_NOTIFICATION invalid ref 4 binder: 5836:5841 BC_REQUEST_DEATH_NOTIFICATION invalid ref 4 binder: 5836:5849 ioctl 40046205 7f returned -22 binder_alloc: binder_alloc_mmap_handler: 5836 20000000-20001000 already mapped failed -16 binder: 5836:5849 got new transaction with bad transaction stack, transaction 616 has target 5836:5841 binder: 5836:5849 transaction failed 29201/-71, size 0-0 line 2782 binder: release 5836:5841 transaction 616 in, still active binder: send failed reply for transaction 616 to 5836:5849 binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29201 binder: undelivered TRANSACTION_ERROR: 29189 kvm: vcpu 0: requested 68374 ns lapic timer period limited to 500000 ns SELinux: unrecognized netlink message: protocol=6 nlmsg_type=514 sclass=netlink_xfrm_socket pig=5934 comm=syz-executor0 SELinux: unrecognized netlink message: protocol=6 nlmsg_type=514 sclass=netlink_xfrm_socket pig=5934 comm=syz-executor0 device gre0 entered promiscuous mode device gre0 entered promiscuous mode netlink: 2 bytes leftover after parsing attributes in process `syz-executor3'. binder: 6033:6034 ioctl 40046205 3ffffffd returned -22 netlink: 2 bytes leftover after parsing attributes in process `syz-executor3'. binder: 6033:6044 ERROR: BC_REGISTER_LOOPER called without request binder: 6044 RLIMIT_NICE not set binder: 6033:6049 ioctl c0306201 20007000 returned -14 binder: 6033:6049 unknown command 1400526783 binder: 6033:6049 ioctl c0306201 20002fd0 returned -22 binder: 6033:6049 got reply transaction with no transaction stack binder: 6033:6049 transaction failed 29201/-71, size 24-8 line 2670 binder: 6033:6044 ioctl 40046205 6 returned -22 binder: 6033:6049 ioctl 40046205 3ffffffd returned -22 binder: BINDER_SET_CONTEXT_MGR already set binder: 6033:6063 ioctl 40046207 0 returned -16 binder: 6033:6049 ERROR: BC_REGISTER_LOOPER called without request binder: 6049 RLIMIT_NICE not set binder: 6033:6063 got transaction to invalid handle binder: 6033:6063 transaction failed 29201/-22, size 0-0 line 2755 binder: 6033:6063 unknown command 1400526783 binder: 6033:6063 ioctl c0306201 20002fd0 returned -22 binder: 6033:6044 BC_FREE_BUFFER u0000000000000000 no match binder: 6033:6044 IncRefs 0 refcount change on invalid ref 1 ret -22