BUG: sleeping function called from invalid context at net/core/sock.c:2761 in_atomic(): 1, irqs_disabled(): 0, pid: 6832, name: kworker/1:5 2 locks held by kworker/1:5/6832: #0: ((wq_completion)"%s"name){+.+.}, at: [] __write_once_size include/linux/compiler.h:207 [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: 6832 Comm: kworker/1:5 Not tainted 4.14.0+ #192 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: pdecrypt 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:437 loop_reread_partitions: partition scan of loop0 (2]fIB!S,D') failed (rc=-13) loop_reread_partitions: partition scan of loop0 () failed (rc=-13) loop_reread_partitions: partition scan of loop0 (2]fIB!S,D') failed (rc=-13) loop_reread_partitions: partition scan of loop0 () failed (rc=-13) kvm: apic: phys broadcast and lowest prio 9pnet_virtio: no channels available for device ./file0 netlink: 2 bytes leftover after parsing attributes in process `syz-executor0'. 9pnet_virtio: no channels available for device ./file0 kvm: apic: phys broadcast and lowest prio netlink: 2 bytes leftover after parsing attributes in process `syz-executor0'. kvm: vcpu 0: requested 68374 ns lapic timer period limited to 500000 ns QAT: Invalid ioctl QAT: Invalid ioctl syz-executor5 (27698) used greatest stack depth: 16080 bytes left netlink: 3 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor2'. QAT: Invalid ioctl QAT: Invalid ioctl sctp: [Deprecated]: syz-executor1 (pid 27791) Use of int in max_burst socket option deprecated. Use struct sctp_assoc_value instead sctp: [Deprecated]: syz-executor1 (pid 27828) Use of int in max_burst socket option deprecated. Use struct sctp_assoc_value instead device eql entered promiscuous mode device gre0 entered promiscuous mode loop_reread_partitions: partition scan of loop0 (2]fIB!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_reread_partitions: partition scan of loop0 () failed (rc=-13) kauditd_printk_skb: 58 callbacks suppressed audit: type=1326 audit(1511559957.094:7324): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=27968 comm="syz-executor7" exe="/root/syz-executor7" sig=31 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0xffff0000 audit: type=1326 audit(1511559957.212:7325): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=27968 comm="syz-executor7" exe="/root/syz-executor7" sig=31 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x0 device gre0 entered promiscuous mode audit: type=1326 audit(1511559957.333:7326): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=27968 comm="syz-executor7" exe="/root/syz-executor7" sig=31 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x0 audit: type=1326 audit(1511559957.379:7327): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=28024 comm="syz-executor1" exe="/root/syz-executor1" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511559957.389:7328): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=28024 comm="syz-executor1" exe="/root/syz-executor1" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511559957.389:7329): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=28024 comm="syz-executor1" exe="/root/syz-executor1" sig=0 arch=c000003e syscall=228 compat=0 ip=0x45561a code=0x7ffc0000 audit: type=1326 audit(1511559957.389:7330): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=28024 comm="syz-executor1" exe="/root/syz-executor1" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511559957.390:7331): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=28024 comm="syz-executor1" exe="/root/syz-executor1" sig=0 arch=c000003e syscall=317 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511559957.401:7332): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=28024 comm="syz-executor1" exe="/root/syz-executor1" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511559957.402:7333): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=28024 comm="syz-executor1" exe="/root/syz-executor1" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 device gre0 entered promiscuous mode nla_parse: 2 callbacks suppressed netlink: 17 bytes leftover after parsing attributes in process `syz-executor7'. QAT: Invalid ioctl device lo entered promiscuous mode QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl SELinux: unrecognized netlink message: protocol=4 nlmsg_type=0 sclass=netlink_tcpdiag_socket pig=28170 comm=syz-executor5 SELinux: unrecognized netlink message: protocol=4 nlmsg_type=0 sclass=netlink_tcpdiag_socket pig=28177 comm=syz-executor5 netlink: 11 bytes leftover after parsing attributes in process `syz-executor0'. netlink: 11 bytes leftover after parsing attributes in process `syz-executor0'. syz-executor1: vmalloc: allocation failure: 12549619712 bytes, mode:0x14080c0(GFP_KERNEL|__GFP_ZERO), nodemask=(null) syz-executor1 cpuset=/ mems_allowed=0 CPU: 1 PID: 28296 Comm: syz-executor1 Tainted: G W 4.14.0+ #192 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 warn_alloc+0x19a/0x2b0 mm/page_alloc.c:3292 __vmalloc_node_range+0x4f0/0x650 mm/vmalloc.c:1775 __vmalloc_node mm/vmalloc.c:1804 [inline] __vmalloc_node_flags_caller+0x50/0x60 mm/vmalloc.c:1826 kvmalloc_node+0x82/0xd0 mm/util.c:406 kvmalloc include/linux/mm.h:540 [inline] kvmalloc_array include/linux/mm.h:556 [inline] xt_alloc_entry_offsets+0x21/0x30 net/netfilter/x_tables.c:774 translate_table+0x235/0x1610 net/ipv4/netfilter/ip_tables.c:686 do_replace net/ipv4/netfilter/ip_tables.c:1149 [inline] do_ipt_set_ctl+0x34b/0x5c0 net/ipv4/netfilter/ip_tables.c:1683 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115 ip_setsockopt+0xa1/0xb0 net/ipv4/ip_sockglue.c:1256 raw_setsockopt+0xb7/0xd0 net/ipv4/raw.c:850 sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2968 SYSC_setsockopt net/socket.c:1851 [inline] SyS_setsockopt+0x189/0x360 net/socket.c:1830 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452879 RSP: 002b:00007fdd9892fbe8 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 0000000000452879 RDX: 0000000000000040 RSI: 0000000000000000 RDI: 000000000000001a RBP: 0000000000000086 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020002000 R11: 0000000000000212 R12: 00000000006f4f48 R13: 00000000ffffffff R14: 00007fdd989306d4 R15: 0000000000000000 warn_alloc_show_mem: 1 callbacks suppressed Mem-Info: active_anon:144598 inactive_anon:32 isolated_anon:0 active_file:4069 inactive_file:7366 isolated_file:0 unevictable:0 dirty:33 writeback:0 unstable:0 slab_reclaimable:10147 slab_unreclaimable:104422 mapped:23015 shmem:181 pagetables:954 bounce:0 free:1336816 free_pcp:507 free_cma:0 Node 0 active_anon:563996kB inactive_anon:128kB active_file:16276kB inactive_file:29464kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:92060kB dirty:132kB writeback:0kB shmem:724kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 47104kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no Node 0 DMA free:15908kB min:160kB low:200kB high:240kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15908kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB lowmem_reserve[]: 0 2882 6395 6395 Node 0 DMA32 free:2953112kB min:30384kB low:37980kB high:45576kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3129332kB managed:2954000kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:888kB local_pcp:612kB free_cma:0kB lowmem_reserve[]: 0 0 3513 3513 Node 0 Normal free:2392644kB min:37032kB low:46288kB high:55544kB active_anon:563996kB inactive_anon:128kB active_file:16276kB inactive_file:29464kB unevictable:0kB writepending:140kB present:4718592kB managed:3597644kB mlocked:0kB kernel_stack:4512kB pagetables:3816kB bounce:0kB free_pcp:968kB local_pcp:640kB free_cma:0kB lowmem_reserve[]: 0 0 0 0 Node 0 DMA: 1*4kB (U) 0*8kB 0*16kB 1*32kB (U) 2*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15908kB Node 0 DMA32: 4*4kB (M) 1*8kB (M) 4*16kB (UM) 4*32kB (UM) 5*64kB (UM) 3*128kB (UM) 4*256kB (M) 4*512kB (UM) 2*1024kB (UM) 3*2048kB (UM) 718*4096kB (M) = 2953112kB Node 0 Normal: 1409*4kB (UME) 180*8kB (UME) 135*16kB (UME) 915*32kB (UME) 791*64kB (UM) 406*128kB (UM) 249*256kB (UM) 73*512kB (UM) 18*1024kB (UM) 11*2048kB (UM) 515*4096kB (UME) = 2392628kB Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB 11640 total pagecache pages 0 pages in swap cache Swap cache stats: add 0, delete 0, find 0/0 Free swap = 0kB Total swap = 0kB 1965979 pages RAM 0 pages HighMem/MovableOnly 324091 pages reserved RDS: rds_bind could not find a transport for 224.0.0.2, load rds_tcp or rds_rdma? RDS: rds_bind could not find a transport for 224.0.0.2, load rds_tcp or rds_rdma? irq bypass consumer (token ffff8801d16e0480) registration fails: -16 irq bypass consumer (token ffff8801d1ba2a80) registration fails: -16 sctp: [Deprecated]: syz-executor6 (pid 28433) Use of int in maxseg socket option. Use struct sctp_assoc_value instead could not allocate digest TFM handle @ނMZBڛxQ\: 29¾:r netlink: 2 bytes leftover after parsing attributes in process `syz-executor5'. sctp: [Deprecated]: syz-executor6 (pid 28443) Use of int in maxseg socket option. Use struct sctp_assoc_value instead could not allocate digest TFM handle @ނMZBڛxQ\: 29¾:r netlink: 21 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 2 bytes leftover after parsing attributes in process `syz-executor5'. QAT: Invalid ioctl Started in network mode Own node address <25.1.2560>, network identity 4711 netlink: 62 bytes leftover after parsing attributes in process `syz-executor2'. QAT: Invalid ioctl SELinux: unrecognized netlink message: protocol=4 nlmsg_type=31 sclass=netlink_tcpdiag_socket pig=28507 comm=syz-executor2 netlink: 21 bytes leftover after parsing attributes in process `syz-executor4'. device lo entered promiscuous mode device gre0 entered promiscuous mode netlink: 8 bytes leftover after parsing attributes in process `syz-executor5'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor5'. QAT: Invalid ioctl QAT: Invalid ioctl tmpfs: No value for mount option '' tmpfs: No value for mount option '' sg_write: data in/out 822404280/197 bytes for SCSI command 0x12-- guessing data in; program syz-executor1 not setting count and/or reply_len properly sctp: [Deprecated]: syz-executor0 (pid 28668) Use of int in maxseg socket option. Use struct sctp_assoc_value instead sg_write: data in/out 262364/161 bytes for SCSI command 0xff-- guessing data in; program syz-executor1 not setting count and/or reply_len properly sctp: [Deprecated]: syz-executor0 (pid 28668) Use of int in maxseg socket option. Use struct sctp_assoc_value instead device gre0 entered promiscuous mode QAT: Invalid ioctl sg_write: data in/out 822404280/197 bytes for SCSI command 0x12-- guessing data in; program syz-executor1 not setting count and/or reply_len properly sg_write: data in/out 262364/161 bytes for SCSI command 0xff-- guessing data in; program syz-executor1 not setting count and/or reply_len properly QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl 9pnet_virtio: no channels available for device ./file0/file0 9pnet_virtio: no channels available for device ./file0/file0 *** 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 = 0xffffffff811bca33 RSP = 0xffff8801917bf4c8 CS=0010 SS=0018 DS=0000 ES=0000 FS=0000 GS=0000 TR=0040 FSBase=00007f2725b5b700 GSBase=ffff8801db400000 TRBase=ffff8801db423140 GDTBase=ffffffffff577000 IDTBase=ffffffffff57b000 CR0=0000000080050033 CR3=00000001c82bb000 CR4=00000000001426f0 Sysenter RSP=0000000000000000 CS:RIP=0010:ffffffff8513e5b0 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 reason=80000021 qualification=0000000000000000 IDTVectoring: info=00000000 errcode=00000000 TSC Offset = 0xffffff956beeaf8d TPR Threshold = 0x00 EPT pointer = 0x00000001cb83d01e Scheduler tracepoints stat_sleep, stat_iowait, stat_blocked and stat_runtime require the kernel parameter schedstats=enable or kernel.sched_schedstats=1 device gre0 entered promiscuous mode device lo left promiscuous mode IPv6: Can't replace route, no match found nla_parse: 2 callbacks suppressed netlink: 1 bytes leftover after parsing attributes in process `syz-executor1'. IPv6: Can't replace route, no match found netlink: 1 bytes leftover after parsing attributes in process `syz-executor1'. 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'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor7'. Bearer <> rejected, not supported in standalone mode Bearer <> rejected, not supported in standalone mode device gre0 entered promiscuous mode sg_write: data in/out 822404280/197 bytes for SCSI command 0x12-- guessing data in; program syz-executor5 not setting count and/or reply_len properly