BUG: sleeping function called from invalid context at net/core/sock.c:2761 in_atomic(): 1, irqs_disabled(): 0, pid: 5088, name: kworker/1:4 2 locks held by kworker/1:4/5088: #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: 5088 Comm: kworker/1:4 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 netlink: 9 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 9 bytes leftover after parsing attributes in process `syz-executor1'. xprt_adjust_timeout: rq_timeout = 0! xprt_adjust_timeout: rq_timeout = 0! audit: type=1326 audit(1511734366.420:259): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=5601 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=2 compat=0 ip=0x40cbb1 code=0x7ffc0000 audit: type=1326 audit(1511734366.420:260): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=5601 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511734366.420:261): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=5601 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511734366.431:262): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=5601 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=191 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511734366.432:263): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=5601 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511734366.432:264): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=5601 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=52 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511734366.432:265): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=5601 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511734366.432:266): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=5601 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=9 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511734366.433:267): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=5601 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 QAT: Invalid ioctl QAT: Invalid ioctl tmpfs: No value for mount option '‹¶K"WöËO¢©S£d€Yl®' tmpfs: No value for mount option '‹¶K"WöËO¢©S£d€Yl®' print_req_error: 120 callbacks suppressed print_req_error: I/O error, dev loop0, sector 0 buffer_io_error: 120 callbacks suppressed Buffer I/O error on dev loop0, logical block 0, lost async page write print_req_error: I/O error, dev loop0, sector 8 Buffer I/O error on dev loop0, logical block 1, lost async page write print_req_error: I/O error, dev loop0, sector 16 Buffer I/O error on dev loop0, logical block 2, lost async page write print_req_error: I/O error, dev loop0, sector 24 Buffer I/O error on dev loop0, logical block 3, lost async page write print_req_error: I/O error, dev loop0, sector 32 Buffer I/O error on dev loop0, logical block 4, lost async page write print_req_error: I/O error, dev loop0, sector 40 Buffer I/O error on dev loop0, logical block 5, lost async page write print_req_error: I/O error, dev loop0, sector 48 Buffer I/O error on dev loop0, logical block 6, lost async page write print_req_error: I/O error, dev loop0, sector 56 Buffer I/O error on dev loop0, logical block 7, lost async page write print_req_error: I/O error, dev loop0, sector 64 Buffer I/O error on dev loop0, logical block 8, lost async page write print_req_error: I/O error, dev loop0, sector 72 Buffer I/O error on dev loop0, logical block 9, lost async page write *** Guest State *** CR0: actual=0x0000000080000031, shadow=0x0000000060000011, gh_mask=fffffffffffffff7 CR4: actual=0x0000000000006050, shadow=0x0000000000004000, gh_mask=ffffffffffffe871 CR3 = 0x00000000fffbc000 device gre0 entered promiscuous mode RSP = 0x0000000000000f80 RIP = 0x0000000000000000 RFLAGS=0x00000002 DR7 = 0x0000000000000400 Sysenter RSP=0000000000000f80 CS:RIP=0030:0000000000002810 CS: sel=0x0030, attr=0x0409b, limit=0x000fffff, base=0x0000000000000000 DS: sel=0x0038, attr=0x04093, limit=0x000fffff, base=0x0000000000000000 could not allocate digest TFM handle cast6 could not allocate digest TFM handle cast6 device sit0 entered promiscuous mode SS: sel=0x0038, attr=0x04093, limit=0x000fffff, base=0x0000000000000000 ES: sel=0x0038, attr=0x04093, limit=0x000fffff, base=0x0000000000000000 FS: sel=0x0038, attr=0x04093, limit=0x000fffff, base=0x0000000000000000 device sit0 left promiscuous mode device sit0 entered promiscuous mode GS: sel=0x0038, attr=0x04093, limit=0x000fffff, base=0x0000000000000000 GDTR: limit=0x000007ff, base=0x0000000000001000 LDTR: sel=0x0008, attr=0x04082, limit=0x000007ff, base=0x0000000000001800 IDTR: limit=0x000001ff, base=0x0000000000003800 TR: sel=0x0000, attr=0x0008b, limit=0x0000ffff, base=0x0000000000000000 EFER = 0x0000000000000001 PAT = 0x0007040600070406 DebugCtl = 0x0000000000000000 DebugExceptions = 0x0000000000000000 Interruptibility = 00000008 ActivityState = 00000000 *** Host State *** RIP = 0xffffffff811be573 RSP = 0xffff8801cedcf4c8 CS=0010 SS=0018 DS=0000 ES=0000 FS=0000 GS=0000 TR=0040 FSBase=00007f5d451f3700 GSBase=ffff8801db400000 TRBase=ffff8801db423140 GDTBase=ffffffffff577000 IDTBase=ffffffffff57b000 CR0=0000000080050033 CR3=00000001c8e4a000 CR4=00000000001426f0 Sysenter RSP=0000000000000000 CS:RIP=0010:ffffffff85143e70 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=00000000 reason=80000021 qualification=0000000000000000 IDTVectoring: info=00000000 errcode=00000000 TSC Offset = 0xffffffe1a11cb59e EPT pointer = 0x00000001ced2801e device lo entered promiscuous mode device sit0 entered promiscuous mode device sit0 left promiscuous mode device sit0 entered promiscuous mode raw_sendmsg: syz-executor5 forgot to set AF_INET. Fix it! device sit0 left promiscuous mode sg_write: data in/out 156/14 bytes for SCSI command 0x85-- guessing data in; program syz-executor0 not setting count and/or reply_len properly sg_write: data in/out 156/14 bytes for SCSI command 0x85-- guessing data in; program syz-executor0 not setting count and/or reply_len properly QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl mmap: syz-executor2 (6368): VmData 8179712 exceed data ulimit 7. Update limits or use boot option ignore_rlimit_data. QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl nla_parse: 10 callbacks suppressed netlink: 13 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 13 bytes leftover after parsing attributes in process `syz-executor6'. handle_userfault: 116 callbacks suppressed FAULT_FLAG_ALLOW_RETRY missing 30 FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 0 PID: 6425 Comm: syz-executor0 Tainted: G W 4.14.0-next-20171124+ #51 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 handle_userfault+0x12fa/0x24c0 fs/userfaultfd.c:427 do_anonymous_page mm/memory.c:3109 [inline] handle_pte_fault mm/memory.c:3922 [inline] __handle_mm_fault+0x3402/0x3dd0 mm/memory.c:4048 handle_mm_fault+0x38f/0x930 mm/memory.c:4085 __do_page_fault+0x5c9/0xc90 arch/x86/mm/fault.c:1429 do_page_fault+0xee/0x720 arch/x86/mm/fault.c:1504 page_fault+0x22/0x30 arch/x86/entry/entry_64.S:1088 RIP: 0010:fault_in_pages_readable include/linux/pagemap.h:601 [inline] RIP: 0010:iov_iter_fault_in_readable+0x1a7/0x410 lib/iov_iter.c:421 RSP: 0018:ffff8801c55b7928 EFLAGS: 00010246 RAX: 0000000000010000 RBX: 0000000020011fd2 RCX: ffffffff8250c7e1 RDX: 00000000000000c6 RSI: ffffc90001303000 RDI: ffff8801c55b7d28 RBP: ffff8801c55b7a08 R08: 1ffff100383a0da2 R09: 0000000000000000 R10: ffff8801d8c2e500 R11: 0000000000000000 R12: 1ffff10038ab6f28 R13: ffff8801c55b79e0 R14: 0000000000000000 R15: ffff8801c55b7d20 generic_perform_write+0x200/0x600 mm/filemap.c:3128 __generic_file_write_iter+0x366/0x5b0 mm/filemap.c:3263 generic_file_write_iter+0x399/0x7a0 mm/filemap.c:3291 call_write_iter include/linux/fs.h:1772 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x68a/0x970 fs/read_write.c:482 vfs_write+0x18f/0x510 fs/read_write.c:544 SYSC_write fs/read_write.c:589 [inline] SyS_write+0xef/0x220 fs/read_write.c:581 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452879 RSP: 002b:00007fc1206e9be8 EFLAGS: 00000212 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 0000000000452879 RDX: 0000000000000030 RSI: 0000000020011fd2 RDI: 0000000000000014 RBP: 0000000000000086 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006ed8e0 R13: 00000000ffffffff R14: 00007fc1206ea6d4 R15: 0000000000000000 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'. device gre0 entered promiscuous mode CPU: 1 PID: 6438 Comm: syz-executor0 Tainted: G W 4.14.0-next-20171124+ #51 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 handle_userfault+0x12fa/0x24c0 fs/userfaultfd.c:427 do_anonymous_page mm/memory.c:3109 [inline] handle_pte_fault mm/memory.c:3922 [inline] __handle_mm_fault+0x3402/0x3dd0 mm/memory.c:4048 handle_mm_fault+0x38f/0x930 mm/memory.c:4085 __do_page_fault+0x5c9/0xc90 arch/x86/mm/fault.c:1429 do_page_fault+0xee/0x720 arch/x86/mm/fault.c:1504 page_fault+0x22/0x30 arch/x86/entry/entry_64.S:1088 RIP: 0010:copy_user_generic_unrolled+0x9e/0xc0 arch/x86/lib/copy_user_64.S:74 RSP: 0018:ffff8801cc0ff880 EFLAGS: 00010202 RAX: ffffed003981ffd5 RBX: 0000000020011ffc RCX: 0000000000000004 RDX: 0000000000000004 RSI: 0000000020011ffc RDI: ffff8801cc0ffea0 RBP: ffff8801cc0ff8b0 R08: ffffed003981ffd5 R09: ffffed003981ffd5 R10: 0000000000000001 R11: ffffed003981ffd4 R12: 0000000000000004 R13: ffff8801cc0ffea0 R14: 00007ffffffff000 R15: 0000000020012000 copy_from_user include/linux/uaccess.h:147 [inline] SYSC_bpf kernel/bpf/syscall.c:1699 [inline] SyS_bpf+0x2c4/0x4410 kernel/bpf/syscall.c:1685 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452879 RSP: 002b:00007fc1206a7be8 EFLAGS: 00000212 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 0000000000758190 RCX: 0000000000452879 RDX: 0000000000000004 RSI: 0000000020011ffc RDI: 000000000000000b RBP: 0000000000000086 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f2608 R13: 00000000ffffffff R14: 00007fc1206a86d4 R15: 000000000000000d futex_wake_op: syz-executor7 tries to shift op by 4095; fix this program netlink: 3 bytes leftover after parsing attributes in process `syz-executor7'. futex_wake_op: syz-executor7 tries to shift op by 4095; fix this program netlink: 3 bytes leftover after parsing attributes in process `syz-executor7'. audit: type=1326 audit(1511734373.438:383): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=6633 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511734373.438:384): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=6633 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511734373.438:385): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=6633 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=53 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511734373.438:386): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=6633 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511734373.438:387): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=6633 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511734373.438:388): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=6633 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=16 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511734373.438:389): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=6633 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511734373.438:390): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=6633 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 device gre0 entered promiscuous mode device lo entered promiscuous mode dccp_v6_rcv: dropped packet with invalid checksum device lo left promiscuous mode SELinux: unknown mount option SELinux: unknown mount option netlink: 13 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 13 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 5 bytes leftover after parsing attributes in process `syz-executor2'. QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl loop_reread_partitions: partition scan of loop0 (2°]€fI¸Òæ¶Ì”B±!S,›ùDÏ') failed (rc=-13) device syz3 entered promiscuous mode loop: Write error at byte offset 18446744073709547520, length 512. print_req_error: 7 callbacks suppressed print_req_error: I/O error, dev loop0, sector 0 buffer_io_error: 7 callbacks suppressed Buffer I/O error on dev loop0, logical block 0, lost async page write loop_reread_partitions: partition scan of loop0 () failed (rc=-13) device lo entered promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=9296 sclass=netlink_route_socket pig=7151 comm=syz-executor7 device ip6tnl0 entered promiscuous mode syz-executor7 (7188) used greatest stack depth: 14192 bytes left