Free memory is -13412kB above reserved lowmemorykiller: Killing 'syz-executor158' (2056) (tgid 2056), adj 1000, to free 44kB on behalf of 'syz-executor158' (2061) because cache 34232kB is below limit 65536kB for oom_score_adj 12 Free memory is -13400kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 2061, name: syz-executor158 2 locks held by syz-executor158/2061: #0: (shrinker_rwsem){++++..}, at: [<00000000f18c32e5>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #1: (rcu_read_lock){......}, at: [<0000000074f16e92>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 Preemption disabled at: [<00000000e8b59316>] spin_lock include/linux/spinlock.h:302 [inline] [<00000000e8b59316>] task_lock include/linux/sched.h:3217 [inline] [<00000000e8b59316>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 CPU: 1 PID: 2061 Comm: syz-executor158 Not tainted 4.9.185+ #7 ffff8801cee27398 ffffffff81b57f51 0000000000000000 0000000000000001 ffff8801d1fb8000 ffffffff810d0ca0 ffff8801d1fb8000 ffff8801cee273d0 ffffffff814002fc ffff8801d1fb8000 ffffffff82a39940 0000000000000387 Call Trace: [<0000000026ff606e>] __dump_stack lib/dump_stack.c:15 [inline] [<0000000026ff606e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000002f037db9>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<000000002cb4ab36>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<00000000ad7ceaae>] mmput+0x28/0x370 kernel/fork.c:903 [<00000000df5629c1>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<0000000078608a8f>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<0000000063ba01b0>] do_shrink_slab mm/vmscan.c:399 [inline] [<0000000063ba01b0>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000c1474365>] shrink_slab mm/vmscan.c:466 [inline] [<00000000c1474365>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000b649a5d2>] shrink_zones mm/vmscan.c:2751 [inline] [<00000000b649a5d2>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<00000000b649a5d2>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<00000000b12d858c>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<00000000b12d858c>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<00000000b12d858c>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<00000000b12d858c>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<00000000dd1736e9>] __alloc_pages include/linux/gfp.h:433 [inline] [<00000000dd1736e9>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<00000000dd1736e9>] alloc_pages_node include/linux/gfp.h:460 [inline] [<00000000dd1736e9>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<00000000dd1736e9>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000477733d3>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000477733d3>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000477733d3>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<0000000052031eb0>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000be1fdcdd>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<00000000be1fdcdd>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<0000000067dc44a6>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<0000000067dc44a6>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000005573bd72>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000005573bd72>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<000000001d7356a5>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<00000000c32ed434>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<000000003f93e967>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<000000003f93e967>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<000000003b419c55>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<0000000061368501>] SYSC_setsockopt net/socket.c:1786 [inline] [<0000000061368501>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000001fffee2f>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000de4164e7>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb ================================= [ INFO: inconsistent lock state ] 4.9.185+ #7 Tainted: G W --------------------------------- inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-R} usage. syz-executor158/2061 [HC0[0]:SC0[0]:HE1:SE1] takes: (&mm->mmap_sem){+++++?}, at: [<0000000011631f2f>] get_cmdline+0xa3/0x2d0 mm/util.c:641 mark_held_locks+0xb1/0x100 kernel/locking/lockdep.c:2660 __lockdep_trace_alloc kernel/locking/lockdep.c:2882 [inline] lockdep_trace_alloc+0x18c/0x2b0 kernel/locking/lockdep.c:2897 __alloc_pages_nodemask+0x143/0x1a80 mm/page_alloc.c:3803 __alloc_pages include/linux/gfp.h:433 [inline] __alloc_pages_node include/linux/gfp.h:446 [inline] alloc_pages_node include/linux/gfp.h:460 [inline] pmd_alloc_one arch/x86/include/asm/pgalloc.h:88 [inline] __pmd_alloc+0x4a/0x330 mm/memory.c:3742 pmd_alloc include/linux/mm.h:1601 [inline] alloc_new_pmd mm/mremap.c:64 [inline] move_page_tables+0xadb/0xd60 mm/mremap.c:212 shift_arg_pages+0x1ae/0x470 fs/exec.c:642 setup_arg_pages+0x60d/0x7c0 fs/exec.c:754 load_elf_binary+0xa84/0x4a90 fs/binfmt_elf.c:860 search_binary_handler fs/exec.c:1621 [inline] search_binary_handler+0x14f/0x700 fs/exec.c:1599 exec_binprm fs/exec.c:1663 [inline] do_execveat_common.isra.0+0xf81/0x1db0 fs/exec.c:1785 do_execve+0x3a/0x50 fs/exec.c:1829 run_init_process+0x33/0x37 init/main.c:904 try_to_run_init_process+0x18/0x48 init/main.c:913 kernel_init+0xf2/0x163 init/main.c:984 ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:375 irq event stamp: 575163 hardirqs last enabled at (575163): [<00000000c8c31266>] restore_regs_and_iret+0x0/0x1d hardirqs last disabled at (575162): [<000000004b78ed0e>] preempt_schedule_irq+0x6a/0xa0 kernel/sched/core.c:3705 softirqs last enabled at (525066): [<000000003c4e63ca>] __do_softirq+0x474/0x964 kernel/softirq.c:314 softirqs last disabled at (525059): [<000000005326e02d>] invoke_softirq kernel/softirq.c:368 [inline] softirqs last disabled at (525059): [<000000005326e02d>] irq_exit+0x119/0x160 kernel/softirq.c:409 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&mm->mmap_sem); lock(&mm->mmap_sem); *** DEADLOCK *** 3 locks held by syz-executor158/2061: #0: (shrinker_rwsem){++++..}, at: [<00000000f18c32e5>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #1: (rcu_read_lock){......}, at: [<0000000074f16e92>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 #2: (lmk_event_lock){+.+.-.}, at: [<00000000345cca5c>] spin_lock include/linux/spinlock.h:302 [inline] #2: (lmk_event_lock){+.+.-.}, at: [<00000000345cca5c>] handle_lmk_event+0xfb/0x8a0 drivers/staging/android/lowmemorykiller.c:114 stack backtrace: CPU: 1 PID: 2061 Comm: syz-executor158 Tainted: G W 4.9.185+ #7 ffff8801cee270e0 ffffffff81b57f51 00000000000000f0 ffff8801d1fb8000 ffffffff83caf910 ffff8801d1fb8948 ffffffff84250ec0 ffff8801cee27158 ffffffff81406d39 0000000000000000 ffffffff00000001 0000000000000001 Call Trace: [<0000000026ff606e>] __dump_stack lib/dump_stack.c:15 [inline] [<0000000026ff606e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000f7f74cdc>] print_usage_bug kernel/locking/lockdep.c:2387 [inline] [<00000000f7f74cdc>] print_usage_bug.cold+0x452/0x5a2 kernel/locking/lockdep.c:2354 [<0000000002b1068d>] valid_state kernel/locking/lockdep.c:2400 [inline] [<0000000002b1068d>] mark_lock_irq kernel/locking/lockdep.c:2602 [inline] [<0000000002b1068d>] mark_lock+0x6c7/0x12e0 kernel/locking/lockdep.c:3065 [<00000000c9bf040a>] mark_irqflags kernel/locking/lockdep.c:2958 [inline] [<00000000c9bf040a>] __lock_acquire+0x5c3/0x4350 kernel/locking/lockdep.c:3302 [<00000000b9d6be53>] lock_acquire+0x133/0x3d0 kernel/locking/lockdep.c:3756 [<000000006a19a8aa>] down_read+0x44/0xb0 kernel/locking/rwsem.c:22 [<0000000011631f2f>] get_cmdline+0xa3/0x2d0 mm/util.c:641 [<000000005fa6b0a7>] handle_lmk_event+0x13c/0x8a0 drivers/staging/android/lowmemorykiller.c:128 [<0000000078608a8f>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<0000000063ba01b0>] do_shrink_slab mm/vmscan.c:399 [inline] [<0000000063ba01b0>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000c1474365>] shrink_slab mm/vmscan.c:466 [inline] [<00000000c1474365>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000b649a5d2>] shrink_zones mm/vmscan.c:2751 [inline] [<00000000b649a5d2>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<00000000b649a5d2>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<00000000b12d858c>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<00000000b12d858c>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<00000000b12d858c>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<00000000b12d858c>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<00000000dd1736e9>] __alloc_pages include/linux/gfp.h:433 [inline] [<00000000dd1736e9>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<00000000dd1736e9>] alloc_pages_node include/linux/gfp.h:460 [inline] [<00000000dd1736e9>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<00000000dd1736e9>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000477733d3>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000477733d3>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000477733d3>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<0000000052031eb0>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000be1fdcdd>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<00000000be1fdcdd>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<0000000067dc44a6>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<0000000067dc44a6>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000005573bd72>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000005573bd72>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<000000001d7356a5>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<00000000c32ed434>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<000000003f93e967>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<000000003f93e967>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<000000003b419c55>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<0000000061368501>] SYSC_setsockopt net/socket.c:1786 [inline] [<0000000061368501>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000001fffee2f>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000de4164e7>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb oom_reaper: reaped process 2056 (syz-executor158), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor158: vmalloc: allocation failure, allocated 1183129600 of 3490287616 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 0 PID: 2056 Comm: syz-executor158 Tainted: G W 4.9.185+ #7 ffff8801ceeb7998 ffffffff81b57f51 1ffff10039dd6f35 dffffc0000000000 ffffffff82aaa9c0 0000000000000000 0000000000400000 ffff8801ceeb7ac0 ffffffff81506743 0000000041b58ab3 ffffffff82e3a198 ffffffff81430320 Call Trace: [<0000000026ff606e>] __dump_stack lib/dump_stack.c:15 [inline] [<0000000026ff606e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000b8f17540>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000000f375587>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000000f375587>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000477733d3>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000477733d3>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000477733d3>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<0000000052031eb0>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000be1fdcdd>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<00000000be1fdcdd>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<0000000067dc44a6>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<0000000067dc44a6>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000005573bd72>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000005573bd72>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<000000001d7356a5>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<00000000c32ed434>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<000000003f93e967>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<000000003f93e967>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<000000003b419c55>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<0000000061368501>] SYSC_setsockopt net/socket.c:1786 [inline] [<0000000061368501>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000001fffee2f>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000de4164e7>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3227 inactive_anon:41 isolated_anon:0 active_file:15 inactive_file:20 isolated_file:0 unevictable:0 dirty:8 writeback:0 unstable:0 slab_reclaimable:4266 slab_unreclaimable:56689 mapped:40 shmem:48 pagetables:357 bounce:0 free:32 free_pcp:8 free_cma:0 Node 0 active_anon:12908kB inactive_anon:164kB active_file:60kB inactive_file:80kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:160kB dirty:32kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:48kB min:4696kB low:7712kB high:10728kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3145324kB managed:3020100kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:80kB min:5580kB low:9168kB high:12756kB active_anon:12908kB inactive_anon:164kB active_file:60kB inactive_file:80kB unevictable:0kB writepending:32kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17064kB slab_unreclaimable:226756kB kernel_stack:3424kB pagetables:1428kB bounce:0kB free_pcp:32kB local_pcp:0kB free_cma:0kB DMA32: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 0kB 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 313625 pages reserved syz-executor158 invoked oom-killer: gfp_mask=0x24002c2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_NOWARN), nodemask=0, order=0, oom_score_adj=1000 CPU: 0 PID: 2062 Comm: syz-executor158 Tainted: G W 4.9.185+ #7 ffff8801ced5f6c0 ffffffff81b57f51 ffff8801ced5fa18 ffffffff833f0c30 00000000000003e8 ffff8801ced5fa30 0000000000000000 ffff8801ced5f740 ffffffff8150548b 0000000000000000 00000000000003e8 ffffffff8281a135 Call Trace: [<0000000026ff606e>] __dump_stack lib/dump_stack.c:15 [inline] [<0000000026ff606e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000003f48434d>] dump_header.isra.0+0x142/0x74c mm/oom_kill.c:417 [<00000000e3ebfcb2>] oom_kill_process.cold+0xd/0xa74 mm/oom_kill.c:852 [<000000003cdbcd42>] out_of_memory mm/oom_kill.c:1069 [inline] [<000000003cdbcd42>] out_of_memory+0x29b/0xea0 mm/oom_kill.c:1009 [<00000000ef1260e6>] __alloc_pages_may_oom mm/page_alloc.c:3136 [inline] [<00000000ef1260e6>] __alloc_pages_slowpath mm/page_alloc.c:3750 [inline] [<00000000ef1260e6>] __alloc_pages_nodemask+0x1730/0x1a80 mm/page_alloc.c:3861 [<00000000dd1736e9>] __alloc_pages include/linux/gfp.h:433 [inline] [<00000000dd1736e9>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<00000000dd1736e9>] alloc_pages_node include/linux/gfp.h:460 [inline] [<00000000dd1736e9>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<00000000dd1736e9>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000477733d3>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000477733d3>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000477733d3>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<0000000052031eb0>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000be1fdcdd>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<00000000be1fdcdd>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<0000000067dc44a6>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<0000000067dc44a6>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000005573bd72>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000005573bd72>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<000000001d7356a5>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<00000000c32ed434>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<000000003f93e967>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<000000003f93e967>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<000000003b419c55>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<0000000061368501>] SYSC_setsockopt net/socket.c:1786 [inline] [<0000000061368501>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000001fffee2f>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000de4164e7>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3227 inactive_anon:41 isolated_anon:0 active_file:15 inactive_file:20 isolated_file:0 unevictable:0 dirty:8 writeback:0 unstable:0 slab_reclaimable:4266 slab_unreclaimable:56689 mapped:40 shmem:48 pagetables:357 bounce:0 free:32 free_pcp:8 free_cma:0 Node 0 active_anon:12908kB inactive_anon:164kB active_file:60kB inactive_file:80kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:160kB dirty:32kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:48kB min:4696kB low:7712kB high:10728kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3145324kB managed:3020100kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:80kB min:5580kB low:9168kB high:12756kB active_anon:12908kB inactive_anon:164kB active_file:60kB inactive_file:80kB unevictable:0kB writepending:32kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17064kB slab_unreclaimable:226756kB kernel_stack:3424kB pagetables:1428kB bounce:0kB free_pcp:32kB local_pcp:0kB free_cma:0kB DMA32: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 0kB 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 313625 pages reserved [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name [ 470] 0 470 5417 193 16 3 0 -1000 udevd [ 575] 0 575 5379 171 15 3 0 -1000 udevd [ 577] 0 577 5383 171 15 3 0 -1000 udevd [ 1760] 0 1760 2492 573 8 3 0 0 dhclient [ 1893] 0 1893 14231 109 24 3 0 0 rsyslogd [ 1934] 0 1934 4724 51 15 3 0 0 cron [ 1955] 0 1955 3735 44 11 3 0 0 mcstransd [ 1977] 0 1977 12926 1227 28 4 0 0 restorecond [ 1996] 0 1996 12489 153 27 3 0 -1000 sshd [ 2026] 0 2026 3648 39 13 3 0 0 getty [ 2045] 0 2045 3648 42 13 3 0 0 getty [ 2046] 0 2046 3648 43 13 3 0 0 getty [ 2047] 0 2047 3648 43 13 3 0 0 getty [ 2048] 0 2048 3648 43 13 3 0 0 getty [ 2049] 0 2049 3648 42 13 3 0 0 getty [ 2050] 0 2050 3648 42 13 3 0 0 getty [ 2051] 0 2051 17820 197 39 3 0 0 sshd [ 2053] 0 2053 4380 1 4 2 0 0 syz-executor158 [ 2054] 0 2054 4380 11 4 2 0 0 syz-executor158 [ 2055] 0 2055 4380 11 4 2 0 0 syz-executor158 [ 2056] 0 2056 4380 0 5 2 0 1000 syz-executor158 [ 2057] 0 2057 4380 11 4 2 0 0 syz-executor158 [ 2058] 0 2058 4380 11 4 2 0 0 syz-executor158 [ 2059] 0 2059 4380 11 4 2 0 0 syz-executor158 [ 2060] 0 2060 4380 11 4 2 0 0 syz-executor158 [ 2061] 0 2061 4380 11 5 2 0 1000 syz-executor158 [ 2062] 0 2062 4380 11 5 2 0 1000 syz-executor158 [ 2063] 0 2063 4380 11 5 2 0 1000 syz-executor158 [ 2064] 0 2064 4380 11 5 2 0 1000 syz-executor158 [ 2065] 0 2065 4380 11 5 2 0 1000 syz-executor158 Out of memory: Kill process 2061 (syz-executor158) score 999 or sacrifice child Killed process 2061 (syz-executor158) total-vm:17520kB, anon-rss:44kB, file-rss:0kB, shmem-rss:0kB oom_reaper: reaped process 2061 (syz-executor158), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor158: vmalloc: allocation failure, allocated 1168891904 of 3490287616 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 1 PID: 2061 Comm: syz-executor158 Tainted: G W 4.9.185+ #7 ffff8801cee27998 ffffffff81b57f51 1ffff10039dc4f35 dffffc0000000000 ffffffff82aaa9c0 0000000000000000 0000000000400000 ffff8801cee27ac0 ffffffff81506743 0000000041b58ab3 ffffffff82e3a198 ffffffff81430320 Call Trace: [<0000000026ff606e>] __dump_stack lib/dump_stack.c:15 [inline] [<0000000026ff606e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000b8f17540>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000000f375587>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000000f375587>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000477733d3>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000477733d3>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000477733d3>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<0000000052031eb0>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000be1fdcdd>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<00000000be1fdcdd>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<0000000067dc44a6>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<0000000067dc44a6>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000005573bd72>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000005573bd72>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<000000001d7356a5>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<00000000c32ed434>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<000000003f93e967>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<000000003f93e967>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<000000003b419c55>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<0000000061368501>] SYSC_setsockopt net/socket.c:1786 [inline] [<0000000061368501>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000001fffee2f>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000de4164e7>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3227 inactive_anon:41 isolated_anon:0 active_file:15 inactive_file:20 isolated_file:0 unevictable:0 dirty:8 writeback:0 unstable:0 slab_reclaimable:4266 slab_unreclaimable:56689 mapped:40 shmem:48 pagetables:357 bounce:0 free:32 free_pcp:7 free_cma:0 Node 0 active_anon:12908kB inactive_anon:164kB active_file:60kB inactive_file:80kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:160kB dirty:32kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:48kB min:4696kB low:7712kB high:10728kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3145324kB managed:3020100kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:80kB min:5580kB low:9168kB high:12756kB active_anon:12908kB inactive_anon:164kB active_file:60kB inactive_file:80kB unevictable:0kB writepending:32kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17064kB slab_unreclaimable:226756kB kernel_stack:3424kB pagetables:1428kB bounce:0kB free_pcp:28kB local_pcp:28kB free_cma:0kB DMA32: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 0kB 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 313625 pages reserved ODEBUG: Out of memory. ODEBUG disabled lowmemorykiller: Killing 'syz-executor158' (2062) (tgid 2062), adj 1000, to free 44kB on behalf of 'syz-executor158' (2066) because cache 2132kB is below limit 6144kB for oom_score_adj 0 Free memory is -13356kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 2066, name: syz-executor158 INFO: lockdep is turned off. Preemption disabled at: [<00000000e8b59316>] spin_lock include/linux/spinlock.h:302 [inline] [<00000000e8b59316>] task_lock include/linux/sched.h:3217 [inline] [<00000000e8b59316>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 CPU: 1 PID: 2066 Comm: syz-executor158 Tainted: G W 4.9.185+ #7 ffff8801a72c7398 ffffffff81b57f51 0000000000000000 0000000000000001 ffff8801ced317c0 ffffffff810d0ca0 ffff8801ced317c0 ffff8801a72c73d0 ffffffff814002fc ffff8801ced317c0 ffffffff82a39940 0000000000000387 Call Trace: [<0000000026ff606e>] __dump_stack lib/dump_stack.c:15 [inline] [<0000000026ff606e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000002f037db9>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<000000002cb4ab36>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<00000000ad7ceaae>] mmput+0x28/0x370 kernel/fork.c:903 [<00000000df5629c1>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<0000000078608a8f>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<0000000063ba01b0>] do_shrink_slab mm/vmscan.c:399 [inline] [<0000000063ba01b0>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000c1474365>] shrink_slab mm/vmscan.c:466 [inline] [<00000000c1474365>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000b649a5d2>] shrink_zones mm/vmscan.c:2751 [inline] [<00000000b649a5d2>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<00000000b649a5d2>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<00000000b12d858c>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<00000000b12d858c>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<00000000b12d858c>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<00000000b12d858c>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<00000000dd1736e9>] __alloc_pages include/linux/gfp.h:433 [inline] [<00000000dd1736e9>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<00000000dd1736e9>] alloc_pages_node include/linux/gfp.h:460 [inline] [<00000000dd1736e9>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<00000000dd1736e9>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000477733d3>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000477733d3>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000477733d3>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<0000000052031eb0>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000be1fdcdd>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<00000000be1fdcdd>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<0000000067dc44a6>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<0000000067dc44a6>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000005573bd72>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000005573bd72>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<000000001d7356a5>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<00000000c32ed434>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<000000003f93e967>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<000000003f93e967>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<000000003b419c55>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<0000000061368501>] SYSC_setsockopt net/socket.c:1786 [inline] [<0000000061368501>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000001fffee2f>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000de4164e7>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb oom_reaper: reaped process 2062 (syz-executor158), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor158: vmalloc: allocation failure, allocated 1137303552 of 3490287616 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 0 PID: 2062 Comm: syz-executor158 Tainted: G W 4.9.185+ #7 ffff8801ced5f998 ffffffff81b57f51 1ffff10039dabf35 dffffc0000000000 ffffffff82aaa9c0 0000000000000000 0000000000400000 ffff8801ced5fac0 ffffffff81506743 0000000041b58ab3 ffffffff82e3a198 ffffffff81430320 Call Trace: [<0000000026ff606e>] __dump_stack lib/dump_stack.c:15 [inline] [<0000000026ff606e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000b8f17540>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000000f375587>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000000f375587>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000477733d3>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000477733d3>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000477733d3>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<0000000052031eb0>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000be1fdcdd>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<00000000be1fdcdd>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<0000000067dc44a6>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<0000000067dc44a6>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000005573bd72>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000005573bd72>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<000000001d7356a5>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<00000000c32ed434>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<000000003f93e967>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<000000003f93e967>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<000000003b419c55>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<0000000061368501>] SYSC_setsockopt net/socket.c:1786 [inline] [<0000000061368501>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000001fffee2f>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000de4164e7>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3231 inactive_anon:41 isolated_anon:0 active_file:16 inactive_file:28 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4267 slab_unreclaimable:56714 mapped:19 shmem:48 pagetables:357 bounce:0 free:0 free_pcp:7 free_cma:0 Node 0 active_anon:12924kB inactive_anon:164kB active_file:64kB inactive_file:112kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:76kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:58 all_unreclaimable? no DMA32 free:32kB min:4696kB low:7712kB high:10728kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3145324kB managed:3020100kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:0kB min:5580kB low:9168kB high:12756kB active_anon:12924kB inactive_anon:164kB active_file:64kB inactive_file:112kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17068kB slab_unreclaimable:226856kB kernel_stack:3424kB pagetables:1428kB bounce:0kB free_pcp:28kB local_pcp:28kB free_cma:0kB DMA32: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 0kB 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 313625 pages reserved lowmemorykiller: Killing 'syz-executor158' (2063) (tgid 2063), adj 1000, to free 44kB on behalf of 'syz-executor158' (2067) because cache 2076kB is below limit 6144kB for oom_score_adj 0 Free memory is -13296kB above reserved oom_reaper: reaped process 2063 (syz-executor158), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor158: vmalloc: allocation failure, allocated 1118339072 of 3490287616 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 1 PID: 2063 Comm: syz-executor158 Tainted: G W 4.9.185+ #7 ffff8801cecef998 ffffffff81b57f51 1ffff10039d9df35 dffffc0000000000 ffffffff82aaa9c0 0000000000000000 0000000000400000 ffff8801cecefac0 ffffffff81506743 0000000041b58ab3 ffffffff82e3a198 ffffffff81430320 Call Trace: [<0000000026ff606e>] __dump_stack lib/dump_stack.c:15 [inline] [<0000000026ff606e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000b8f17540>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000000f375587>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000000f375587>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000477733d3>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000477733d3>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000477733d3>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<0000000052031eb0>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000be1fdcdd>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<00000000be1fdcdd>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<0000000067dc44a6>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<0000000067dc44a6>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000005573bd72>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000005573bd72>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<000000001d7356a5>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<00000000c32ed434>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<000000003f93e967>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<000000003f93e967>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<000000003b419c55>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<0000000061368501>] SYSC_setsockopt net/socket.c:1786 [inline] [<0000000061368501>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000001fffee2f>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000de4164e7>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3231 inactive_anon:41 isolated_anon:0 active_file:25 inactive_file:31 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4267 slab_unreclaimable:56714 mapped:44 shmem:48 pagetables:357 bounce:0 free:10 free_pcp:6 free_cma:0 Node 0 active_anon:12924kB inactive_anon:164kB active_file:100kB inactive_file:124kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:176kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:40kB min:4696kB low:7712kB high:10728kB active_anon:0kB inactive_anon:0kB active_file:16kB inactive_file:72kB unevictable:0kB writepending:0kB present:3145324kB managed:3020100kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:0kB min:5580kB low:9168kB high:12756kB active_anon:12924kB inactive_anon:164kB active_file:72kB inactive_file:0kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17068kB slab_unreclaimable:226856kB kernel_stack:3424kB pagetables:1428kB bounce:0kB free_pcp:24kB local_pcp:24kB free_cma:0kB DMA32: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 0kB 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 313625 pages reserved lowmemorykiller: Killing 'syz-executor158' (2064) (tgid 2064), adj 1000, to free 44kB on behalf of 'syz-executor158' (2067) because cache 216kB is below limit 6144kB for oom_score_adj 0 Free memory is -13324kB above reserved syz-executor158: vmalloc: allocation failure, allocated 988966912 of 3490287616 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 1 PID: 2064 Comm: syz-executor158 Tainted: G W 4.9.185+ #7 ffff8801c4f17998 ffffffff81b57f51 1ffff100389e2f35 dffffc0000000000 ffffffff82aaa9c0 0000000000000000 0000000000400000 ffff8801c4f17ac0 ffffffff81506743 0000000041b58ab3 ffffffff82e3a198 ffffffff81430320 Call Trace: [<0000000026ff606e>] __dump_stack lib/dump_stack.c:15 [inline] [<0000000026ff606e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000b8f17540>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000000f375587>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000000f375587>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000477733d3>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000477733d3>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000477733d3>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<0000000052031eb0>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000be1fdcdd>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<00000000be1fdcdd>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<0000000067dc44a6>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<0000000067dc44a6>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000005573bd72>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000005573bd72>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<000000001d7356a5>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<00000000c32ed434>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<000000003f93e967>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<000000003f93e967>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<000000003b419c55>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<0000000061368501>] SYSC_setsockopt net/socket.c:1786 [inline] [<0000000061368501>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000001fffee2f>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000de4164e7>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3229 inactive_anon:41 isolated_anon:0 active_file:10 inactive_file:30 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4275 slab_unreclaimable:56736 mapped:39 shmem:48 pagetables:357 bounce:0 free:20 free_pcp:0 free_cma:0 Node 0 active_anon:12916kB inactive_anon:164kB active_file:40kB inactive_file:120kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:156kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:80kB min:4696kB low:7712kB high:10728kB active_anon:8kB inactive_anon:0kB active_file:16kB inactive_file:120kB unevictable:0kB writepending:0kB present:3145324kB managed:3020100kB mlocked:0kB slab_reclaimable:32kB slab_unreclaimable:40kB kernel_stack:0kB pagetables:4kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:0kB min:5580kB low:9168kB high:12756kB active_anon:12908kB inactive_anon:164kB active_file:132kB inactive_file:0kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17068kB slab_unreclaimable:226904kB kernel_stack:3424kB pagetables:1424kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB DMA32: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 0kB 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 313625 pages reserved oom_reaper: reaped process 2064 (syz-executor158), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor158 invoked oom-killer: gfp_mask=0x24002c2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_NOWARN), nodemask=0, order=0, oom_score_adj=1000 CPU: 1 PID: 2067 Comm: syz-executor158 Tainted: G W 4.9.185+ #7 ffff8801cee276c0 ffffffff81b57f51 ffff8801cee27a18 ffffffff833f0c30 00000000000003e8 ffff8801cee27a30 0000000000000000 ffff8801cee27740 ffffffff8150548b 0000000000000000 00000000000003e8 ffffffff8281a135 [<000000003f48434d>] dump_header.isra.0+0x142/0x74c mm/oom_kill.c:417 [<000000003b419c55>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 lowmem_reserve[]: 0 0 0 lowmem_reserve[]: 0 0 0 ffff88016bf1fac0lowmem_reserve[]: 0 ffffffff81506743 0 0000000041b58ab3 0 ffffffff82e3a198 ffffffff81430320DMA32: 0*4kB Call Trace: 0*8kB [<0000000026ff606e>] __dump_stack lib/dump_stack.c:15 [inline] 0*8kB [<0000000026ff606e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 0*16kB [<00000000b8f17540>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 0*64kB [<000000000f375587>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] 0*64kB [<000000000f375587>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 0*256kB [<00000000477733d3>] __vmalloc_node mm/vmalloc.c:1749 [inline] 0*256kB [<00000000477733d3>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] 0*256kB [<00000000477733d3>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 0*1024kB [<0000000052031eb0>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 0*2048kB [<00000000be1fdcdd>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] 0*2048kB [<00000000be1fdcdd>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 = 0kB 0*4kB [<0000000067dc44a6>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] 0*4kB [<0000000067dc44a6>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 0*8kB [<000000005573bd72>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] 0*8kB [<000000005573bd72>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 0*16kB [<000000001d7356a5>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 0*32kB [<00000000c32ed434>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 0*64kB [<000000003f93e967>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] 0*64kB [<000000003f93e967>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 0*128kB [<000000003b419c55>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 0*256kB [<0000000061368501>] SYSC_setsockopt net/socket.c:1786 [inline] 0*256kB [<0000000061368501>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 = 0kB 110 total pagecache pages [<00000000de4164e7>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb 0 pages in swap cache Mem-Info: Swap cache stats: add 0, delete 0, find 0/0 active_anon:3213 inactive_anon:41 isolated_anon:0 active_file:7 inactive_file:55 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4275 slab_unreclaimable:56745 mapped:36 shmem:48 pagetables:352 bounce:0 free:37 free_pcp:8 free_cma:0 1965979 pages RAM lowmem_reserve[]: 0 pages HighMem/MovableOnly 0313625 pages reserved 3505 3505 DMA32: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 0kB [ 2055] 0 2055 4380 11 4 2 0 0 syz-executor158 [<000000001fffee2f>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000de4164e7>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb lowmemorykiller: Killing 'syz-executor158' (2072) (tgid 2072), adj 1000, to free 44kB on behalf of 'syz-executor158' (2073) because cache 2052kB is below limit 6144kB for oom_score_adj 0 Free memory is -13380kB above reserved oom_reaper: reaped process 2072 (syz-executor158), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor158 invoked oom-killer: gfp_mask=0x24200ca(GFP_HIGHUSER_MOVABLE), nodemask=0, order=0, oom_score_adj=0 CPU: 0 PID: 2076 Comm: syz-executor158 Tainted: G W 4.9.185+ #7 ffff8801b56676f0 ffffffff81b57f51 ffff8801b5667a48 ffffffff833f0c30 0000000000000000 ffff8801b5667a60 0000000000000000 ffff8801b5667770 ffffffff8150548b 0000000000000000 0000000000000000 ffffffff8281a135 Call Trace: [<0000000026ff606e>] __dump_stack lib/dump_stack.c:15 [inline] [<0000000026ff606e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000003f48434d>] dump_header.isra.0+0x142/0x74c mm/oom_kill.c:417 [<00000000e3ebfcb2>] oom_kill_process.cold+0xd/0xa74 mm/oom_kill.c:852 [<000000003cdbcd42>] out_of_memory mm/oom_kill.c:1069 [inline] [<000000003cdbcd42>] out_of_memory+0x29b/0xea0 mm/oom_kill.c:1009 [<00000000ef1260e6>] __alloc_pages_may_oom mm/page_alloc.c:3136 [inline] [<00000000ef1260e6>] __alloc_pages_slowpath mm/page_alloc.c:3750 [inline] [<00000000ef1260e6>] __alloc_pages_nodemask+0x1730/0x1a80 mm/page_alloc.c:3861 [<00000000821378de>] __alloc_pages include/linux/gfp.h:433 [inline] [<00000000821378de>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<00000000821378de>] alloc_pages_node include/linux/gfp.h:460 [inline] [<00000000821378de>] __page_cache_alloc include/linux/pagemap.h:208 [inline] [<00000000821378de>] pagecache_get_page+0x248/0x740 mm/filemap.c:1367 [<000000004fab65a4>] filemap_fault+0xb1f/0x1360 mm/filemap.c:2331 [<000000006bd63d68>] ext4_filemap_fault+0x72/0xa0 fs/ext4/inode.c:5854 [<0000000004bd65ae>] __do_fault+0x2a8/0x6c0 mm/memory.c:2855 [<00000000b30f93b8>] do_read_fault mm/memory.c:3202 [inline] [<00000000b30f93b8>] do_fault mm/memory.c:3338 [inline] [<00000000b30f93b8>] handle_pte_fault mm/memory.c:3547 [inline] [<00000000b30f93b8>] __handle_mm_fault mm/memory.c:3634 [inline] [<00000000b30f93b8>] handle_mm_fault+0x11bc/0x2420 mm/memory.c:3671 [<000000003542947c>] __do_page_fault+0x3f0/0xa60 arch/x86/mm/fault.c:1404 [<000000008b0c8784>] do_page_fault+0x28/0x30 arch/x86/mm/fault.c:1467 [<00000000b60f2fe7>] page_fault+0x25/0x30 arch/x86/entry/entry_64.S:953 Mem-Info: active_anon:3203 inactive_anon:41 isolated_anon:0 active_file:28 inactive_file:36 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4277 slab_unreclaimable:56759 mapped:38 shmem:48 pagetables:363 bounce:0 free:6041 free_pcp:30 free_cma:0 Node 0 active_anon:12812kB inactive_anon:164kB active_file:112kB inactive_file:144kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:152kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:18588kB min:4696kB low:7712kB high:10728kB active_anon:32kB inactive_anon:0kB active_file:0kB inactive_file:100kB unevictable:0kB writepending:0kB present:3145324kB managed:3020100kB mlocked:0kB slab_reclaimable:32kB slab_unreclaimable:76kB kernel_stack:0kB pagetables:36kB bounce:0kB free_pcp:120kB local_pcp:0kB free_cma:0kB Normal free:5576kB min:5580kB low:9168kB high:12756kB active_anon:12780kB inactive_anon:164kB active_file:112kB inactive_file:72kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17076kB slab_unreclaimable:226960kB kernel_stack:3424kB pagetables:1416kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB DMA32: 3*4kB (M) 5*8kB (UM) 1*16kB (U) 0*32kB 162*64kB (UM) 10*128kB (UM) 5*256kB (UM) 1*512kB (U) 1*1024kB (M) 0*2048kB 1*4096kB (U) = 18628kB Node 0 active_anon:11944kB inactive_anon:164kB active_file:96kB inactive_file:56kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:124kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:14 all_unreclaimable? no DMA32 free:18696kB min:4696kB low:7712kB high:10728kB active_anon:8kB inactive_anon:0kB active_file:36kB inactive_file:56kB unevictable:0kB writepending:0kB present:3145324kB managed:3020100kB mlocked:0kB slab_reclaimable:32kB slab_unreclaimable:80kB kernel_stack:0kB pagetables:4kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Free swap = 0kB Total swap = 0kB 1965979 pages RAM 0 pages HighMem/MovableOnly