BUG: sleeping function called from invalid context at net/core/sock.c:2761 in_atomic(): 1, irqs_disabled(): 0, pid: 17, name: kworker/1:0 2 locks held by kworker/1:0/17: #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: 17 Comm: kworker/1:0 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 netlink: 17 bytes leftover after parsing attributes in process `syz-executor1'. ip6tnl0: Invalid MTU 4 requested, hw min 68 netlink: 17 bytes leftover after parsing attributes in process `syz-executor1'. ip6tnl0: Invalid MTU 4 requested, hw min 68 Option 'Q9z̧ƒh' to dns_resolver key: bad/missing value QAT: Stopping all acceleration devices. QAT: Stopping all acceleration devices. kvm [23150]: vcpu0, guest rIP: 0x0 disabled perfctr wrmsr: 0xc1 data 0xffffffff kvm [23150]: vcpu0, guest rIP: 0x0 disabled perfctr wrmsr: 0xc1 data 0xffffffff QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl Option ' c?ܹ—ôÑL<¯t“åõž³¤iø(ýönÎ|bßLTˆ™}è¹ØšÖÙ��œ »rýùQ{'$Ôb>Æ<çF' to dns_resolver key: bad/missing value Option ' c?ܹ—ôÑL<¯t“åõž³¤iø(ýönÎ|bßLTˆ™}è¹ØšÖÙ��œ »rýùQ{'$Ôb>Æ<çF' to dns_resolver key: bad/missing value QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl SELinux: unrecognized netlink message: protocol=0 nlmsg_type=17161 sclass=netlink_route_socket pig=23305 comm=syz-executor7 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=17161 sclass=netlink_route_socket pig=23305 comm=syz-executor7 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=23336 comm=syz-executor0 device gre0 entered promiscuous mode netlink: 37 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 37 bytes leftover after parsing attributes in process `syz-executor6'. handle_userfault: 29 callbacks suppressed FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 1 PID: 23468 Comm: syz-executor0 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 handle_userfault+0x12fa/0x24c0 fs/userfaultfd.c:427 do_anonymous_page mm/memory.c:3121 [inline] handle_pte_fault mm/memory.c:3934 [inline] __handle_mm_fault+0x2e8c/0x3ad0 mm/memory.c:4060 handle_mm_fault+0x334/0x8d0 mm/memory.c:4097 __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:ffff880194c576b8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000020012000 RCX: 0000000000000001 RDX: 0000000000000001 RSI: 0000000020012000 RDI: ffff8801c37bd600 RBP: ffff880194c57708 R08: ffff8801db0001c0 R09: ffff8801c37bd000 R10: 0000000000000001 R11: ffffed00386f7ac0 R12: 00000000fffffff4 R13: 0000000000000001 R14: ffff8801c37bd600 R15: 0000000000000001 sctp_setsockopt+0xcdc/0x5d50 net/sctp/socket.c:4071 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:00007f0c27f06be8 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 0000000000452879 RDX: 0000000000000065 RSI: 0000000000000084 RDI: 0000000000000014 RBP: 0000000000000086 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000020012000 R11: 0000000000000212 R12: 00000000006f5f50 R13: 00000000ffffffff R14: 00007f0c27f076d4 R15: 0000000000000000 device lo entered promiscuous mode IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready netlink: 1 bytes leftover after parsing attributes in process `syz-executor6'. could not allocate digest TFM handle md1*0Ö netlink: 1 bytes leftover after parsing attributes in process `syz-executor6'. could not allocate digest TFM handle md1*0Ö netlink: 15 bytes leftover after parsing attributes in process `syz-executor4'. audit: type=1326 audit(1511587335.000:9210): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=23876 comm=10 exe="/root/syz-executor6" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 netlink: 15 bytes leftover after parsing attributes in process `syz-executor4'. audit: type=1326 audit(1511587335.023:9211): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=23876 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511587335.023:9212): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=23876 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=228 compat=0 ip=0x45561a code=0x7ffc0000 audit: type=1326 audit(1511587335.023:9213): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=23876 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511587335.023:9214): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=23876 comm=10 exe="/root/syz-executor6" sig=0 arch=c000003e syscall=103 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511587335.033:9215): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=23876 comm=10 exe="/root/syz-executor6" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511587335.033:9216): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=23876 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511587335.033:9217): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=23876 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=228 compat=0 ip=0x45561a code=0x7ffc0000 audit: type=1326 audit(1511587335.033:9218): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=23876 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 sctp: [Deprecated]: syz-executor2 (pid 23930) Use of int in maxseg socket option. Use struct sctp_assoc_value instead device lo entered promiscuous mode device lo left promiscuous mode sctp: [Deprecated]: syz-executor2 (pid 23940) Use of int in maxseg socket option. Use struct sctp_assoc_value instead device lo entered promiscuous mode device lo left promiscuous mode netlink: 3 bytes leftover after parsing attributes in process `syz-executor0'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor0'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor4'. SELinux: unrecognized netlink message: protocol=9 nlmsg_type=32 sclass=netlink_audit_socket pig=24192 comm=syz-executor3 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=32 sclass=netlink_audit_socket pig=24192 comm=syz-executor3 QAT: Invalid ioctl QAT: Invalid ioctl device eql entered promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=777 sclass=netlink_route_socket pig=24233 comm=syz-executor7 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=777 sclass=netlink_route_socket pig=24233 comm=syz-executor7 QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl nla_parse: 4 callbacks suppressed netlink: 11 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 11 bytes leftover after parsing attributes in process `syz-executor7'. sg_write: data in/out 1857891000/198 bytes for SCSI command 0x59-- guessing data in; program syz-executor7 not setting count and/or reply_len properly syz-executor4: vmalloc: allocation failure: 17179394360 bytes, mode:0x14080c0(GFP_KERNEL|__GFP_ZERO), nodemask=(null) syz-executor4 cpuset=/ mems_allowed=0 CPU: 1 PID: 24444 Comm: syz-executor4 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/0x1690 net/ipv6/netfilter/ip6_tables.c:705 do_replace net/ipv6/netfilter/ip6_tables.c:1168 [inline] do_ip6t_set_ctl+0x34b/0x5c0 net/ipv6/netfilter/ip6_tables.c:1694 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115 ipv6_setsockopt+0x115/0x150 net/ipv6/ipv6_sockglue.c:927 tcp_setsockopt+0x82/0xd0 net/ipv4/tcp.c:2871 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:00007f64a7e58be8 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 0000000000452879 RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000013 RBP: 0000000000000086 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000020001fde R11: 0000000000000212 R12: 0000000000000000 R13: 0000000000a6f7ff R14: 00007f64a7e599c0 R15: 0000000000000000 Mem-Info: active_anon:150781 inactive_anon:55 isolated_anon:0 active_file:4163 inactive_file:7385 isolated_file:0 unevictable:0 dirty:116 writeback:0 unstable:0 slab_reclaimable:8556 slab_unreclaimable:100552 mapped:22951 shmem:3311 pagetables:932 bounce:0 free:1334780 free_pcp:413 free_cma:0 syz-executor4: vmalloc: allocation failure: 17179394360 bytes, mode:0x14080c0(GFP_KERNEL|__GFP_ZERO), nodemask=(null) syz-executor4 cpuset=/ mems_allowed=0 CPU: 1 PID: 24484 Comm: syz-executor4 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/0x1690 net/ipv6/netfilter/ip6_tables.c:705 do_replace net/ipv6/netfilter/ip6_tables.c:1168 [inline] do_ip6t_set_ctl+0x34b/0x5c0 net/ipv6/netfilter/ip6_tables.c:1694 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115 ipv6_setsockopt+0x115/0x150 net/ipv6/ipv6_sockglue.c:927 tcp_setsockopt+0x82/0xd0 net/ipv4/tcp.c:2871 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:00007f64a7e16be8 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000758190 RCX: 0000000000452879 RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000014 RBP: 0000000000000086 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000020001fde R11: 0000000000000212 R12: 00000000006f1f78 R13: 00000000ffffffff R14: 00007f64a7e176d4 R15: 0000000000000018 netlink: 5 bytes leftover after parsing attributes in process `syz-executor2'. syz-executor4: vmalloc: allocation failure: 17179394360 bytes, mode:0x14080c0(GFP_KERNEL|__GFP_ZERO), nodemask=(null) syz-executor4 cpuset=/ mems_allowed=0 CPU: 1 PID: 24493 Comm: syz-executor4 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/0x1690 net/ipv6/netfilter/ip6_tables.c:705 do_replace net/ipv6/netfilter/ip6_tables.c:1168 [inline] do_ip6t_set_ctl+0x34b/0x5c0 net/ipv6/netfilter/ip6_tables.c:1694 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115 ipv6_setsockopt+0x115/0x150 net/ipv6/ipv6_sockglue.c:927 tcp_setsockopt+0x82/0xd0 net/ipv4/tcp.c:2871 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:00007f64a7dd4be8 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000758300 RCX: 0000000000452879 RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000017 RBP: 0000000000000086 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000020001fde R11: 0000000000000212 R12: 0000000000000000 R13: 0000000000a6f7ff R14: 00007f64a7dd59c0 R15: 0000000000000004 netlink: 5 bytes leftover after parsing attributes in process `syz-executor2'. Node 0 active_anon:560644kB inactive_anon:120kB active_file:16668kB inactive_file:29544kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:91668kB dirty:92kB writeback:80kB shmem:1732kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 63488kB 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:244kB free_cma:0kB lowmem_reserve[]: 0 0 3513 3513 Node 0 Normal free:2412112kB min:37032kB low:46288kB high:55544kB active_anon:560644kB inactive_anon:120kB active_file:16668kB inactive_file:29544kB unevictable:0kB writepending:128kB present:4718592kB managed:3597644kB mlocked:0kB kernel_stack:4032kB pagetables:3452kB bounce:0kB free_pcp:1264kB local_pcp:628kB 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: 946*4kB (UME) 1051*8kB (UME) 396*16kB (UME) 1095*32kB (UME) 1406*64kB (UME) 387*128kB (UM) 172*256kB (UM) 36*512kB (UM) 12*1024kB (UME) 7*2048kB (UM) 520*4096kB (M) = 2412096kB Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB 11985 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 syz-executor4: vmalloc: allocation failure: 17179394360 bytes, mode:0x14080c0(GFP_KERNEL|__GFP_ZERO), nodemask=(null) syz-executor4 cpuset=/ mems_allowed=0 CPU: 0 PID: 24489 Comm: syz-executor4 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