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+ #197 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 device lo entered promiscuous mode 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 print_req_error: I/O error, dev loop0, sector 0 print_req_error: I/O error, dev loop0, sector 0 nla_parse: 4 callbacks suppressed netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. binder: 25380:25385 ERROR: BC_REGISTER_LOOPER called without request binder: 25385 RLIMIT_NICE not set binder_alloc: 25380: binder_alloc_buf, no vma binder: 25380:25394 transaction failed 29189/-3, size 0-0 line 2870 netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. binder: BINDER_SET_CONTEXT_MGR already set binder: 25380:25404 ioctl 40046207 0 returned -16 netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. binder: 25380:25394 ERROR: BC_REGISTER_LOOPER called without request binder: 25394 RLIMIT_NICE not set binder_alloc: 25380: binder_alloc_buf, no vma binder: 25380:25404 transaction failed 29189/-3, size 0-0 line 2870 binder: undelivered TRANSACTION_ERROR: 29189 device gre0 entered promiscuous mode binder: undelivered TRANSACTION_ERROR: 29189 netlink: 8 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor1'. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=258 sclass=netlink_route_socket pig=25515 comm=syz-executor6 Disabled LAPIC found during irq injection QAT: Invalid ioctl SELinux: unrecognized netlink message: protocol=0 nlmsg_type=258 sclass=netlink_route_socket pig=25517 comm=syz-executor6 QAT: Invalid ioctl encrypted_key: master key parameter 'nŽ©°'…‚­_§èKm½…üÏ}¿‚:iä°þQ$t‚¸xµ„oUûVK\vLj$4_‡V™b¢jL' is invalid encrypted_key: master key parameter 'nŽ©°'…‚­_§èKm½…üÏ}¿‚:iä°þQ$t‚¸xµ„oUûVK\vLj$4_‡V™b¢jL' is invalid netlink: 62 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 62 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 5 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 5 bytes leftover after parsing attributes in process `syz-executor7'. device gre0 entered promiscuous mode QAT: Invalid ioctl QAT: Invalid ioctl kauditd_printk_skb: 287 callbacks suppressed audit: type=1326 audit(1511870284.878:6414): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=25916 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511870284.878:6415): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=25916 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511870284.886:6416): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=25916 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=79 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511870284.886:6417): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=25916 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511870284.886:6418): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=25916 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511870284.888:6419): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=25916 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=166 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511870284.888:6420): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=25916 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511870284.888:6421): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=25916 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511870284.889:6422): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=25916 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=290 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511870284.889:6423): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=25916 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 QAT: Invalid ioctl QAT: Invalid ioctl pit: kvm: requested 4190 ns i8254 timer period limited to 500000 ns pit: kvm: requested 4190 ns i8254 timer period limited to 500000 ns device gre0 entered promiscuous mode device gre0 entered promiscuous mode device gre0 entered promiscuous mode device lo left promiscuous mode IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready QAT: Invalid ioctl QAT: Invalid ioctl device gre0 entered promiscuous mode device gre0 entered promiscuous mode device gre0 entered promiscuous mode device gre0 left promiscuous mode device gre0 entered promiscuous mode binder: 26231:26233 BC_ACQUIRE_DONE node 171 has no pending acquire request binder: 26237:26239 BC_ACQUIRE_DONE u0000000000000000 no match nla_parse: 5 callbacks suppressed netlink: 4 bytes leftover after parsing attributes in process `syz-executor2'. binder: 26231:26233 ioctl c0306201 20002fd0 returned -11 device lo left promiscuous mode netlink: 4 bytes leftover after parsing attributes in process `syz-executor2'. binder: 26231:26233 BC_ACQUIRE_DONE node 172 has no pending acquire request device lo entered promiscuous mode device lo left promiscuous mode binder: 26237:26247 BC_ACQUIRE_DONE u0000000000000000 no match device syz7 entered promiscuous mode IPv6: ADDRCONF(NETDEV_CHANGE): syz7: link becomes ready device gre0 entered promiscuous mode IPv6: ADDRCONF(NETDEV_CHANGE): syz7: link becomes ready loop_reread_partitions: partition scan of loop0 (2°]€fI¸Òæ¶Ì”B±!S,›ùDÏ') failed (rc=-13) device gre0 entered promiscuous mode 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 Disabled LAPIC found during irq injection Disabled LAPIC found during irq injection loop_reread_partitions: partition scan of loop0 () failed (rc=-13) device gre0 entered promiscuous mode device gre0 entered promiscuous mode binder: 26701:26704 ERROR: BC_REGISTER_LOOPER called without request binder: 26701:26704 BC_DEAD_BINDER_DONE 0000000000000003 not found binder: 26704 RLIMIT_NICE not set sock: sock_set_timeout: `syz-executor1' (pid 26699) tries to set negative timeout binder: 26701:26722 ERROR: BC_REGISTER_LOOPER called without request binder: 26701:26722 BC_DEAD_BINDER_DONE 0000000000000003 not found binder: 26722 RLIMIT_NICE not set sock: sock_set_timeout: `syz-executor1' (pid 26731) tries to set negative timeout QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl device eql entered promiscuous mode device gre0 entered promiscuous mode kauditd_printk_skb: 127 callbacks suppressed audit: type=1326 audit(1511870289.898:6551): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=26828 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 device gre0 entered promiscuous mode ICMPv6: NA: bb:bb:bb:bb:bb:01 advertised our address fe80::1aa on syz1! audit: type=1326 audit(1511870289.929:6552): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=26828 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=257 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511870289.929:6553): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=26828 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511870289.930:6554): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=26828 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511870289.935:6555): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=26828 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=29 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511870289.935:6556): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=26828 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511870289.935:6557): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=26828 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511870289.935:6558): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=26828 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=39 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511870289.935:6559): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=26828 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 audit: type=1326 audit(1511870289.936:6560): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=26828 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=202 compat=0 ip=0x4529d9 code=0x7ffc0000 sock: sock_set_timeout: `syz-executor0' (pid 26971) tries to set negative timeout sock: sock_set_timeout: `syz-executor0' (pid 26971) tries to set negative timeout ICMPv6: NA: bb:bb:bb:bb:bb:06 advertised our address fe80::6aa on syz6! ICMPv6: NA: bb:bb:bb:bb:bb:06 advertised our address fe80::6aa on syz6!