lowmemorykiller: Killing 'syz-executor616' (2062) (tgid 2062), adj 1000, to free 560kB on behalf of 'syz-executor616' (2071) because cache 34032kB is below limit 65536kB for oom_score_adj 12 Free memory is -13536kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 2071, name: syz-executor616 2 locks held by syz-executor616/2071: #0: (shrinker_rwsem){++++..}, at: [<00000000f0818fd1>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #1: (rcu_read_lock){......}, at: [<000000002eec57d4>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 Preemption disabled at: [<00000000840501e5>] spin_lock include/linux/spinlock.h:302 [inline] [<00000000840501e5>] task_lock include/linux/sched.h:3217 [inline] [<00000000840501e5>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 CPU: 1 PID: 2071 Comm: syz-executor616 Not tainted 4.9.184+ #6 ffff8801c3f9f2c8 ffffffff81b580a1 0000000000000000 0000000000000001 ffff8801d1ce97c0 ffffffff810d0ca0 ffff8801d1ce97c0 ffff8801c3f9f300 ffffffff8140040c ffff8801d1ce97c0 ffffffff82a39900 0000000000000387 Call Trace: [<000000006a64728e>] __dump_stack lib/dump_stack.c:15 [inline] [<000000006a64728e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000000d40e243>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<000000005457e34c>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<0000000048ab1bd2>] mmput+0x28/0x370 kernel/fork.c:903 [<0000000058151be6>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<00000000060c1f8d>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000836d0e76>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000836d0e76>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<0000000066dd354f>] shrink_slab mm/vmscan.c:466 [inline] [<0000000066dd354f>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000ba681751>] shrink_zones mm/vmscan.c:2751 [inline] [<00000000ba681751>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<00000000ba681751>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<00000000c283677e>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<00000000c283677e>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<00000000c283677e>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<00000000c283677e>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<000000005026ea66>] __alloc_pages include/linux/gfp.h:433 [inline] [<000000005026ea66>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<000000005026ea66>] alloc_pages_node include/linux/gfp.h:460 [inline] [<000000005026ea66>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<000000005026ea66>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000f2617218>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f2617218>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f2617218>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000006657f613>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<000000009b14f022>] translate_table+0x215/0x16c0 net/ipv6/netfilter/ip6_tables.c:733 [<000000003ae6f0bb>] do_replace net/ipv6/netfilter/ip6_tables.c:1186 [inline] [<000000003ae6f0bb>] do_ip6t_set_ctl+0x2d4/0x480 net/ipv6/netfilter/ip6_tables.c:1712 [<000000006bc50966>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000006bc50966>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000000f100d30>] ipv6_setsockopt net/ipv6/ipv6_sockglue.c:922 [inline] [<000000000f100d30>] ipv6_setsockopt+0x10b/0x140 net/ipv6/ipv6_sockglue.c:906 [<00000000ce011752>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<00000000ce011752>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<0000000018ce1583>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000008d04855d>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000008d04855d>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000199a8683>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000074d11ad>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb ================================= [ INFO: inconsistent lock state ] 4.9.184+ #6 Tainted: G W --------------------------------- inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-R} usage. syz-executor616/2071 [HC0[0]:SC0[0]:HE1:SE1] takes: (&mm->mmap_sem){+++++?}, at: [<000000009f78837e>] 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: 524257 hardirqs last enabled at (524257): [<00000000e31a130f>] restore_regs_and_iret+0x0/0x1d hardirqs last disabled at (524256): [<000000001636ebd8>] preempt_schedule_irq+0x6a/0xa0 kernel/sched/core.c:3705 softirqs last enabled at (524252): [<00000000f331ea6b>] __do_softirq+0x474/0x964 kernel/softirq.c:314 softirqs last disabled at (524233): [<000000005aebed2e>] invoke_softirq kernel/softirq.c:368 [inline] softirqs last disabled at (524233): [<000000005aebed2e>] 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-executor616/2071: #0: (shrinker_rwsem){++++..}, at: [<00000000f0818fd1>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #1: (rcu_read_lock){......}, at: [<000000002eec57d4>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 #2: (lmk_event_lock){+.+.-.}, at: [<0000000014681b36>] spin_lock include/linux/spinlock.h:302 [inline] #2: (lmk_event_lock){+.+.-.}, at: [<0000000014681b36>] handle_lmk_event+0xfb/0x8a0 drivers/staging/android/lowmemorykiller.c:114 stack backtrace: CPU: 1 PID: 2071 Comm: syz-executor616 Tainted: G W 4.9.184+ #6 ffff8801c3f9f010 ffffffff81b580a1 00000000000000f0 ffff8801d1ce97c0 ffffffff83cad250 ffff8801d1cea108 ffffffff8424eec0 ffff8801c3f9f088 ffffffff81406e49 0000000000000000 ffffffff00000001 0000000000000001 Call Trace: [<000000006a64728e>] __dump_stack lib/dump_stack.c:15 [inline] [<000000006a64728e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000006353f338>] print_usage_bug kernel/locking/lockdep.c:2387 [inline] [<000000006353f338>] print_usage_bug.cold+0x452/0x5a2 kernel/locking/lockdep.c:2354 [<000000006b5eeb6b>] valid_state kernel/locking/lockdep.c:2400 [inline] [<000000006b5eeb6b>] mark_lock_irq kernel/locking/lockdep.c:2602 [inline] [<000000006b5eeb6b>] mark_lock+0x6c7/0x12e0 kernel/locking/lockdep.c:3065 [<0000000042e45aac>] mark_irqflags kernel/locking/lockdep.c:2958 [inline] [<0000000042e45aac>] __lock_acquire+0x5c3/0x4350 kernel/locking/lockdep.c:3302 [<00000000a9067d64>] lock_acquire+0x133/0x3d0 kernel/locking/lockdep.c:3756 [<000000002d981f0e>] down_read+0x44/0xb0 kernel/locking/rwsem.c:22 [<000000009f78837e>] get_cmdline+0xa3/0x2d0 mm/util.c:641 [<0000000020dda064>] handle_lmk_event+0x13c/0x8a0 drivers/staging/android/lowmemorykiller.c:128 [<00000000060c1f8d>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000836d0e76>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000836d0e76>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<0000000066dd354f>] shrink_slab mm/vmscan.c:466 [inline] [<0000000066dd354f>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000ba681751>] shrink_zones mm/vmscan.c:2751 [inline] [<00000000ba681751>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<00000000ba681751>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<00000000c283677e>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<00000000c283677e>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<00000000c283677e>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<00000000c283677e>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<000000005026ea66>] __alloc_pages include/linux/gfp.h:433 [inline] [<000000005026ea66>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<000000005026ea66>] alloc_pages_node include/linux/gfp.h:460 [inline] [<000000005026ea66>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<000000005026ea66>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000f2617218>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f2617218>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f2617218>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000006657f613>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<000000009b14f022>] translate_table+0x215/0x16c0 net/ipv6/netfilter/ip6_tables.c:733 [<000000003ae6f0bb>] do_replace net/ipv6/netfilter/ip6_tables.c:1186 [inline] [<000000003ae6f0bb>] do_ip6t_set_ctl+0x2d4/0x480 net/ipv6/netfilter/ip6_tables.c:1712 [<000000006bc50966>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000006bc50966>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000000f100d30>] ipv6_setsockopt net/ipv6/ipv6_sockglue.c:922 [inline] [<000000000f100d30>] ipv6_setsockopt+0x10b/0x140 net/ipv6/ipv6_sockglue.c:906 [<00000000ce011752>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<00000000ce011752>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<0000000018ce1583>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000008d04855d>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000008d04855d>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000199a8683>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000074d11ad>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb oom_reaper: reaped process 2062 (syz-executor616), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor616 invoked oom-killer: gfp_mask=0x24002c2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_NOWARN), nodemask=0, order=0, oom_score_adj=1000 CPU: 0 PID: 2068 Comm: syz-executor616 Tainted: G W 4.9.184+ #6 ffff8801ce14f5f0 ffffffff81b580a1 ffff8801ce14f948 ffffffff833f0b30 00000000000003e8 ffff8801ce14f960 0000000000000000 ffff8801ce14f670 ffffffff815055db 0000000000000000 00000000000003e8 ffffffff8281a285 Call Trace: [<000000006a64728e>] __dump_stack lib/dump_stack.c:15 [inline] [<000000006a64728e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000e34e4d25>] dump_header.isra.0+0x142/0x74c mm/oom_kill.c:417 [<00000000ad77b69e>] oom_kill_process.cold+0xd/0xa74 mm/oom_kill.c:852 [<000000007c414d1c>] out_of_memory mm/oom_kill.c:1069 [inline] [<000000007c414d1c>] out_of_memory+0x29b/0xeb0 mm/oom_kill.c:1009 [<000000009cabd704>] __alloc_pages_may_oom mm/page_alloc.c:3136 [inline] [<000000009cabd704>] __alloc_pages_slowpath mm/page_alloc.c:3750 [inline] [<000000009cabd704>] __alloc_pages_nodemask+0x1730/0x1a80 mm/page_alloc.c:3861 [<000000005026ea66>] __alloc_pages include/linux/gfp.h:433 [inline] [<000000005026ea66>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<000000005026ea66>] alloc_pages_node include/linux/gfp.h:460 [inline] [<000000005026ea66>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<000000005026ea66>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000f2617218>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f2617218>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f2617218>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000006657f613>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<000000009b14f022>] translate_table+0x215/0x16c0 net/ipv6/netfilter/ip6_tables.c:733 [<000000003ae6f0bb>] do_replace net/ipv6/netfilter/ip6_tables.c:1186 [inline] [<000000003ae6f0bb>] do_ip6t_set_ctl+0x2d4/0x480 net/ipv6/netfilter/ip6_tables.c:1712 [<000000006bc50966>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000006bc50966>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000000f100d30>] ipv6_setsockopt net/ipv6/ipv6_sockglue.c:922 [inline] [<000000000f100d30>] ipv6_setsockopt+0x10b/0x140 net/ipv6/ipv6_sockglue.c:906 [<00000000ce011752>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<00000000ce011752>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<0000000018ce1583>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000008d04855d>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000008d04855d>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000199a8683>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000074d11ad>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3242 inactive_anon:41 isolated_anon:0 active_file:21 inactive_file:22 isolated_file:0 unevictable:0 dirty:10 writeback:14 unstable:0 slab_reclaimable:4252 slab_unreclaimable:56757 mapped:39 shmem:48 pagetables:382 bounce:0 free:6048 free_pcp:68 free_cma:0 Node 0 active_anon:12968kB inactive_anon:164kB active_file:84kB inactive_file:88kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:156kB dirty:40kB writeback:56kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:18612kB 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:120kB local_pcp:120kB free_cma:0kB Normal free:5580kB min:5580kB low:9168kB high:12756kB active_anon:12968kB inactive_anon:164kB active_file:84kB inactive_file:88kB unevictable:0kB writepending:96kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17008kB slab_unreclaimable:227028kB kernel_stack:3488kB pagetables:1528kB bounce:0kB free_pcp:152kB local_pcp:152kB free_cma:0kB DMA32: 2*4kB (M) 2*8kB (UM) 1*16kB (M) 1*32kB (U) 2*64kB (M) 4*128kB (UM) 4*256kB (UM) 1*512kB (M) 2*1024kB (M) 1*2048kB (M) 3*4096kB (M) = 18632kB 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 5384 186 16 3 0 -1000 udevd [ 584] 0 584 5377 181 15 3 0 -1000 udevd [ 585] 0 585 5377 181 15 3 0 -1000 udevd [ 1764] 0 1764 2492 573 8 3 0 0 dhclient [ 1895] 0 1895 14264 108 23 3 0 0 rsyslogd [ 1946] 0 1946 4724 50 15 3 0 0 cron [ 1950] 0 1950 3735 44 11 3 0 0 mcstransd [ 1970] 0 1970 12926 1227 27 3 0 0 restorecond [ 1996] 0 1996 12489 152 28 3 0 -1000 sshd [ 2026] 0 2026 3648 39 13 3 0 0 getty [ 2051] 0 2051 3648 42 13 3 0 0 getty [ 2052] 0 2052 3648 44 13 3 0 0 getty [ 2053] 0 2053 3648 44 12 3 0 0 getty [ 2054] 0 2054 3648 42 13 3 0 0 getty [ 2055] 0 2055 3648 43 13 3 0 0 getty [ 2056] 0 2056 3648 43 13 3 0 0 getty [ 2057] 0 2057 17820 212 41 3 0 0 sshd [ 2059] 0 2059 4380 1 4 2 0 0 syz-executor616 [ 2060] 0 2060 4380 11 4 2 0 0 syz-executor616 [ 2061] 0 2061 4380 11 4 2 0 0 syz-executor616 [ 2062] 0 2062 4380 0 9 2 0 1000 syz-executor616 [ 2063] 0 2063 4380 11 4 2 0 0 syz-executor616 [ 2064] 0 2064 4380 11 4 2 0 0 syz-executor616 [ 2065] 0 2065 4380 11 4 2 0 0 syz-executor616 [ 2066] 0 2066 4380 11 4 2 0 0 syz-executor616 [ 2067] 0 2067 4380 17 9 2 0 1000 syz-executor616 [ 2068] 0 2068 4380 17 9 2 0 1000 syz-executor616 [ 2069] 0 2069 4380 17 9 2 0 1000 syz-executor616 [ 2070] 0 2070 4380 17 9 2 0 1000 syz-executor616 [ 2071] 0 2071 4380 17 9 2 0 1000 syz-executor616 Out of memory: Kill process 2067 (syz-executor616) score 999 or sacrifice child Killed process 2067 (syz-executor616) total-vm:17520kB, anon-rss:48kB, file-rss:20kB, shmem-rss:0kB oom_reaper: reaped process 2067 (syz-executor616), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor616: vmalloc: allocation failure, allocated 1066590208 of 3791663104 bytes syz-executor616: , mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) , mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) ffffffff82aaa940 0000000000000000 0000000000400000 ffff8801ce03f9f0 ffffffff81506893 0000000041b58ab3 ffffffff82e3a0f8 ffffffff81430460 Call Trace: [<000000006a64728e>] __dump_stack lib/dump_stack.c:15 [inline] [<000000006a64728e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000cd8555fb>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<00000000b9697d64>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<00000000b9697d64>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000f2617218>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f2617218>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f2617218>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000006657f613>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<000000009b14f022>] translate_table+0x215/0x16c0 net/ipv6/netfilter/ip6_tables.c:733 [<000000003ae6f0bb>] do_replace net/ipv6/netfilter/ip6_tables.c:1186 [inline] [<000000003ae6f0bb>] do_ip6t_set_ctl+0x2d4/0x480 net/ipv6/netfilter/ip6_tables.c:1712 [<000000006bc50966>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000006bc50966>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000000f100d30>] ipv6_setsockopt net/ipv6/ipv6_sockglue.c:922 [inline] [<000000000f100d30>] ipv6_setsockopt+0x10b/0x140 net/ipv6/ipv6_sockglue.c:906 [<00000000ce011752>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<00000000ce011752>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<0000000018ce1583>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000008d04855d>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000008d04855d>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000199a8683>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000074d11ad>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: CPU: 0 PID: 2062 Comm: syz-executor616 Tainted: G W 4.9.184+ #6 active_anon:3234 inactive_anon:41 isolated_anon:0 active_file:21 inactive_file:22 isolated_file:0 unevictable:0 dirty:10 writeback:14 unstable:0 slab_reclaimable:4252 slab_unreclaimable:56757 mapped:39 shmem:48 pagetables:382 bounce:0 free:7 free_pcp:0 free_cma:0 ffff8801ceb878c8 Node 0 active_anon:12936kB inactive_anon:164kB active_file:84kB inactive_file:88kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:156kB dirty:40kB writeback:56kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no ffffffff81b580a1DMA32 free:28kB 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 dffffc0000000000 0 3505 ffffffff82aaa940 3505 0000000000000000 0000000000400000Normal free:0kB min:5580kB low:9168kB high:12756kB active_anon:12936kB inactive_anon:164kB active_file:84kB inactive_file:88kB unevictable:0kB writepending:96kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17008kB slab_unreclaimable:227028kB kernel_stack:3488kB pagetables:1528kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB 0 ffffffff81506893 0 0000000041b58ab3 0 ffffffff82e3a0f8 ffffffff81430460DMA32: 0*4kB Call Trace: 0*8kB [<000000006a64728e>] __dump_stack lib/dump_stack.c:15 [inline] 0*8kB [<000000006a64728e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 0*16kB [<00000000cd8555fb>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 0*64kB [<00000000b9697d64>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] 0*64kB [<00000000b9697d64>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 0*256kB [<00000000f2617218>] __vmalloc_node mm/vmalloc.c:1749 [inline] 0*256kB [<00000000f2617218>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] 0*256kB [<00000000f2617218>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 0*1024kB [<000000006657f613>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 0*2048kB [<000000009b14f022>] translate_table+0x215/0x16c0 net/ipv6/netfilter/ip6_tables.c:733 = 0kB 0*4kB [<000000003ae6f0bb>] do_replace net/ipv6/netfilter/ip6_tables.c:1186 [inline] 0*4kB [<000000003ae6f0bb>] do_ip6t_set_ctl+0x2d4/0x480 net/ipv6/netfilter/ip6_tables.c:1712 0*64kB [<000000006bc50966>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] 0*64kB [<000000006bc50966>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 0*128kB [<000000000f100d30>] ipv6_setsockopt net/ipv6/ipv6_sockglue.c:922 [inline] 0*128kB [<000000000f100d30>] ipv6_setsockopt+0x10b/0x140 net/ipv6/ipv6_sockglue.c:906 0*256kB [<00000000ce011752>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] 0*256kB [<00000000ce011752>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 0*512kB [<0000000018ce1583>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 0*1024kB [<000000008d04855d>] SYSC_setsockopt net/socket.c:1786 [inline] 0*1024kB [<000000008d04855d>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 = 0kB 101 total pagecache pages 0 pages in swap cache [<00000000199a8683>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 Swap cache stats: add 0, delete 0, find 0/0 [<00000000074d11ad>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Free swap = 0kB Mem-Info: Total swap = 0kB active_anon:3234 inactive_anon:41 isolated_anon:0 active_file:21 inactive_file:22 isolated_file:0 unevictable:0 dirty:10 writeback:14 unstable:0 slab_reclaimable:4252 slab_unreclaimable:56757 mapped:39 shmem:48 pagetables:382 bounce:0 free:7 free_pcp:0 free_cma:0 1965979 pages RAM Node 0 active_anon:12936kB inactive_anon:164kB active_file:84kB inactive_file:88kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:156kB dirty:40kB writeback:56kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no 0 pages HighMem/MovableOnly DMA32 free:28kB 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 lowmem_reserve[]: 0 3505 3505 Normal free:0kB min:5580kB low:9168kB high:12756kB active_anon:12936kB inactive_anon:164kB active_file:84kB inactive_file:88kB unevictable:0kB writepending:96kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17008kB slab_unreclaimable:227028kB kernel_stack:3488kB pagetables:1528kB 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 syz-executor616 invoked oom-killer: gfp_mask=0x24002c2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_NOWARN), nodemask=0, order=0, oom_score_adj=1000 CPU: 1 PID: 2069 Comm: syz-executor616 Tainted: G W 4.9.184+ #6 ffff8801ce1375f0 ffffffff81b580a1 ffff8801ce137948 ffffffff833f0b30 00000000000003e8 ffff8801ce137960 0000000000000000 ffff8801ce137670 ffffffff815055db 0000000000000000 00000000000003e8 ffffffff8281a285 Call Trace: [<000000006a64728e>] __dump_stack lib/dump_stack.c:15 [inline] [<000000006a64728e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000e34e4d25>] dump_header.isra.0+0x142/0x74c mm/oom_kill.c:417 [<00000000ad77b69e>] oom_kill_process.cold+0xd/0xa74 mm/oom_kill.c:852 [<000000007c414d1c>] out_of_memory mm/oom_kill.c:1069 [inline] [<000000007c414d1c>] out_of_memory+0x29b/0xeb0 mm/oom_kill.c:1009 [<000000009cabd704>] __alloc_pages_may_oom mm/page_alloc.c:3136 [inline] [<000000009cabd704>] __alloc_pages_slowpath mm/page_alloc.c:3750 [inline] [<000000009cabd704>] __alloc_pages_nodemask+0x1730/0x1a80 mm/page_alloc.c:3861 [<000000005026ea66>] __alloc_pages include/linux/gfp.h:433 [inline] [<000000005026ea66>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<000000005026ea66>] alloc_pages_node include/linux/gfp.h:460 [inline] [<000000005026ea66>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<000000005026ea66>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000f2617218>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f2617218>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f2617218>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000006657f613>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<000000009b14f022>] translate_table+0x215/0x16c0 net/ipv6/netfilter/ip6_tables.c:733 [<000000003ae6f0bb>] do_replace net/ipv6/netfilter/ip6_tables.c:1186 [inline] [<000000003ae6f0bb>] do_ip6t_set_ctl+0x2d4/0x480 net/ipv6/netfilter/ip6_tables.c:1712 [<000000006bc50966>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000006bc50966>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000000f100d30>] ipv6_setsockopt net/ipv6/ipv6_sockglue.c:922 [inline] [<000000000f100d30>] ipv6_setsockopt+0x10b/0x140 net/ipv6/ipv6_sockglue.c:906 [<00000000ce011752>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<00000000ce011752>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<0000000018ce1583>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000008d04855d>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000008d04855d>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000199a8683>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000074d11ad>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3234 inactive_anon:41 isolated_anon:0 active_file:21 inactive_file:22 isolated_file:0 unevictable:0 dirty:10 writeback:14 unstable:0 slab_reclaimable:4252 slab_unreclaimable:56757 mapped:39 shmem:48 pagetables:382 bounce:0 free:7 free_pcp:0 free_cma:0 Node 0 active_anon:12936kB inactive_anon:164kB active_file:84kB inactive_file:88kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:156kB dirty:40kB writeback:56kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:28kB 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:12936kB inactive_anon:164kB active_file:84kB inactive_file:88kB unevictable:0kB writepending:96kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17008kB slab_unreclaimable:227028kB kernel_stack:3488kB pagetables:1528kB 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 [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name [ 470] 0 470 5384 186 16 3 0 -1000 udevd [ 584] 0 584 5377 181 15 3 0 -1000 udevd [ 585] 0 585 5377 181 15 3 0 -1000 udevd [ 1764] 0 1764 2492 573 8 3 0 0 dhclient [ 1895] 0 1895 14264 108 23 3 0 0 rsyslogd [ 1946] 0 1946 4724 50 15 3 0 0 cron [ 1950] 0 1950 3735 44 11 3 0 0 mcstransd [ 1970] 0 1970 12926 1227 27 3 0 0 restorecond [ 1996] 0 1996 12489 152 28 3 0 -1000 sshd [ 2026] 0 2026 3648 39 13 3 0 0 getty [ 2051] 0 2051 3648 42 13 3 0 0 getty [ 2052] 0 2052 3648 44 13 3 0 0 getty [ 2053] 0 2053 3648 44 12 3 0 0 getty [ 2054] 0 2054 3648 42 13 3 0 0 getty [ 2055] 0 2055 3648 43 13 3 0 0 getty [ 2056] 0 2056 3648 43 13 3 0 0 getty [ 2057] 0 2057 17820 198 41 3 0 0 sshd [ 2059] 0 2059 4380 1 4 2 0 0 syz-executor616 [ 2060] 0 2060 4380 11 4 2 0 0 syz-executor616 [ 2061] 0 2061 4380 11 4 2 0 0 syz-executor616 [ 2062] 0 2062 4380 0 9 2 0 1000 syz-executor616 [ 2063] 0 2063 4380 11 4 2 0 0 syz-executor616 [ 2064] 0 2064 4380 11 4 2 0 0 syz-executor616 [ 2065] 0 2065 4380 11 4 2 0 0 syz-executor616 [ 2066] 0 2066 4380 11 4 2 0 0 syz-executor616 [ 2067] 0 2067 4380 0 9 2 0 1000 syz-executor616 [ 2068] 0 2068 4380 17 9 2 0 1000 syz-executor616 [ 2069] 0 2069 4380 17 9 2 0 1000 syz-executor616 [ 2070] 0 2070 4380 17 9 2 0 1000 syz-executor616 [ 2071] 0 2071 4380 17 9 2 0 1000 syz-executor616 Out of memory: Kill process 2068 (syz-executor616) score 999 or sacrifice child Killed process 2068 (syz-executor616) total-vm:17520kB, anon-rss:48kB, file-rss:20kB, shmem-rss:0kB syz-executor616: vmalloc: allocation failure, allocated 1229516800 of 3791663104 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 0 PID: 2068 Comm: syz-executor616 Tainted: G W 4.9.184+ #6 ffff8801ce14f8c8 ffffffff81b580a1 1ffff10039c29f1b dffffc0000000000 ffffffff82aaa940 0000000000000000 0000000000400000 ffff8801ce14f9f0 ffffffff81506893 0000000041b58ab3 ffffffff82e3a0f8 ffffffff81430460 Call Trace: [<000000006a64728e>] __dump_stack lib/dump_stack.c:15 [inline] [<000000006a64728e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000cd8555fb>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<00000000b9697d64>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<00000000b9697d64>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000f2617218>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f2617218>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f2617218>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000006657f613>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<000000009b14f022>] translate_table+0x215/0x16c0 net/ipv6/netfilter/ip6_tables.c:733 [<000000003ae6f0bb>] do_replace net/ipv6/netfilter/ip6_tables.c:1186 [inline] [<000000003ae6f0bb>] do_ip6t_set_ctl+0x2d4/0x480 net/ipv6/netfilter/ip6_tables.c:1712 [<000000006bc50966>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000006bc50966>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000000f100d30>] ipv6_setsockopt net/ipv6/ipv6_sockglue.c:922 [inline] [<000000000f100d30>] ipv6_setsockopt+0x10b/0x140 net/ipv6/ipv6_sockglue.c:906 [<00000000ce011752>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<00000000ce011752>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<0000000018ce1583>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000008d04855d>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000008d04855d>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000199a8683>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000074d11ad>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3234 inactive_anon:41 isolated_anon:0 active_file:21 inactive_file:22 isolated_file:0 unevictable:0 dirty:10 writeback:14 unstable:0 slab_reclaimable:4252 slab_unreclaimable:56757 mapped:39 shmem:48 pagetables:382 bounce:0 free:7 free_pcp:0 free_cma:0 Node 0 active_anon:12936kB inactive_anon:164kB active_file:84kB inactive_file:88kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:156kB dirty:40kB writeback:56kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:28kB 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:12936kB inactive_anon:164kB active_file:84kB inactive_file:88kB unevictable:0kB writepending:96kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17008kB slab_unreclaimable:227028kB kernel_stack:3488kB pagetables:1528kB 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 2068 (syz-executor616), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB ODEBUG: Out of memory. ODEBUG disabled lowmemorykiller: Killing 'syz-executor616' (2074) (tgid 2074), adj 1000, to free 524kB on behalf of 'syz-executor616' (2074) because cache 2132kB is below limit 6144kB for oom_score_adj 0 Free memory is -13384kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 2074, name: syz-executor616 INFO: lockdep is turned off. Preemption disabled at: [<00000000840501e5>] spin_lock include/linux/spinlock.h:302 [inline] [<00000000840501e5>] task_lock include/linux/sched.h:3217 [inline] [<00000000840501e5>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 CPU: 0 PID: 2074 Comm: syz-executor616 Tainted: G W 4.9.184+ #6 ffff8801ceb872c8 ffffffff81b580a1 0000000000000000 0000000000000001 ffff8801ced50000 ffffffff810d0ca0 ffff8801ced50000 ffff8801ceb87300 ffffffff8140040c ffff8801ced50000 ffffffff82a39900 0000000000000387 Call Trace: [<000000006a64728e>] __dump_stack lib/dump_stack.c:15 [inline] [<000000006a64728e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000000d40e243>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<000000005457e34c>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<0000000048ab1bd2>] mmput+0x28/0x370 kernel/fork.c:903 [<0000000058151be6>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<00000000060c1f8d>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000836d0e76>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000836d0e76>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<0000000066dd354f>] shrink_slab mm/vmscan.c:466 [inline] [<0000000066dd354f>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000ba681751>] shrink_zones mm/vmscan.c:2751 [inline] [<00000000ba681751>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<00000000ba681751>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<00000000c283677e>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<00000000c283677e>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<00000000c283677e>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<00000000c283677e>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<000000005026ea66>] __alloc_pages include/linux/gfp.h:433 [inline] [<000000005026ea66>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<000000005026ea66>] alloc_pages_node include/linux/gfp.h:460 [inline] [<000000005026ea66>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<000000005026ea66>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000f2617218>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f2617218>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f2617218>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000006657f613>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<000000009b14f022>] translate_table+0x215/0x16c0 net/ipv6/netfilter/ip6_tables.c:733 [<000000003ae6f0bb>] do_replace net/ipv6/netfilter/ip6_tables.c:1186 [inline] [<000000003ae6f0bb>] do_ip6t_set_ctl+0x2d4/0x480 net/ipv6/netfilter/ip6_tables.c:1712 [<000000006bc50966>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000006bc50966>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000000f100d30>] ipv6_setsockopt net/ipv6/ipv6_sockglue.c:922 [inline] [<000000000f100d30>] ipv6_setsockopt+0x10b/0x140 net/ipv6/ipv6_sockglue.c:906 [<00000000ce011752>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<00000000ce011752>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<0000000018ce1583>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000008d04855d>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000008d04855d>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000199a8683>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000074d11ad>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb syz-executor616 invoked oom-killer: gfp_mask=0x24002c2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_NOWARN), nodemask=0, order=0, oom_score_adj=1000 CPU: 1 PID: 2075 Comm: syz-executor616 Tainted: G W 4.9.184+ #6 ffff8801ce14f5f0 ffffffff81b580a1 ffff8801ce14f948 ffffffff833f0b30 00000000000003e8 ffff8801ce14f960 0000000000000000 ffff8801ce14f670 ffffffff815055db 0000000000000000 00000000000003e8 ffffffff8281a285 Call Trace: [<000000006a64728e>] __dump_stack lib/dump_stack.c:15 [inline] [<000000006a64728e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000e34e4d25>] dump_header.isra.0+0x142/0x74c mm/oom_kill.c:417 [<00000000ad77b69e>] oom_kill_process.cold+0xd/0xa74 mm/oom_kill.c:852 [<000000007c414d1c>] out_of_memory mm/oom_kill.c:1069 [inline] [<000000007c414d1c>] out_of_memory+0x29b/0xeb0 mm/oom_kill.c:1009 [<000000009cabd704>] __alloc_pages_may_oom mm/page_alloc.c:3136 [inline] [<000000009cabd704>] __alloc_pages_slowpath mm/page_alloc.c:3750 [inline] [<000000009cabd704>] __alloc_pages_nodemask+0x1730/0x1a80 mm/page_alloc.c:3861 [<000000005026ea66>] __alloc_pages include/linux/gfp.h:433 [inline] [<000000005026ea66>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<000000005026ea66>] alloc_pages_node include/linux/gfp.h:460 [inline] [<000000005026ea66>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<000000005026ea66>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000f2617218>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f2617218>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f2617218>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000006657f613>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<000000009b14f022>] translate_table+0x215/0x16c0 net/ipv6/netfilter/ip6_tables.c:733 [<000000003ae6f0bb>] do_replace net/ipv6/netfilter/ip6_tables.c:1186 [inline] [<000000003ae6f0bb>] do_ip6t_set_ctl+0x2d4/0x480 net/ipv6/netfilter/ip6_tables.c:1712 [<000000006bc50966>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000006bc50966>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000000f100d30>] ipv6_setsockopt net/ipv6/ipv6_sockglue.c:922 [inline] [<000000000f100d30>] ipv6_setsockopt+0x10b/0x140 net/ipv6/ipv6_sockglue.c:906 [<00000000ce011752>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<00000000ce011752>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<0000000018ce1583>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000008d04855d>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000008d04855d>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000199a8683>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000074d11ad>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3242 inactive_anon:41 isolated_anon:0 active_file:31 inactive_file:46 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4256 slab_unreclaimable:56589 mapped:59 shmem:48 pagetables:375 bounce:0 free:6061 free_pcp:30 free_cma:0 Node 0 active_anon:12968kB inactive_anon:164kB active_file:124kB inactive_file:184kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:236kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:44 all_unreclaimable? no DMA32 free:18700kB 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:5544kB min:5580kB low:9168kB high:12756kB active_anon:12968kB inactive_anon:164kB active_file:124kB inactive_file:184kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17024kB slab_unreclaimable:226356kB kernel_stack:3488kB pagetables:1500kB bounce:0kB free_pcp:120kB local_pcp:120kB free_cma:0kB DMA32: 1*4kB (M) 1*8kB (M) 1*16kB (U) 1*32kB (U) 1*64kB (M) 2*128kB (M) 2*256kB (M) 1*512kB (U) 1*1024kB (M) 0*2048kB 4*4096kB (U) = 18812kB 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 5384 186 16 3 0 -1000 udevd [ 584] 0 584 5377 181 15 3 0 -1000 udevd [ 585] 0 585 5377 181 15 3 0 -1000 udevd [ 1764] 0 1764 2492 573 8 3 0 0 dhclient [ 1895] 0 1895 14264 108 23 3 0 0 rsyslogd [ 1946] 0 1946 4724 50 15 3 0 0 cron [ 1950] 0 1950 3735 44 11 3 0 0 mcstransd [ 1970] 0 1970 12926 1227 27 3 0 0 restorecond [ 1996] 0 1996 12489 152 28 3 0 -1000 sshd [ 2026] 0 2026 3648 39 13 3 0 0 getty [ 2051] 0 2051 3648 42 13 3 0 0 getty [ 2052] 0 2052 3648 44 13 3 0 0 getty [ 2053] 0 2053 3648 44 12 3 0 0 getty [ 2054] 0 2054 3648 42 13 3 0 0 getty [ 2055] 0 2055 3648 43 13 3 0 0 getty [ 2056] 0 2056 3648 43 13 3 0 0 getty [ 2057] 0 2057 17820 197 41 3 0 0 sshd [ 2059] 0 2059 4380 1 4 2 0 0 syz-executor616 [ 2060] 0 2060 4380 11 4 2 0 0 syz-executor616 [ 2061] 0 2061 4380 11 4 2 0 0 syz-executor616 [ 2063] 0 2063 4380 11 4 2 0 0 syz-executor616 [ 2064] 0 2064 4380 11 4 2 0 0 syz-executor616 [ 2065] 0 2065 4380 11 4 2 0 0 syz-executor616 [ 2066] 0 2066 4380 11 4 2 0 0 syz-executor616 [ 2069] 0 2069 4380 17 9 2 0 1000 syz-executor616 [ 2070] 0 2070 4380 17 9 2 0 1000 syz-executor616 [ 2071] 0 2071 4380 17 9 2 0 1000 syz-executor616 [ 2073] 0 2073 4380 17 9 2 0 1000 syz-executor616 [ 2074] 0 2074 4380 17 9 2 0 1000 syz-executor616 [ 2075] 0 2075 4380 17 9 2 0 1000 syz-executor616 Out of memory: Kill process 2069 (syz-executor616) score 999 or sacrifice child Killed process 2069 (syz-executor616) total-vm:17520kB, anon-rss:48kB, file-rss:20kB, shmem-rss:0kB syz-executor616: vmalloc: allocation failure, allocated 1033015296 of 3791663104 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 1 PID: 2069 Comm: syz-executor616 Tainted: G W 4.9.184+ #6 ffff8801ce1378c8 ffffffff81b580a1 1ffff10039c26f1b dffffc0000000000 ffffffff82aaa940 0000000000000000 0000000000400000 ffff8801ce1379f0 ffffffff81506893 0000000041b58ab3 ffffffff82e3a0f8 ffffffff81430460 Call Trace: [<000000006a64728e>] __dump_stack lib/dump_stack.c:15 [inline] [<000000006a64728e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000cd8555fb>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<00000000b9697d64>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<00000000b9697d64>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000f2617218>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f2617218>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f2617218>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000006657f613>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<000000009b14f022>] translate_table+0x215/0x16c0 net/ipv6/netfilter/ip6_tables.c:733 [<000000003ae6f0bb>] do_replace net/ipv6/netfilter/ip6_tables.c:1186 [inline] [<000000003ae6f0bb>] do_ip6t_set_ctl+0x2d4/0x480 net/ipv6/netfilter/ip6_tables.c:1712 [<000000006bc50966>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000006bc50966>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000000f100d30>] ipv6_setsockopt net/ipv6/ipv6_sockglue.c:922 [inline] [<000000000f100d30>] ipv6_setsockopt+0x10b/0x140 net/ipv6/ipv6_sockglue.c:906 [<00000000ce011752>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<00000000ce011752>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<0000000018ce1583>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000008d04855d>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000008d04855d>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000199a8683>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000074d11ad>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3242 inactive_anon:41 isolated_anon:0 active_file:31 inactive_file:46 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4256 slab_unreclaimable:56589 mapped:59 shmem:48 pagetables:375 bounce:0 free:0 free_pcp:0 free_cma:0 Node 0 active_anon:12968kB inactive_anon:164kB active_file:124kB inactive_file:184kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:236kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:0kB 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:12968kB inactive_anon:164kB active_file:124kB inactive_file:184kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17024kB slab_unreclaimable:226356kB kernel_stack:3488kB pagetables:1500kB 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 2069 (syz-executor616), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor616 invoked oom-killer: gfp_mask=0x24200ca(GFP_HIGHUSER_MOVABLE), nodemask=0, order=0, oom_score_adj=0 CPU: 1 PID: 2064 Comm: syz-executor616 Tainted: G W 4.9.184+ #6 ffff8801ce0c76f0 ffffffff81b580a1 ffff8801ce0c7a48 ffffffff833f0b30 0000000000000000 ffff8801ce0c7a60 0000000000000000 ffff8801ce0c7770 ffffffff815055db 0000000000000000 0000000000000000 ffffffff8281a285 Call Trace: [<000000006a64728e>] __dump_stack lib/dump_stack.c:15 [inline] [<000000006a64728e>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000e34e4d25>] dump_header.isra.0+0x142/0x74c mm/oom_kill.c:417 [<00000000ad77b69e>] oom_kill_process.cold+0xd/0xa74 mm/oom_kill.c:852 [<000000007c414d1c>] out_of_memory mm/oom_kill.c:1069 [inline] [<000000007c414d1c>] out_of_memory+0x29b/0xeb0 mm/oom_kill.c:1009 [<000000009cabd704>] __alloc_pages_may_oom mm/page_alloc.c:3136 [inline] [<000000009cabd704>] __alloc_pages_slowpath mm/page_alloc.c:3750 [inline] [<000000009cabd704>] __alloc_pages_nodemask+0x1730/0x1a80 mm/page_alloc.c:3861 [<0000000056d7fc03>] __alloc_pages include/linux/gfp.h:433 [inline] [<0000000056d7fc03>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<0000000056d7fc03>] alloc_pages_node include/linux/gfp.h:460 [inline] [<0000000056d7fc03>] __page_cache_alloc include/linux/pagemap.h:208 [inline] [<0000000056d7fc03>] pagecache_get_page+0x248/0x740 mm/filemap.c:1367 [<0000000018c714c7>] filemap_fault+0xb1f/0x1360 mm/filemap.c:2331 [<0000000060445048>] ext4_filemap_fault+0x72/0xa0 fs/ext4/inode.c:5854 [<000000001ad85dc9>] __do_fault+0x2a8/0x6c0 mm/memory.c:2855 [<000000007bfd3a27>] do_read_fault mm/memory.c:3202 [inline] [<000000007bfd3a27>] do_fault mm/memory.c:3338 [inline] [<000000007bfd3a27>] handle_pte_fault mm/memory.c:3547 [inline] [<000000007bfd3a27>] __handle_mm_fault mm/memory.c:3634 [inline] [<000000007bfd3a27>] handle_mm_fault+0x11bc/0x2420 mm/memory.c:3671 [<00000000d8818e6e>] __do_page_fault+0x3f0/0xa60 arch/x86/mm/fault.c:1404 [<000000003bd16c29>] do_page_fault+0x28/0x30 arch/x86/mm/fault.c:1467 [<00000000e4a19603>] page_fault+0x25/0x30 arch/x86/entry/entry_64.S:953 Mem-Info: active_anon:3242 inactive_anon:41 isolated_anon:0 active_file:22 inactive_file:45 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4256 slab_unreclaimable:56589 mapped:16 shmem:48 pagetables:382 bounce:0 free:6051 free_pcp:76 free_cma:0 Node 0 active_anon:12968kB inactive_anon:164kB active_file:88kB inactive_file:180kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:64kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:18652kB min:4696kB low:7712kB high:10728kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:100kB 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:184kB local_pcp:120kB free_cma:0kB Normal free:5552kB min:5580kB low:9168kB high:12756kB active_anon:12968kB inactive_anon:164kB active_file:88kB inactive_file:80kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17024kB slab_unreclaimable:226356kB kernel_stack:3488kB pagetables:1528kB bounce:0kB free_pcp:120kB local_pcp:0kB free_cma:0kB DMA32: 1*4kB (M) 1*8kB (U) 11*16kB (UM) 11*32kB (UM) 9*64kB (M) 59*128kB (UM) 39*256kB (U) 0*512kB 0*1024kB 0*2048kB 0*4096kB = 18652kB 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 5384 186 16 3 0 -1000 udevd [ 584] 0 584 5377 181 15 3 0 -1000 udevd [ 585] 0 585 5377 181 15 3 0 -1000 udevd [ 1764] 0 1764 2492 573 8 3 0 0 dhclient [ 1895] 0 1895 14264 108 23 3 0 0 rsyslogd [ 1946] 0 1946 4724 50 15 3 0 0 cron [ 1950] 0 1950 3735 44 11 3 0 0 mcstransd [ 1970] 0 1970 12926 1227 27 3 0 0 restorecond [ 1996] 0 1996 12489 152 28 3 0 -1000 sshd [ 2026] 0 2026 3648 39 13 3 0 0 getty [ 2051] 0 2051 3648 42 13 3 0 0 getty [ 2052] 0 2052 3648 44 13 3 0 0 getty [ 2053] 0 2053 3648 44 12 3 0 0 getty [ 2054] 0 2054 3648 42 13 3 0 0 getty [ 2055] 0 2055 3648 43 13 3 0 0 getty [ 2056] 0 2056 3648 43 13 3 0 0 getty [ 2057] 0 2057 17820 197 41 3 0 0 sshd [ 2059] 0 2059 4380 1 4 2 0 0 syz-executor616 [ 2060] 0 2060 4380 11 4 2 0 0 syz-executor616 [ 2061] 0 2061 4380 11 4 2 0 0 syz-executor616 [ 2063] 0 2063 4380 11 4 2 0 0 syz-executor616 [ 2064] 0 2064 4380 11 4 2 0 0 syz-executor616 [ 2065] 0 2065 4380 11 4 2 0 0 syz-executor616 [ 2066] 0 2066 4380 11 4 2 0 0 syz-executor616 [ 2069] 0 2069 4380 0 9 2 0 1000 syz-executor616 [ 2070] 0 2070 4380 15 9 2 0 1000 syz-executor616 [ 2071] 0 2071 4380 15 9 2 0 1000 syz-executor616 [ 2073] 0 2073 4380 15 9 2 0 1000 syz-executor616 [ 2074] 0 2074 4380 15 9 2 0 1000 syz-executor616 [ 2075] 0 2075 4380 15 9 2 0 1000 syz-executor616 Out of memory: Kill process 2070 (syz-executor616) score 999 or sacrifice child Killed process 2070 (syz-executor616) total-vm:17520kB, anon-rss:48kB, file-rss:12kB, shmem-rss:0kB oom_reaper: reaped process 2070 (syz-executor616), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor616 invoked oom-killer: gfp_mask=0x24002c2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_NOWARN), nodemask=0, order=0, oom_score_adj=1000 CPU: 1 PID: 2075 Comm: syz-executor616 Tainted: G W 4.9.184+ #6