Free memory is -12876kB above reserved lowmemorykiller: Killing 'syz-executor229' (2066) (tgid 2055), adj 1000, to free 712kB on behalf of 'syz-executor229' (2066) because cache 34580kB is below limit 65536kB for oom_score_adj 12 Free memory is -13272kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:905 in_atomic(): 0, irqs_disabled(): 0, pid: 2066, name: syz-executor229 2 locks held by syz-executor229/2066: #0: (shrinker_rwsem){++++..}, at: [<00000000355ccb6d>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #1: (rcu_read_lock){......}, at: [<000000005c885945>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 Preemption disabled at: [<0000000010ab8ae1>] spin_lock include/linux/spinlock.h:302 [inline] [<0000000010ab8ae1>] task_lock include/linux/sched.h:3217 [inline] [<0000000010ab8ae1>] get_task_mm+0x20/0xc0 kernel/fork.c:1012 CPU: 1 PID: 2066 Comm: syz-executor229 Not tainted 4.9.189+ #1 ffff8801cea37138 ffffffff81b65c01 0000000000000000 0000000000000001 ffff8801d18e2f80 ffffffff810d1010 ffff8801d18e2f80 ffff8801cea37170 ffffffff814018f3 ffff8801d18e2f80 ffffffff82a39fc0 0000000000000389 Call Trace: [<000000005173daa2>] __dump_stack lib/dump_stack.c:15 [inline] [<000000005173daa2>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000059dc882>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<000000003d9f26bc>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<000000002f06a0c4>] mmput+0x28/0x370 kernel/fork.c:905 [<000000008eaedcbc>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<0000000051a609fb>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<000000005f64cca3>] do_shrink_slab mm/vmscan.c:399 [inline] [<000000005f64cca3>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000e1f8b08e>] shrink_slab mm/vmscan.c:466 [inline] [<00000000e1f8b08e>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<0000000087207d89>] shrink_zones mm/vmscan.c:2751 [inline] [<0000000087207d89>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<0000000087207d89>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<00000000f8766681>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<00000000f8766681>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<00000000f8766681>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<00000000f8766681>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<00000000a2dcd69a>] __alloc_pages include/linux/gfp.h:433 [inline] [<00000000a2dcd69a>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<00000000a2dcd69a>] alloc_pages_node include/linux/gfp.h:460 [inline] [<00000000a2dcd69a>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<00000000a2dcd69a>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000f000a380>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f000a380>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f000a380>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000f1df0224>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<00000000179090c0>] translate_table+0x2c7/0x1bd0 net/ipv4/netfilter/arp_tables.c:552 [<00000000ce78205a>] do_replace.isra.0+0x1e9/0x480 net/ipv4/netfilter/arp_tables.c:990 [<0000000077269030>] do_arpt_set_ctl+0x108/0x150 net/ipv4/netfilter/arp_tables.c:1469 [<00000000e9b9c7e9>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000e9b9c7e9>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000085efa266>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000085efa266>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000ee640d48>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000012aa7c37>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<0000000011ff88e7>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<0000000011ff88e7>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<0000000095f49ed2>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000005852d678>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000005852d678>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000e558637a>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000b4e126e4>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb ================================= [ INFO: inconsistent lock state ] 4.9.189+ #1 Tainted: G W --------------------------------- inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-R} usage. syz-executor229/2066 [HC0[0]:SC0[0]:HE1:SE1] takes: (&mm->mmap_sem){+++++?}, at: [<0000000039bbfb9c>] 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: 647017 hardirqs last enabled at (647017): [<00000000f74d55fb>] dump_stack+0x100/0x120 lib/dump_stack.c:56 hardirqs last disabled at (647016): [<00000000b6af0c44>] dump_stack+0x2c/0x120 lib/dump_stack.c:38 softirqs last enabled at (646826): [<0000000093816eb0>] __do_softirq+0x474/0x964 kernel/softirq.c:314 softirqs last disabled at (646813): [<0000000037e761c1>] invoke_softirq kernel/softirq.c:368 [inline] softirqs last disabled at (646813): [<0000000037e761c1>] 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-executor229/2066: #0: (shrinker_rwsem){++++..}, at: [<00000000355ccb6d>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #1: (rcu_read_lock){......}, at: [<000000005c885945>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 #2: (lmk_event_lock){+.+.-.}, at: [<0000000019e79492>] spin_lock include/linux/spinlock.h:302 [inline] #2: (lmk_event_lock){+.+.-.}, at: [<0000000019e79492>] handle_lmk_event+0xfb/0x8a0 drivers/staging/android/lowmemorykiller.c:114 stack backtrace: CPU: 1 PID: 2066 Comm: syz-executor229 Tainted: G W 4.9.189+ #1 ffff8801cea36e80 ffffffff81b65c01 00000000000000f0 ffff8801d18e2f80 ffffffff83caf7a0 ffff8801d18e38c8 ffffffff84250fc0 ffff8801cea36ef8 ffffffff81408330 0000000000000000 ffffffff00000001 0000000000000001 Call Trace: [<000000005173daa2>] __dump_stack lib/dump_stack.c:15 [inline] [<000000005173daa2>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000003d979f84>] print_usage_bug kernel/locking/lockdep.c:2387 [inline] [<000000003d979f84>] print_usage_bug.cold+0x452/0x5a2 kernel/locking/lockdep.c:2354 [<000000002fadd5de>] valid_state kernel/locking/lockdep.c:2400 [inline] [<000000002fadd5de>] mark_lock_irq kernel/locking/lockdep.c:2602 [inline] [<000000002fadd5de>] mark_lock+0x6c7/0x12e0 kernel/locking/lockdep.c:3065 [<0000000056772906>] mark_irqflags kernel/locking/lockdep.c:2958 [inline] [<0000000056772906>] __lock_acquire+0x5be/0x4390 kernel/locking/lockdep.c:3302 [<000000006f3f8e6e>] lock_acquire+0x133/0x3d0 kernel/locking/lockdep.c:3756 [<00000000543b4d57>] down_read+0x44/0xb0 kernel/locking/rwsem.c:22 [<0000000039bbfb9c>] get_cmdline+0xa3/0x2d0 mm/util.c:641 [<000000008a598ece>] handle_lmk_event+0x13c/0x8a0 drivers/staging/android/lowmemorykiller.c:128 [<0000000051a609fb>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<000000005f64cca3>] do_shrink_slab mm/vmscan.c:399 [inline] [<000000005f64cca3>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000e1f8b08e>] shrink_slab mm/vmscan.c:466 [inline] [<00000000e1f8b08e>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<0000000087207d89>] shrink_zones mm/vmscan.c:2751 [inline] [<0000000087207d89>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<0000000087207d89>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<00000000f8766681>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<00000000f8766681>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<00000000f8766681>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<00000000f8766681>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<00000000a2dcd69a>] __alloc_pages include/linux/gfp.h:433 [inline] [<00000000a2dcd69a>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<00000000a2dcd69a>] alloc_pages_node include/linux/gfp.h:460 [inline] [<00000000a2dcd69a>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<00000000a2dcd69a>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000f000a380>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f000a380>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f000a380>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000f1df0224>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<00000000179090c0>] translate_table+0x2c7/0x1bd0 net/ipv4/netfilter/arp_tables.c:552 [<00000000ce78205a>] do_replace.isra.0+0x1e9/0x480 net/ipv4/netfilter/arp_tables.c:990 [<0000000077269030>] do_arpt_set_ctl+0x108/0x150 net/ipv4/netfilter/arp_tables.c:1469 [<00000000e9b9c7e9>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000e9b9c7e9>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000085efa266>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000085efa266>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000ee640d48>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000012aa7c37>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<0000000011ff88e7>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<0000000011ff88e7>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<0000000095f49ed2>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000005852d678>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000005852d678>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000e558637a>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000b4e126e4>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb oom_reaper: reaped process 2072 (syz-executor229), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor229: vmalloc: allocation failure, allocated 1037123584 of 3763912704 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 1 PID: 2072 Comm: syz-executor229 Tainted: G W 4.9.189+ #1 ffff8801d6227738 ffffffff81b65c01 1ffff1003ac44ee9 dffffc0000000000 ffffffff82aab240 0000000000000000 0000000000400000 ffff8801d6227860 ffffffff81507d73 0000000041b58ab3 ffffffff82e3b2a8 ffffffff81431920 Call Trace: [<000000005173daa2>] __dump_stack lib/dump_stack.c:15 [inline] [<000000005173daa2>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000007992765e>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000007fe26441>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000007fe26441>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000f000a380>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f000a380>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f000a380>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000f1df0224>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<00000000179090c0>] translate_table+0x2c7/0x1bd0 net/ipv4/netfilter/arp_tables.c:552 [<00000000ce78205a>] do_replace.isra.0+0x1e9/0x480 net/ipv4/netfilter/arp_tables.c:990 [<0000000077269030>] do_arpt_set_ctl+0x108/0x150 net/ipv4/netfilter/arp_tables.c:1469 [<00000000e9b9c7e9>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000e9b9c7e9>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000085efa266>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000085efa266>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000ee640d48>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000012aa7c37>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<0000000011ff88e7>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<0000000011ff88e7>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<0000000095f49ed2>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000005852d678>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000005852d678>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000e558637a>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000b4e126e4>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3308 inactive_anon:42 isolated_anon:0 active_file:7 inactive_file:35 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4272 slab_unreclaimable:56837 mapped:35 shmem:48 pagetables:362 bounce:0 free:26 free_pcp:15 free_cma:0 Node 0 active_anon:13232kB inactive_anon:168kB active_file:28kB inactive_file:140kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:140kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:8kB 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:96kB min:5580kB low:9168kB high:12756kB active_anon:13232kB inactive_anon:168kB active_file:28kB inactive_file:140kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17088kB slab_unreclaimable:227348kB kernel_stack:3456kB pagetables:1448kB bounce:0kB free_pcp:60kB 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-executor229: vmalloc: allocation failure, allocated 1048010752 of 3763912704 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 1 PID: 2074 Comm: syz-executor229 Tainted: G W 4.9.189+ #1 ffff8801c45cf738 ffffffff81b65c01 1ffff100388b9ee9 dffffc0000000000 ffffffff82aab240 0000000000000000 0000000000400000 ffff8801c45cf860 ffffffff81507d73 0000000041b58ab3 ffffffff82e3b2a8 ffffffff81431920 Call Trace: [<000000005173daa2>] __dump_stack lib/dump_stack.c:15 [inline] [<000000005173daa2>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000007992765e>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000007fe26441>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000007fe26441>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000f000a380>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f000a380>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f000a380>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000f1df0224>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<00000000179090c0>] translate_table+0x2c7/0x1bd0 net/ipv4/netfilter/arp_tables.c:552 [<00000000ce78205a>] do_replace.isra.0+0x1e9/0x480 net/ipv4/netfilter/arp_tables.c:990 [<0000000077269030>] do_arpt_set_ctl+0x108/0x150 net/ipv4/netfilter/arp_tables.c:1469 [<00000000e9b9c7e9>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000e9b9c7e9>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000085efa266>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000085efa266>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000ee640d48>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000012aa7c37>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<0000000011ff88e7>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<0000000011ff88e7>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<0000000095f49ed2>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000005852d678>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000005852d678>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000e558637a>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000b4e126e4>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3308 inactive_anon:42 isolated_anon:0 active_file:7 inactive_file:35 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4272 slab_unreclaimable:56837 mapped:35 shmem:48 pagetables:362 bounce:0 free:0 free_pcp:7 free_cma:0 Node 0 active_anon:13232kB inactive_anon:168kB active_file:28kB inactive_file:140kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:140kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:8kB 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:13132kB inactive_anon:168kB active_file:28kB inactive_file:140kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17088kB slab_unreclaimable:227348kB kernel_stack:3456kB pagetables:1448kB bounce:0kB free_pcp:52kB local_pcp:0kB free_cma:0kB DMA32: 0*4kB 0*8kB [ 34.434089] oom_reaper: reaped process 2074 (syz-executor229), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB 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 2075 (syz-executor229), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor229: vmalloc: allocation failure, allocated 950910976 of 3763912704 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 0 PID: 2075 Comm: syz-executor229 Tainted: G W 4.9.189+ #1 ffff8801c4067738 ffffffff81b65c01 1ffff1003880cee9 dffffc0000000000 ffffffff82aab240 0000000000000000 0000000000400000 ffff8801c4067860 ffffffff81507d73 0000000041b58ab3 ffffffff82e3b2a8 ffffffff81431920 Call Trace: [<000000005173daa2>] __dump_stack lib/dump_stack.c:15 [inline] [<000000005173daa2>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000007992765e>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000007fe26441>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000007fe26441>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000f000a380>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f000a380>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f000a380>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000f1df0224>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<00000000179090c0>] translate_table+0x2c7/0x1bd0 net/ipv4/netfilter/arp_tables.c:552 [<00000000ce78205a>] do_replace.isra.0+0x1e9/0x480 net/ipv4/netfilter/arp_tables.c:990 [<0000000077269030>] do_arpt_set_ctl+0x108/0x150 net/ipv4/netfilter/arp_tables.c:1469 [<00000000e9b9c7e9>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000e9b9c7e9>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000085efa266>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000085efa266>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000ee640d48>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000012aa7c37>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<0000000011ff88e7>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<0000000011ff88e7>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<0000000095f49ed2>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000005852d678>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000005852d678>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000e558637a>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000b4e126e4>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3283 inactive_anon:42 isolated_anon:0 active_file:7 inactive_file:35 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4272 slab_unreclaimable:56837 mapped:35 shmem:48 pagetables:362 bounce:0 free:0 free_pcp:25 free_cma:0 Node 0 active_anon:13132kB inactive_anon:168kB active_file:28kB inactive_file:140kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:140kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:8kB 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:13132kB inactive_anon:168kB active_file:28kB inactive_file:140kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17088kB slab_unreclaimable:227348kB kernel_stack:3456kB pagetables:1448kB bounce:0kB free_pcp:100kB local_pcp:100kB 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-executor229: vmalloc: allocation failure, allocated 1130852352 of 3763912704 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 1 PID: 2073 Comm: syz-executor229 Tainted: G W 4.9.189+ #1 ffff8801ced07738 ffffffff81b65c01 1ffff10039da0ee9 dffffc0000000000 ffffffff82aab240 0000000000000000 0000000000400000 ffff8801ced07860 ffffffff81507d73 0000000041b58ab3 ffffffff82e3b2a8 ffffffff81431920 Call Trace: [<000000005173daa2>] __dump_stack lib/dump_stack.c:15 [inline] [<000000005173daa2>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000007992765e>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000007fe26441>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000007fe26441>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000f000a380>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f000a380>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f000a380>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000f1df0224>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<00000000179090c0>] translate_table+0x2c7/0x1bd0 net/ipv4/netfilter/arp_tables.c:552 [<00000000ce78205a>] do_replace.isra.0+0x1e9/0x480 net/ipv4/netfilter/arp_tables.c:990 [<0000000077269030>] do_arpt_set_ctl+0x108/0x150 net/ipv4/netfilter/arp_tables.c:1469 [<00000000e9b9c7e9>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000e9b9c7e9>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000085efa266>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000085efa266>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000ee640d48>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000012aa7c37>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<0000000011ff88e7>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<0000000011ff88e7>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<0000000095f49ed2>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000005852d678>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000005852d678>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000e558637a>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000b4e126e4>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3283 inactive_anon:42 isolated_anon:0 active_file:7 inactive_file:35 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4272 slab_unreclaimable:56837 mapped:35 shmem:48 pagetables:362 bounce:0 free:0 free_pcp:0 free_cma:0 Node 0 active_anon:13132kB inactive_anon:168kB active_file:28kB inactive_file:140kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:140kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:8kB 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:13132kB inactive_anon:168kB active_file:28kB inactive_file:140kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17088kB slab_unreclaimable:227348kB kernel_stack:3456kB pagetables:1448kB 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-executor229: vmalloc: allocation failure, allocated 1318608896 of 3763912704 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 1 PID: 2066 Comm: syz-executor229 Tainted: G W 4.9.189+ #1 ffff8801cea37738 ffffffff81b65c01 1ffff10039d46ee9 dffffc0000000000 ffffffff82aab240 0000000000000000 0000000000400000 ffff8801cea37860 ffffffff81507d73 0000000041b58ab3 ffffffff82e3b2a8 ffffffff81431920 Call Trace: [<000000005173daa2>] __dump_stack lib/dump_stack.c:15 [inline] [<000000005173daa2>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000007992765e>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000007fe26441>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000007fe26441>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000f000a380>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f000a380>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f000a380>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000f1df0224>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<00000000179090c0>] translate_table+0x2c7/0x1bd0 net/ipv4/netfilter/arp_tables.c:552 [<00000000ce78205a>] do_replace.isra.0+0x1e9/0x480 net/ipv4/netfilter/arp_tables.c:990 [<0000000077269030>] do_arpt_set_ctl+0x108/0x150 net/ipv4/netfilter/arp_tables.c:1469 [<00000000e9b9c7e9>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000e9b9c7e9>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000085efa266>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000085efa266>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000ee640d48>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000012aa7c37>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<0000000011ff88e7>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<0000000011ff88e7>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<0000000095f49ed2>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000005852d678>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000005852d678>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000e558637a>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000b4e126e4>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3283 inactive_anon:42 isolated_anon:0 active_file:7 inactive_file:35 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4272 slab_unreclaimable:56837 mapped:35 shmem:48 pagetables:362 bounce:0 free:0 free_pcp:0 free_cma:0 Node 0 active_anon:13132kB inactive_anon:168kB active_file:28kB inactive_file:140kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:140kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:8kB 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:13132kB inactive_anon:168kB active_file:28kB inactive_file:140kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17088kB slab_unreclaimable:227348kB kernel_stack:3456kB pagetables:1448kB 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 2066 (syz-executor229), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB oom_reaper: reaped process 2073 (syz-executor229), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor229: vmalloc: allocation failure, allocated 929738752 of 3763912704 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 1 PID: 2076 Comm: syz-executor229 Tainted: G W 4.9.189+ #1 ffff8801c38a7738 ffffffff81b65c01 1ffff10038714ee9 dffffc0000000000 ffffffff82aab240 0000000000000000 0000000000400000 ffff8801c38a7860 ffffffff81507d73 0000000041b58ab3 ffffffff82e3b2a8 ffffffff81431920 Call Trace: [<000000005173daa2>] __dump_stack lib/dump_stack.c:15 [inline] [<000000005173daa2>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000007992765e>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000007fe26441>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000007fe26441>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000f000a380>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f000a380>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f000a380>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000f1df0224>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<00000000179090c0>] translate_table+0x2c7/0x1bd0 net/ipv4/netfilter/arp_tables.c:552 [<00000000ce78205a>] do_replace.isra.0+0x1e9/0x480 net/ipv4/netfilter/arp_tables.c:990 [<0000000077269030>] do_arpt_set_ctl+0x108/0x150 net/ipv4/netfilter/arp_tables.c:1469 [<00000000e9b9c7e9>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000e9b9c7e9>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000085efa266>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000085efa266>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000ee640d48>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000012aa7c37>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<0000000011ff88e7>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<0000000011ff88e7>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<0000000095f49ed2>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000005852d678>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000005852d678>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000e558637a>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000b4e126e4>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3258 inactive_anon:42 isolated_anon:0 active_file:7 inactive_file:35 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4272 slab_unreclaimable:56837 mapped:35 shmem:48 pagetables:362 bounce:0 free:0 free_pcp:0 free_cma:0 Node 0 active_anon:13032kB inactive_anon:168kB active_file:28kB inactive_file:140kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:140kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:8kB 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:13032kB inactive_anon:168kB active_file:28kB inactive_file:140kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17088kB slab_unreclaimable:227348kB kernel_stack:3456kB pagetables:1448kB 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 2076 (syz-executor229), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB ODEBUG: Out of memory. ODEBUG disabled lowmemorykiller: Killing 'syz-executor229' (2094) (tgid 2090), adj 1000, to free 696kB on behalf of 'syz-executor229' (2094) because cache 2316kB is below limit 6144kB for oom_score_adj 0 Free memory is -13484kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:905 in_atomic(): 0, irqs_disabled(): 0, pid: 2094, name: syz-executor229 INFO: lockdep is turned off. Preemption disabled at: [<0000000010ab8ae1>] spin_lock include/linux/spinlock.h:302 [inline] [<0000000010ab8ae1>] task_lock include/linux/sched.h:3217 [inline] [<0000000010ab8ae1>] get_task_mm+0x20/0xc0 kernel/fork.c:1012 CPU: 0 PID: 2094 Comm: syz-executor229 Tainted: G W 4.9.189+ #1 ffff880135d5f138 ffffffff81b65c01 0000000000000000 0000000000000001 ffff88011b1e8000 ffffffff810d1010 ffff88011b1e8000 ffff880135d5f170 ffffffff814018f3 ffff88011b1e8000 ffffffff82a39fc0 0000000000000389 Call Trace: [<000000005173daa2>] __dump_stack lib/dump_stack.c:15 [inline] [<000000005173daa2>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000059dc882>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<000000003d9f26bc>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<000000002f06a0c4>] mmput+0x28/0x370 kernel/fork.c:905 [<000000008eaedcbc>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<0000000051a609fb>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<000000005f64cca3>] do_shrink_slab mm/vmscan.c:399 [inline] [<000000005f64cca3>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000e1f8b08e>] shrink_slab mm/vmscan.c:466 [inline] [<00000000e1f8b08e>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<0000000087207d89>] shrink_zones mm/vmscan.c:2751 [inline] [<0000000087207d89>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<0000000087207d89>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<00000000f8766681>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<00000000f8766681>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<00000000f8766681>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<00000000f8766681>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<00000000a2dcd69a>] __alloc_pages include/linux/gfp.h:433 [inline] [<00000000a2dcd69a>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<00000000a2dcd69a>] alloc_pages_node include/linux/gfp.h:460 [inline] [<00000000a2dcd69a>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<00000000a2dcd69a>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000f000a380>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f000a380>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f000a380>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000f1df0224>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<00000000179090c0>] translate_table+0x2c7/0x1bd0 net/ipv4/netfilter/arp_tables.c:552 [<00000000ce78205a>] do_replace.isra.0+0x1e9/0x480 net/ipv4/netfilter/arp_tables.c:990 [<0000000077269030>] do_arpt_set_ctl+0x108/0x150 net/ipv4/netfilter/arp_tables.c:1469 [<00000000e9b9c7e9>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000e9b9c7e9>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000085efa266>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000085efa266>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000ee640d48>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000012aa7c37>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<0000000011ff88e7>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<0000000011ff88e7>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<0000000095f49ed2>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000005852d678>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000005852d678>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000e558637a>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000b4e126e4>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb syz-executor229 invoked oom-killer: gfp_mask=0x24200ca(GFP_HIGHUSER_MOVABLE), nodemask=0, order=0, oom_score_adj=0 CPU: 1 PID: 2056 Comm: syz-executor229 Tainted: G W 4.9.189+ #1 ffff8801ceb476f0 ffffffff81b65c01 ffff8801ceb47a48 ffffffff833f14f0 0000000000000000 ffff8801ceb47a60 0000000000000000 ffff8801ceb47770 ffffffff81506abb 0000000000000000 0000000000000000 ffffffff82828935 Call Trace: [<000000005173daa2>] __dump_stack lib/dump_stack.c:15 [inline] [<000000005173daa2>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000ba17e66f>] dump_header.isra.0+0x142/0x74c mm/oom_kill.c:417 [<000000005e99dea6>] oom_kill_process.cold+0xd/0xa74 mm/oom_kill.c:852 [<000000008c1f1058>] out_of_memory mm/oom_kill.c:1069 [inline] [<000000008c1f1058>] out_of_memory+0x29b/0xea0 mm/oom_kill.c:1009 [<000000005b47a077>] __alloc_pages_may_oom mm/page_alloc.c:3136 [inline] [<000000005b47a077>] __alloc_pages_slowpath mm/page_alloc.c:3750 [inline] [<000000005b47a077>] __alloc_pages_nodemask+0x1730/0x1a80 mm/page_alloc.c:3861 [<000000004817ff34>] __alloc_pages include/linux/gfp.h:433 [inline] [<000000004817ff34>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<000000004817ff34>] alloc_pages_node include/linux/gfp.h:460 [inline] [<000000004817ff34>] __page_cache_alloc include/linux/pagemap.h:208 [inline] [<000000004817ff34>] pagecache_get_page+0x248/0x740 mm/filemap.c:1367 [<00000000de22344d>] filemap_fault+0xb1f/0x1360 mm/filemap.c:2331 [<0000000067d0fa83>] ext4_filemap_fault+0x72/0xa0 fs/ext4/inode.c:5854 [<00000000a04bccfc>] __do_fault+0x2a8/0x6c0 mm/memory.c:2855 [<000000007b87bc3c>] do_read_fault mm/memory.c:3202 [inline] [<000000007b87bc3c>] do_fault mm/memory.c:3338 [inline] [<000000007b87bc3c>] handle_pte_fault mm/memory.c:3547 [inline] [<000000007b87bc3c>] __handle_mm_fault mm/memory.c:3634 [inline] [<000000007b87bc3c>] handle_mm_fault+0x11bc/0x2420 mm/memory.c:3671 [<00000000f1731d5f>] __do_page_fault+0x3f0/0xa60 arch/x86/mm/fault.c:1404 [<0000000020fc600b>] do_page_fault+0x28/0x30 arch/x86/mm/fault.c:1467 [<000000007118d7cc>] page_fault+0x25/0x30 arch/x86/entry/entry_64.S:956 Mem-Info: active_anon:3301 inactive_anon:42 isolated_anon:0 active_file:32 inactive_file:20 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4272 slab_unreclaimable:56558 mapped:8 shmem:48 pagetables:362 bounce:0 free:6043 free_pcp:30 free_cma:0 Node 0 active_anon:13204kB inactive_anon:168kB active_file:128kB inactive_file:80kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:32kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 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:5472kB min:5580kB low:9168kB high:12756kB active_anon:13204kB inactive_anon:168kB active_file:128kB inactive_file:80kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17088kB slab_unreclaimable:226232kB kernel_stack:3456kB pagetables:1448kB bounce:0kB free_pcp:120kB local_pcp:120kB free_cma:0kB DMA32: 2*4kB (UM) 4*8kB (UM) 3*16kB (UM) 1*32kB (M) 1*64kB (U) 3*128kB (UM) 3*256kB (UM) 0*512kB 1*1024kB (M) 0*2048kB 4*4096kB (U) = 18744kB 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 5393 188 16 3 0 -1000 udevd [ 590] 0 590 5383 179 15 3 0 -1000 udevd [ 591] 0 591 5375 179 15 3 0 -1000 udevd [ 1763] 0 1763 2492 573 8 3 0 0 dhclient [ 1894] 0 1894 14264 109 23 3 0 0 rsyslogd [ 1947] 0 1947 4724 51 15 3 0 0 cron [ 1967] 0 1967 3735 45 11 3 0 0 mcstransd [ 1977] 0 1977 12926 1227 27 3 0 0 restorecond [ 1995] 0 1995 12489 153 28 3 0 -1000 sshd [ 2025] 0 2025 3648 38 13 3 0 0 getty [ 2044] 0 2044 3648 42 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 44 13 3 0 0 getty [ 2049] 0 2049 3648 43 12 3 0 0 getty [ 2050] 0 2050 17820 196 39 3 0 0 sshd [ 2052] 0 2052 4396 1 4 2 0 0 syz-executor229 [ 2053] 0 2053 4396 13 4 2 0 0 syz-executor229 [ 2054] 0 2054 4396 13 4 2 0 0 syz-executor229 [ 2056] 0 2056 4396 13 4 2 0 0 syz-executor229 [ 2057] 0 2057 4396 13 4 2 0 0 syz-executor229 [ 2058] 0 2058 4396 13 4 2 0 0 syz-executor229 [ 2059] 0 2059 4396 13 4 2 0 0 syz-executor229 [ 2080] 0 2078 4462 18 6 3 0 1000 syz-executor229 [ 2083] 0 2081 4462 18 6 3 0 1000 syz-executor229 [ 2088] 0 2084 4462 18 6 3 0 1000 syz-executor229 [ 2089] 0 2085 4462 18 6 3 0 1000 syz-executor229 [ 2094] 0 2090 4462 18 6 3 0 1000 syz-executor229 [ 2095] 0 2092 4462 18 6 3 0 1000 syz-executor229 Out of memory: Kill process 2078 (syz-executor229) score 999 or sacrifice child Killed process 2080 (syz-executor229) total-vm:17848kB, anon-rss:72kB, file-rss:0kB, shmem-rss:0kB syz-executor229: syz-executor229: vmalloc: allocation failure, allocated 1204826112 of 3763912704 bytesvmalloc: allocation failure, allocated 1556103168 of 3763912704 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 1 PID: 2088 Comm: syz-executor229 Tainted: G W 4.9.189+ #1 ffff8801c26d7738 ffffffff81b65c01 1ffff100384daee9 dffffc0000000000 ffffffff82aab240 0000000000000000 0000000000400000 ffff8801c26d7860 ffffffff81507d73 0000000041b58ab3 ffffffff82e3b2a8 ffffffff81431920 Call Trace: [<000000005173daa2>] __dump_stack lib/dump_stack.c:15 [inline] [<000000005173daa2>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000007992765e>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000007fe26441>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000007fe26441>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000f000a380>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f000a380>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f000a380>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000f1df0224>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<00000000179090c0>] translate_table+0x2c7/0x1bd0 net/ipv4/netfilter/arp_tables.c:552 [<00000000ce78205a>] do_replace.isra.0+0x1e9/0x480 net/ipv4/netfilter/arp_tables.c:990 [<0000000077269030>] do_arpt_set_ctl+0x108/0x150 net/ipv4/netfilter/arp_tables.c:1469 [<00000000e9b9c7e9>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000e9b9c7e9>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000085efa266>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000085efa266>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000ee640d48>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000012aa7c37>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<0000000011ff88e7>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<0000000011ff88e7>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<0000000095f49ed2>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000005852d678>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000005852d678>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000e558637a>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000b4e126e4>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: CPU: 0 PID: 2080 Comm: syz-executor229 Tainted: G W 4.9.189+ #1 active_anon:3301 inactive_anon:42 isolated_anon:0 active_file:32 inactive_file:20 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4272 slab_unreclaimable:56558 mapped:8 shmem:48 pagetables:362 bounce:0 free:388 free_pcp:0 free_cma:0 ffff8801ce12f738 Node 0 active_anon:13204kB inactive_anon:168kB active_file:128kB inactive_file:80kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:32kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no ffffffff81b65c01DMA32 free:20kB 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 3505 ffffffff82aab240 0000000000000000Normal free:1532kB min:5580kB low:9168kB high:12756kB active_anon:13204kB inactive_anon:168kB active_file:128kB inactive_file:80kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17088kB slab_unreclaimable:226232kB kernel_stack:3456kB pagetables:1448kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB ffff8801ce12f860 0 0 ffffffff81507d73 0 0000000041b58ab3 ffffffff82e3b2a8DMA32: ffffffff814319200*4kB 0*8kB Call Trace: 0*16kB [<000000005173daa2>] __dump_stack lib/dump_stack.c:15 [inline] 0*16kB [<000000005173daa2>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 0*32kB [<000000007992765e>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 0*128kB [<000000007fe26441>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] 0*128kB [<000000007fe26441>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 0*512kB [<00000000f000a380>] __vmalloc_node mm/vmalloc.c:1749 [inline] 0*512kB [<00000000f000a380>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] 0*512kB [<00000000f000a380>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 0*2048kB [<00000000f1df0224>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 0*4096kB [<00000000179090c0>] translate_table+0x2c7/0x1bd0 net/ipv4/netfilter/arp_tables.c:552 = 0kB 11*32kB [<00000000ce78205a>] do_replace.isra.0+0x1e9/0x480 net/ipv4/netfilter/arp_tables.c:990 (H) [<0000000077269030>] do_arpt_set_ctl+0x108/0x150 net/ipv4/netfilter/arp_tables.c:1469 0*256kB [<00000000e9b9c7e9>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] 0*256kB [<00000000e9b9c7e9>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 0*512kB [<0000000085efa266>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] 0*512kB [<0000000085efa266>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 0*1024kB [<00000000ee640d48>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 0*2048kB [<0000000012aa7c37>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 0*4096kB [<0000000011ff88e7>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] 0*4096kB [<0000000011ff88e7>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 = 1552kB 102 total pagecache pages [<000000005852d678>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000005852d678>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 0 pages in swap cache Swap cache stats: add 0, delete 0, find 0/0 Free swap = 0kB Total swap = 0kB [<00000000e558637a>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 1965979 pages RAM [<00000000b4e126e4>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb 0 pages HighMem/MovableOnly Mem-Info: 313625 pages reserved active_anon:3301 inactive_anon:42 isolated_anon:0 active_file:32 inactive_file:20 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4272 slab_unreclaimable:56558 mapped:8 shmem:48 pagetables:362 bounce:0 free:388 free_pcp:0 free_cma:0 Node 0 active_anon:13204kB inactive_anon:168kB active_file:128kB inactive_file:80kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:32kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:20kB 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:1532kB min:5580kB low:9168kB high:12756kB active_anon:13204kB inactive_anon:168kB active_file:128kB inactive_file:80kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17088kB slab_unreclaimable:226232kB kernel_stack:3456kB pagetables:1448kB 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-executor229: vmalloc: allocation failure, allocated 642109440 of 3763912704 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 0 PID: 2094 Comm: syz-executor229 Tainted: G W 4.9.189+ #1 ffff880135d5f738 ffffffff81b65c01 1ffff10026babee9 dffffc0000000000 ffffffff82aab240 0000000000000000 0000000000400000 ffff880135d5f860 ffffffff81507d73 0000000041b58ab3 ffffffff82e3b2a8 ffffffff81431920 Call Trace: [<000000005173daa2>] __dump_stack lib/dump_stack.c:15 [inline] [<000000005173daa2>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000007992765e>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000007fe26441>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000007fe26441>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000f000a380>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f000a380>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f000a380>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000f1df0224>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<00000000179090c0>] translate_table+0x2c7/0x1bd0 net/ipv4/netfilter/arp_tables.c:552