lowmemorykiller: Killing 'syz-executor462' (2049) (tgid 2049), adj 1000, to free 40kB on behalf of 'syz-executor462' (2058) because cache 34192kB is below limit 65536kB for oom_score_adj 12 Free memory is -13400kB above reserved ================================= [ INFO: inconsistent lock state ] 4.9.194+ #0 Not tainted --------------------------------- inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-R} usage. syz-executor462/2058 [HC0[0]:SC0[0]:HE1:SE1] takes: (&mm->mmap_sem){+++++?}, at: [<0000000034f157f9>] 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:1625 [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: 519715 hardirqs last enabled at (519715): [<000000001ea974bc>] vprintk_emit+0x25c/0x6f0 kernel/printk/printk.c:1897 hardirqs last disabled at (519714): [<00000000a43f9b2e>] vprintk_emit+0x6d/0x6f0 kernel/printk/printk.c:1801 softirqs last enabled at (519052): [<00000000dd0abaa3>] spin_unlock_bh include/linux/spinlock.h:352 [inline] softirqs last enabled at (519052): [<00000000dd0abaa3>] wb_queue_work+0x1ed/0x450 fs/fs-writeback.c:203 softirqs last disabled at (519048): [<000000004ab504ad>] spin_lock_bh include/linux/spinlock.h:307 [inline] softirqs last disabled at (519048): [<000000004ab504ad>] wb_queue_work+0x90/0x450 fs/fs-writeback.c:195 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&mm->mmap_sem); lock(&mm->mmap_sem); *** DEADLOCK *** 1 lock held by syz-executor462/2058: #0: (shrinker_rwsem){++++..}, at: [<0000000091d8438f>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 stack backtrace: CPU: 0 PID: 2058 Comm: syz-executor462 Not tainted 4.9.194+ #0 ffff8801c625eff0 ffffffff81b67001 00000000000000f0 ffff8801d1e50000 ffffffff83cb1050 ffff8801d1e508f8 ffffffff84252000 ffff8801c625f068 ffffffff81408710 0000000000000000 ffffffff00000001 0000000000000001 Call Trace: [<00000000df18fc01>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000df18fc01>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000150d31ab>] print_usage_bug kernel/locking/lockdep.c:2387 [inline] [<00000000150d31ab>] print_usage_bug.cold+0x452/0x5a2 kernel/locking/lockdep.c:2354 [<000000005eb4d2a0>] valid_state kernel/locking/lockdep.c:2400 [inline] [<000000005eb4d2a0>] mark_lock_irq kernel/locking/lockdep.c:2602 [inline] [<000000005eb4d2a0>] mark_lock+0x6c7/0x12e0 kernel/locking/lockdep.c:3065 [<0000000030a388f0>] mark_irqflags kernel/locking/lockdep.c:2958 [inline] [<0000000030a388f0>] __lock_acquire+0x5be/0x4390 kernel/locking/lockdep.c:3302 [<00000000966b2d95>] lock_acquire+0x133/0x3d0 kernel/locking/lockdep.c:3756 [<00000000cfaa38e4>] down_read+0x44/0xb0 kernel/locking/rwsem.c:22 [<0000000034f157f9>] get_cmdline+0xa3/0x2d0 mm/util.c:641 [<00000000cdf99862>] handle_lmk_event+0x169/0x920 drivers/staging/android/lowmemorykiller.c:116 [<00000000191d4bdf>] lowmem_scan+0x6f3/0xb70 drivers/staging/android/lowmemorykiller.c:354 [<0000000069d8b8be>] do_shrink_slab mm/vmscan.c:399 [inline] [<0000000069d8b8be>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<000000009ba1f4ee>] shrink_slab mm/vmscan.c:466 [inline] [<000000009ba1f4ee>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000d430d79b>] shrink_zones mm/vmscan.c:2751 [inline] [<00000000d430d79b>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<00000000d430d79b>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<00000000e6be6fc2>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<00000000e6be6fc2>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<00000000e6be6fc2>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<00000000e6be6fc2>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<0000000067f42d74>] __alloc_pages include/linux/gfp.h:433 [inline] [<0000000067f42d74>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<0000000067f42d74>] alloc_pages_node include/linux/gfp.h:460 [inline] [<0000000067f42d74>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<0000000067f42d74>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000ea8a7f5e>] __vmalloc_node mm/vmalloc.c:1755 [inline] [<00000000ea8a7f5e>] __vmalloc_node_flags mm/vmalloc.c:1769 [inline] [<00000000ea8a7f5e>] vmalloc+0x5c/0x70 mm/vmalloc.c:1784 [<000000000cb3d589>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<0000000002decc60>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<0000000002decc60>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<00000000b861c814>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000b861c814>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<00000000410270e2>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<00000000410270e2>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<0000000025e90d1d>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<00000000aaec4a7d>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<0000000008f9b7f3>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<0000000008f9b7f3>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<00000000b2ac6f71>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000008e96db83>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000008e96db83>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000008b6b39d0>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000fe6b6a1c>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb oom_reaper: reaped process 2049 (syz-executor462), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor462 invoked oom-killer: gfp_mask=0x24002c2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_NOWARN), nodemask=0, order=0, oom_score_adj=1000 CPU: 1 PID: 2054 Comm: syz-executor462 Not tainted 4.9.194+ #0 ffff8801ceeef6c0 ffffffff81b67001 ffff8801ceeefa18 ffffffff833f1c30 00000000000003e8 ffff8801ceeefa30 0000000000000000 ffff8801ceeef740 ffffffff81506e44 0000000000000000 00000000000003e8 ffffffff8282ac45 Call Trace: [<00000000df18fc01>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000df18fc01>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000000034de48>] dump_header.isra.0+0x142/0x74c mm/oom_kill.c:417 [<0000000061eabb3e>] oom_kill_process.cold+0xd/0xa74 mm/oom_kill.c:852 [<00000000d6992e1d>] out_of_memory mm/oom_kill.c:1069 [inline] [<00000000d6992e1d>] out_of_memory+0x29b/0xea0 mm/oom_kill.c:1009 [<00000000f611d921>] __alloc_pages_may_oom mm/page_alloc.c:3136 [inline] [<00000000f611d921>] __alloc_pages_slowpath mm/page_alloc.c:3750 [inline] [<00000000f611d921>] __alloc_pages_nodemask+0x1730/0x1a80 mm/page_alloc.c:3861 [<0000000067f42d74>] __alloc_pages include/linux/gfp.h:433 [inline] [<0000000067f42d74>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<0000000067f42d74>] alloc_pages_node include/linux/gfp.h:460 [inline] [<0000000067f42d74>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<0000000067f42d74>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000ea8a7f5e>] __vmalloc_node mm/vmalloc.c:1755 [inline] [<00000000ea8a7f5e>] __vmalloc_node_flags mm/vmalloc.c:1769 [inline] [<00000000ea8a7f5e>] vmalloc+0x5c/0x70 mm/vmalloc.c:1784 [<000000000cb3d589>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<0000000002decc60>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<0000000002decc60>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<00000000b861c814>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000b861c814>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<00000000410270e2>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<00000000410270e2>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<0000000025e90d1d>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<00000000aaec4a7d>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<0000000008f9b7f3>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<0000000008f9b7f3>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<00000000b2ac6f71>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000008e96db83>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000008e96db83>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000008b6b39d0>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000fe6b6a1c>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3245 inactive_anon:41 isolated_anon:0 active_file:8 inactive_file:14 isolated_file:0 unevictable:0 dirty:0 writeback:11 unstable:0 slab_reclaimable:4263 slab_unreclaimable:56573 mapped:21 shmem:48 pagetables:360 bounce:0 free:6037 free_pcp:38 free_cma:0 Node 0 active_anon:12980kB inactive_anon:164kB active_file:32kB inactive_file:56kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:84kB dirty:0kB writeback:44kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:6 all_unreclaimable? no DMA32 free:18680kB 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:3020092kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:32kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:5468kB min:5580kB low:9168kB high:12756kB active_anon:12980kB inactive_anon:164kB active_file:32kB inactive_file:56kB unevictable:0kB writepending:44kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17052kB slab_unreclaimable:226292kB kernel_stack:3424kB pagetables:1440kB bounce:0kB free_pcp:152kB local_pcp:152kB free_cma:0kB DMA32: 5*4kB (UM) 1*8kB (M) 3*16kB (UM) 2*32kB (UM) 2*64kB (UM) 4*128kB (UM) 4*256kB (UM) 1*512kB (M) 2*1024kB (M) 1*2048kB (M) 3*4096kB (M) = 18700kB 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 313627 pages reserved [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name [ 470] 0 470 5392 186 17 3 0 -1000 udevd [ 569] 0 569 5383 174 16 3 0 -1000 udevd [ 571] 0 571 5383 176 16 3 0 -1000 udevd [ 1748] 0 1748 2492 573 9 3 0 0 dhclient [ 1887] 0 1887 30635 111 25 3 0 0 rsyslogd [ 1941] 0 1941 4724 51 15 3 0 0 cron [ 1960] 0 1960 12926 1228 26 3 0 0 restorecond [ 1972] 0 1972 3735 45 10 3 0 0 mcstransd [ 1989] 0 1989 12489 152 28 4 0 -1000 sshd [ 2019] 0 2019 3648 41 13 3 0 0 getty [ 2038] 0 2038 3648 42 12 3 0 0 getty [ 2039] 0 2039 3648 42 13 3 0 0 getty [ 2040] 0 2040 3648 42 13 3 0 0 getty [ 2041] 0 2041 3648 42 13 3 0 0 getty [ 2042] 0 2042 3648 43 13 3 0 0 getty [ 2043] 0 2043 3648 41 13 3 0 0 getty [ 2044] 0 2044 17820 197 39 3 0 0 sshd [ 2046] 0 2046 4380 1 4 2 0 0 syz-executor462 [ 2047] 0 2047 4380 10 4 2 0 0 syz-executor462 [ 2048] 0 2048 4380 10 4 2 0 0 syz-executor462 [ 2049] 0 2049 4380 0 5 2 0 1000 syz-executor462 [ 2050] 0 2050 4380 10 4 2 0 0 syz-executor462 [ 2051] 0 2051 4380 10 4 2 0 0 syz-executor462 [ 2052] 0 2052 4380 10 4 2 0 0 syz-executor462 [ 2053] 0 2053 4380 10 4 2 0 0 syz-executor462 [ 2054] 0 2054 4380 10 5 2 0 1000 syz-executor462 [ 2055] 0 2055 4380 10 5 2 0 1000 syz-executor462 [ 2056] 0 2056 4380 10 5 2 0 1000 syz-executor462 [ 2057] 0 2057 4380 10 5 2 0 1000 syz-executor462 [ 2058] 0 2058 4380 10 5 2 0 1000 syz-executor462 Out of memory: Kill process 2054 (syz-executor462) score 999 or sacrifice child Killed process 2054 (syz-executor462) total-vm:17520kB, anon-rss:40kB, file-rss:0kB, shmem-rss:0kB oom_reaper: reaped process 2054 (syz-executor462), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor462: vmalloc: allocation failure, allocated 1148563456 of 4210425856 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 1 PID: 2054 Comm: syz-executor462 Not tainted 4.9.194+ #0 ffff8801ceeef998 ffffffff81b67001 1ffff10039dddf35 dffffc0000000000 ffffffff82aab480 0000000000000000 0000000000400000 ffff8801ceeefac0 ffffffff815080fc 0000000041b58ab3 ffffffff82e3bc80 ffffffff81431d00 Call Trace: [<00000000df18fc01>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000df18fc01>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000b5cd697f>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<0000000083c9f1fa>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<0000000083c9f1fa>] __vmalloc_node_range+0x404/0x610 mm/vmalloc.c:1706 [<00000000ea8a7f5e>] __vmalloc_node mm/vmalloc.c:1755 [inline] [<00000000ea8a7f5e>] __vmalloc_node_flags mm/vmalloc.c:1769 [inline] [<00000000ea8a7f5e>] vmalloc+0x5c/0x70 mm/vmalloc.c:1784 [<000000000cb3d589>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<0000000002decc60>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<0000000002decc60>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<00000000b861c814>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000b861c814>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<00000000410270e2>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<00000000410270e2>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<0000000025e90d1d>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<00000000aaec4a7d>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<0000000008f9b7f3>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<0000000008f9b7f3>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<00000000b2ac6f71>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000008e96db83>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000008e96db83>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000008b6b39d0>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000fe6b6a1c>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3245 inactive_anon:41 isolated_anon:0 active_file:8 inactive_file:14 isolated_file:0 unevictable:0 dirty:0 writeback:11 unstable:0 slab_reclaimable:4263 slab_unreclaimable:56573 mapped:21 shmem:48 pagetables:360 bounce:0 free:592 free_pcp:16 free_cma:0 Node 0 active_anon:12980kB inactive_anon:164kB active_file:32kB inactive_file:56kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:84kB dirty:0kB writeback:44kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:6 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:3020092kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:32kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:2388kB min:5580kB low:9168kB high:12756kB active_anon:12980kB inactive_anon:164kB active_file:32kB inactive_file:56kB unevictable:0kB writepending:44kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17052kB slab_unreclaimable:226292kB kernel_stack:3424kB pagetables:1440kB bounce:0kB free_pcp:64kB local_pcp:64kB 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 313627 pages reserved syz-executor462 invoked oom-killer: gfp_mask=0x24002c2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_NOWARN), nodemask=0, order=0, oom_score_adj=1000 CPU: 0 PID: 2049 Comm: syz-executor462 Not tainted 4.9.194+ #0 ffff8801cefb76c0 ffffffff81b67001 ffff8801cefb7a18 ffffffff833f1c30 00000000000003e8 ffff8801cefb7a30 0000000000000000 ffff8801cefb7740 ffffffff81506e44 0000000000000000 00000000000003e8 ffffffff8282ac45 Call Trace: [<00000000df18fc01>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000df18fc01>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000000034de48>] dump_header.isra.0+0x142/0x74c mm/oom_kill.c:417 [<0000000061eabb3e>] oom_kill_process.cold+0xd/0xa74 mm/oom_kill.c:852 [<00000000d6992e1d>] out_of_memory mm/oom_kill.c:1069 [inline] [<00000000d6992e1d>] out_of_memory+0x29b/0xea0 mm/oom_kill.c:1009 [<00000000f611d921>] __alloc_pages_may_oom mm/page_alloc.c:3136 [inline] [<00000000f611d921>] __alloc_pages_slowpath mm/page_alloc.c:3750 [inline] [<00000000f611d921>] __alloc_pages_nodemask+0x1730/0x1a80 mm/page_alloc.c:3861 [<0000000067f42d74>] __alloc_pages include/linux/gfp.h:433 [inline] [<0000000067f42d74>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<0000000067f42d74>] alloc_pages_node include/linux/gfp.h:460 [inline] [<0000000067f42d74>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<0000000067f42d74>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000ea8a7f5e>] __vmalloc_node mm/vmalloc.c:1755 [inline] [<00000000ea8a7f5e>] __vmalloc_node_flags mm/vmalloc.c:1769 [inline] [<00000000ea8a7f5e>] vmalloc+0x5c/0x70 mm/vmalloc.c:1784 [<000000000cb3d589>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<0000000002decc60>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<0000000002decc60>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<00000000b861c814>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000b861c814>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<00000000410270e2>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<00000000410270e2>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<0000000025e90d1d>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<00000000aaec4a7d>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<0000000008f9b7f3>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<0000000008f9b7f3>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<00000000b2ac6f71>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000008e96db83>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000008e96db83>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000008b6b39d0>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000fe6b6a1c>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3245 inactive_anon:41 isolated_anon:0 active_file:8 inactive_file:14 isolated_file:0 unevictable:0 dirty:0 writeback:11 unstable:0 slab_reclaimable:4263 slab_unreclaimable:56573 mapped:21 shmem:48 pagetables:360 bounce:0 free:592 free_pcp:0 free_cma:0 Node 0 active_anon:12980kB inactive_anon:164kB active_file:32kB inactive_file:56kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:84kB dirty:0kB writeback:44kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:6 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:3020092kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:32kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:2388kB min:5580kB low:9168kB high:12756kB active_anon:12980kB inactive_anon:164kB active_file:32kB inactive_file:56kB unevictable:0kB writepending:44kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17052kB slab_unreclaimable:226292kB kernel_stack:3424kB pagetables:1440kB 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 313627 pages reserved [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name [ 470] 0 470 5392 186 17 3 0 -1000 udevd [ 569] 0 569 5383 174 16 3 0 -1000 udevd [ 571] 0 571 5383 176 16 3 0 -1000 udevd [ 1748] 0 1748 2492 573 9 3 0 0 dhclient [ 1887] 0 1887 30635 111 25 3 0 0 rsyslogd [ 1941] 0 1941 4724 51 15 3 0 0 cron [ 1960] 0 1960 12926 1228 26 3 0 0 restorecond [ 1972] 0 1972 3735 45 10 3 0 0 mcstransd [ 1989] 0 1989 12489 152 28 4 0 -1000 sshd [ 2019] 0 2019 3648 41 13 3 0 0 getty [ 2038] 0 2038 3648 42 12 3 0 0 getty [ 2039] 0 2039 3648 42 13 3 0 0 getty [ 2040] 0 2040 3648 42 13 3 0 0 getty [ 2041] 0 2041 3648 42 13 3 0 0 getty [ 2042] 0 2042 3648 43 13 3 0 0 getty [ 2043] 0 2043 3648 41 13 3 0 0 getty [ 2044] 0 2044 17820 197 39 3 0 0 sshd [ 2046] 0 2046 4380 1 4 2 0 0 syz-executor462 [ 2047] 0 2047 4380 10 4 2 0 0 syz-executor462 [ 2048] 0 2048 4380 10 4 2 0 0 syz-executor462 [ 2049] 0 2049 4380 0 5 2 0 1000 syz-executor462 [ 2050] 0 2050 4380 10 4 2 0 0 syz-executor462 [ 2051] 0 2051 4380 10 4 2 0 0 syz-executor462 [ 2052] 0 2052 4380 10 4 2 0 0 syz-executor462 [ 2053] 0 2053 4380 10 4 2 0 0 syz-executor462 [ 2054] 0 2054 4380 0 5 2 0 1000 syz-executor462 [ 2055] 0 2055 4380 10 5 2 0 1000 syz-executor462 [ 2056] 0 2056 4380 10 5 2 0 1000 syz-executor462 [ 2057] 0 2057 4380 10 5 2 0 1000 syz-executor462 [ 2058] 0 2058 4380 10 5 2 0 1000 syz-executor462 Out of memory: Kill process 2055 (syz-executor462) score 999 or sacrifice child Killed process 2055 (syz-executor462) total-vm:17520kB, anon-rss:40kB, file-rss:0kB, shmem-rss:0kB oom_reaper: reaped process 2055 (syz-executor462), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor462: vmalloc: allocation failure, allocated 1153589248 of 4210425856 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 0 PID: 2049 Comm: syz-executor462 Not tainted 4.9.194+ #0 ffff8801cefb7998 ffffffff81b67001 1ffff10039df6f35 dffffc0000000000 ffffffff82aab480 0000000000000000 0000000000400000 ffff8801cefb7ac0 ffffffff815080fc 0000000041b58ab3 ffffffff82e3bc80 ffffffff81431d00 Call Trace: [<00000000df18fc01>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000df18fc01>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000b5cd697f>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<0000000083c9f1fa>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<0000000083c9f1fa>] __vmalloc_node_range+0x404/0x610 mm/vmalloc.c:1706 [<00000000ea8a7f5e>] __vmalloc_node mm/vmalloc.c:1755 [inline] [<00000000ea8a7f5e>] __vmalloc_node_flags mm/vmalloc.c:1769 [inline] [<00000000ea8a7f5e>] vmalloc+0x5c/0x70 mm/vmalloc.c:1784 [<000000000cb3d589>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<0000000002decc60>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<0000000002decc60>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<00000000b861c814>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000b861c814>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<00000000410270e2>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<00000000410270e2>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<0000000025e90d1d>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<00000000aaec4a7d>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<0000000008f9b7f3>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<0000000008f9b7f3>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<00000000b2ac6f71>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000008e96db83>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000008e96db83>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000008b6b39d0>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000fe6b6a1c>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3245 inactive_anon:41 isolated_anon:0 active_file:8 inactive_file:14 isolated_file:0 unevictable:0 dirty:0 writeback:11 unstable:0 slab_reclaimable:4263 slab_unreclaimable:56573 mapped:21 shmem:48 pagetables:360 bounce:0 free:592 free_pcp:8 free_cma:0 102 total pagecache pages Swap cache stats: add 0, delete 0, find 0/0 syz-executor462: vmalloc: allocation failure, allocated 1008300032 of 4210425856 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) Normal free:8196kB min:5580kB low:9168kB high:12756kB active_anon:12948kB inactive_anon:164kB active_file:24kB inactive_file:100kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17068kB slab_unreclaimable:225636kB kernel_stack:3424kB pagetables:1440kB bounce:0kB free_pcp:764kB local_pcp:636kB free_cma:0kB DMA32: 14*4kB (U) 13*8kB (U) 13*16kB (U) 13*32kB (U) 11*64kB (U) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1488kB 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 313627 pages reserved [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name [ 470] 0 470 5392 186 17 3 0 -1000 udevd [ 569] 0 569 5383 174 16 3 0 -1000 udevd [ 571] 0 571 5383 176 16 3 0 -1000 udevd [ 1748] 0 1748 2492 573 9 3 0 0 dhclient [ 1887] 0 1887 30635 111 25 3 0 0 rsyslogd [ 1941] 0 1941 4724 51 15 3 0 0 cron [ 1960] 0 1960 12926 1228 26 3 0 0 restorecond [ 1972] 0 1972 3735 45 10 3 0 0 mcstransd [ 1989] 0 1989 12489 152 28 4 0 -1000 sshd [ 2019] 0 2019 3648 41 13 3 0 0 getty [ 2038] 0 2038 3648 42 12 3 0 0 getty [ 2039] 0 2039 3648 42 13 3 0 0 getty [ 2040] 0 2040 3648 42 13 3 0 0 getty [ 2041] 0 2041 3648 42 13 3 0 0 getty [ 2042] 0 2042 3648 43 13 3 0 0 getty [ 2043] 0 2043 3648 41 13 3 0 0 getty [ 2044] 0 2044 17820 197 39 3 0 0 sshd [ 2046] 0 2046 4380 1 4 2 0 0 syz-executor462 [ 2047] 0 2047 4380 10 4 2 0 0 syz-executor462 [ 2048] 0 2048 4380 10 4 2 0 0 syz-executor462 [ 2050] 0 2050 4380 10 4 2 0 0 syz-executor462 [ 2051] 0 2051 4380 10 4 2 0 0 syz-executor462 [ 2052] 0 2052 4380 10 4 2 0 0 syz-executor462 [ 2053] 0 2053 4380 10 4 2 0 0 syz-executor462 [ 2057] 0 2057 4380 0 5 2 0 1000 syz-executor462 [ 2058] 0 2058 4380 10 5 2 0 1000 syz-executor462 [ 2060] 0 2060 4380 10 5 2 0 1000 syz-executor462 [ 2061] 0 2061 4380 10 5 2 0 1000 syz-executor462 [ 2062] 0 2062 4380 10 5 2 0 1000 syz-executor462 [ 2063] 0 2063 4380 10 5 2 0 1000 syz-executor462 Out of memory: Kill process 2058 (syz-executor462) score 999 or sacrifice child Killed process 2058 (syz-executor462) total-vm:17520kB, anon-rss:40kB, file-rss:0kB, shmem-rss:0kB syz-executor462: vmalloc: allocation failure, allocated 1059713024 of 4210425856 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 0 PID: 2058 Comm: syz-executor462 Not tainted 4.9.194+ #0 ffff8801c625f998 ffffffff81b67001 1ffff10038c4bf35 dffffc0000000000 ffffffff82aab480 0000000000000000 0000000000400000 ffff8801c625fac0 ffffffff815080fc 0000000041b58ab3 ffffffff82e3bc80 ffffffff81431d00 Call Trace: [<00000000df18fc01>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000df18fc01>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000b5cd697f>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<0000000083c9f1fa>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<0000000083c9f1fa>] __vmalloc_node_range+0x404/0x610 mm/vmalloc.c:1706 [<00000000ea8a7f5e>] __vmalloc_node mm/vmalloc.c:1755 [inline] [<00000000ea8a7f5e>] __vmalloc_node_flags mm/vmalloc.c:1769 [inline] [<00000000ea8a7f5e>] vmalloc+0x5c/0x70 mm/vmalloc.c:1784 [<000000000cb3d589>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<0000000002decc60>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<0000000002decc60>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<00000000b861c814>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000b861c814>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<00000000410270e2>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<00000000410270e2>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<0000000025e90d1d>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 DMA32 free:32192kB min:4696kB low:7712kB high:10728kB active_anon:0kB inactive_anon:0kB active_file:44kB inactive_file:52kB unevictable:0kB writepending:0kB present:3145324kB managed:3020092kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:4kB kernel_stack:32kB pagetables:0kB bounce:0kB free_pcp:740kB local_pcp:120kB free_cma:0kB Normal free:16992kB min:5580kB low:9168kB high:12756kB active_anon:12948kB inactive_anon:164kB active_file:8kB inactive_file:80kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17068kB slab_unreclaimable:225636kB kernel_stack:3424kB pagetables:1440kB bounce:0kB free_pcp:120kB local_pcp:120kB free_cma:0kB DMA32 free:16844kB min:4696kB low:7712kB high:10728kB active_anon:0kB inactive_anon:0kB active_file:44kB inactive_file:52kB unevictable:0kB writepending:0kB present:3145324kB managed:3020092kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:4kB kernel_stack:32kB pagetables:0kB bounce:0kB free_pcp:228kB local_pcp:120kB free_cma:0kB Normal free:3396kB min:5580kB low:9168kB high:12756kB active_anon:12948kB inactive_anon:164kB active_file:8kB inactive_file:80kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17068kB slab_unreclaimable:225636kB kernel_stack:3424kB pagetables:1440kB bounce:0kB free_pcp:124kB local_pcp:120kB free_cma:0kB DMA32: 5*4kB (UM) 5*8kB (UM) 3*16kB (M) 1*32kB (U) 121*64kB (U) 56*128kB (U) 7*256kB (U) 0*512kB 0*1024kB 0*2048kB 0*4096kB = 16844kB 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 313627 pages reserved [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name lowmem_reserve[]: 0 3505 3505 DMA32 free:6180kB min:4696kB low:7712kB high:10728kB active_anon:0kB inactive_anon:0kB active_file:44kB inactive_file:52kB unevictable:0kB writepending:0kB present:3145324kB managed:3020092kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:4kB kernel_stack:32kB pagetables:0kB bounce:0kB free_pcp:48kB local_pcp:0kB free_cma:0kB Normal free:3344kB min:5580kB low:9168kB high:12756kB active_anon:12848kB inactive_anon:164kB active_file:8kB inactive_file:80kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17068kB slab_unreclaimable:225636kB kernel_stack:3424kB pagetables:1440kB bounce:0kB free_pcp:92kB local_pcp:92kB free_cma:0kB Free swap = 0kB Total swap = 0kB 1965979 pages RAM 0 pages HighMem/MovableOnly 313627 pages reserved [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name [ 470] 0 470 5392 186 17 3 0 -1000 udevd [ 569] 0 569 5383 174 16 3 0 -1000 udevd [ 571] 0 571 5383 176 16 3 0 -1000 udevd [ 1748] 0 1748 2492 573 9 3 0 0 dhclient [ 1887] 0 1887 30635 111 25 3 0 0 rsyslogd [ 1941] 0 1941 4724 51 15 3 0 0 cron [ 1972] 0 1972 3735 45 10 3 0 0 mcstransd [ 1989] 0 1989 12489 152 28 4 0 -1000 sshd [ 2019] 0 2019 3648 41 13 3 0 0 getty [ 2038] 0 2038 3648 42 12 3 0 0 getty [ 2039] 0 2039 3648 42 13 3 0 0 getty [ 2040] 0 2040 3648 42 13 3 0 0 getty [ 2041] 0 2041 3648 42 13 3 0 0 getty [ 2042] 0 2042 3648 43 13 3 0 0 getty [ 2043] 0 2043 3648 41 13 3 0 0 getty [ 2044] 0 2044 17820 197 39 3 0 0 sshd [ 2046] 0 2046 4380 1 4 2 0 0 syz-executor462 [ 2047] 0 2047 4380 10 4 2 0 0 syz-executor462 [ 2048] 0 2048 4380 10 4 2 0 0 syz-executor462