Free memory is -13264kB above reserved lowmemorykiller: Killing 'syz-executor821' (2049) (tgid 2049), adj 1000, to free 44kB on behalf of 'syz-executor821' (2055) because cache 33888kB is below limit 65536kB for oom_score_adj 12 Free memory is -13256kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 2055, name: syz-executor821 2 locks held by syz-executor821/2055: #0: (shrinker_rwsem){++++..}, at: [<000000008bef7819>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #1: (rcu_read_lock){......}, at: [<000000001507f181>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 Preemption disabled at: [<000000005296504b>] spin_lock include/linux/spinlock.h:302 [inline] [<000000005296504b>] task_lock include/linux/sched.h:3217 [inline] [<000000005296504b>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 CPU: 1 PID: 2055 Comm: syz-executor821 Not tainted 4.9.186+ #12 ffff8801cf067410 ffffffff81b5a0b1 0000000000000000 0000000000000001 ffff8801d2afdf00 ffffffff810d0cc0 ffff8801d2afdf00 ffff8801cf067448 ffffffff8140032c ffff8801d2afdf00 ffffffff82a39940 0000000000000387 Call Trace: [<0000000065941d4c>] __dump_stack lib/dump_stack.c:15 [inline] [<0000000065941d4c>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000ba69894f>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<0000000097b3f5ca>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<00000000719f9ea1>] mmput+0x28/0x370 kernel/fork.c:903 [<0000000059aa2120>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<0000000016c3b580>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000fe3932e7>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000fe3932e7>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<000000002ed70dfa>] shrink_slab mm/vmscan.c:466 [inline] [<000000002ed70dfa>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000377c0d3b>] shrink_zones mm/vmscan.c:2751 [inline] [<00000000377c0d3b>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<00000000377c0d3b>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<00000000a1fa05db>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<00000000a1fa05db>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<00000000a1fa05db>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<00000000a1fa05db>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<000000006e3ff4c4>] __alloc_pages include/linux/gfp.h:433 [inline] [<000000006e3ff4c4>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<000000006e3ff4c4>] alloc_pages_node include/linux/gfp.h:460 [inline] [<000000006e3ff4c4>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<000000006e3ff4c4>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000cbfb8bd4>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000cbfb8bd4>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000cbfb8bd4>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000004cfa94a2>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000731767d2>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<00000000731767d2>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<000000006cb949e2>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000006cb949e2>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000008ca37658>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000008ca37658>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<000000009b41bc08>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<00000000851e0e3e>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000002efd2f31>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000002efd2f31>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000002a4ef442>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000004aa4f984>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb ================================= [ INFO: inconsistent lock state ] 4.9.186+ #12 Tainted: G W --------------------------------- inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-R} usage. syz-executor821/2055 [HC0[0]:SC0[0]:HE1:SE1] takes: (&mm->mmap_sem){+++++?}, at: [<00000000ec761444>] 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: 525325 hardirqs last enabled at (525325): [<00000000411fc1b5>] restore_regs_and_iret+0x0/0x1d hardirqs last disabled at (525324): [<0000000063ec06df>] apic_timer_interrupt+0x98/0xb0 arch/x86/entry/entry_64.S:650 softirqs last enabled at (525082): [<00000000daec0afc>] spin_unlock_bh include/linux/spinlock.h:352 [inline] softirqs last enabled at (525082): [<00000000daec0afc>] wb_queue_work+0x1ed/0x450 fs/fs-writeback.c:203 softirqs last disabled at (525078): [<0000000081197b2c>] spin_lock_bh include/linux/spinlock.h:307 [inline] softirqs last disabled at (525078): [<0000000081197b2c>] 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 *** 3 locks held by syz-executor821/2055: #0: (shrinker_rwsem){++++..}, at: [<000000008bef7819>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #1: (rcu_read_lock){......}, at: [<000000001507f181>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 #2: (lmk_event_lock){+.+.-.}, at: [<00000000d0be266c>] spin_lock include/linux/spinlock.h:302 [inline] #2: (lmk_event_lock){+.+.-.}, at: [<00000000d0be266c>] handle_lmk_event+0xfb/0x8a0 drivers/staging/android/lowmemorykiller.c:114 stack backtrace: CPU: 1 PID: 2055 Comm: syz-executor821 Tainted: G W 4.9.186+ #12 ffff8801cf067150 ffffffff81b5a0b1 00000000000000f0 ffff8801d2afdf00 ffffffff83caf5b0 ffff8801d2afe848 ffffffff84250ec0 ffff8801cf0671c8 ffffffff81406d69 0000000000000000 ffffffff00000001 0000000000000001 Call Trace: [<0000000065941d4c>] __dump_stack lib/dump_stack.c:15 [inline] [<0000000065941d4c>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000023990da>] print_usage_bug kernel/locking/lockdep.c:2387 [inline] [<00000000023990da>] print_usage_bug.cold+0x452/0x5a2 kernel/locking/lockdep.c:2354 [<00000000eacd7885>] valid_state kernel/locking/lockdep.c:2400 [inline] [<00000000eacd7885>] mark_lock_irq kernel/locking/lockdep.c:2602 [inline] [<00000000eacd7885>] mark_lock+0x6c7/0x12e0 kernel/locking/lockdep.c:3065 [<0000000042da10d3>] mark_irqflags kernel/locking/lockdep.c:2958 [inline] [<0000000042da10d3>] __lock_acquire+0x5c3/0x4350 kernel/locking/lockdep.c:3302 [<0000000092af4271>] lock_acquire+0x133/0x3d0 kernel/locking/lockdep.c:3756 [<00000000af054e64>] down_read+0x44/0xb0 kernel/locking/rwsem.c:22 [<00000000ec761444>] get_cmdline+0xa3/0x2d0 mm/util.c:641 [<00000000e90e0e74>] handle_lmk_event+0x13c/0x8a0 drivers/staging/android/lowmemorykiller.c:128 [<0000000016c3b580>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000fe3932e7>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000fe3932e7>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<000000002ed70dfa>] shrink_slab mm/vmscan.c:466 [inline] [<000000002ed70dfa>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000377c0d3b>] shrink_zones mm/vmscan.c:2751 [inline] [<00000000377c0d3b>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<00000000377c0d3b>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<00000000a1fa05db>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<00000000a1fa05db>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<00000000a1fa05db>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<00000000a1fa05db>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<000000006e3ff4c4>] __alloc_pages include/linux/gfp.h:433 [inline] [<000000006e3ff4c4>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<000000006e3ff4c4>] alloc_pages_node include/linux/gfp.h:460 [inline] [<000000006e3ff4c4>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<000000006e3ff4c4>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000cbfb8bd4>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000cbfb8bd4>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000cbfb8bd4>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000004cfa94a2>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000731767d2>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<00000000731767d2>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<000000006cb949e2>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000006cb949e2>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000008ca37658>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000008ca37658>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<000000009b41bc08>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<00000000851e0e3e>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000002efd2f31>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000002efd2f31>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000002a4ef442>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000004aa4f984>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb oom_reaper: reaped process 2049 (syz-executor821), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor821 invoked oom-killer: gfp_mask=0x24002c2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_NOWARN), nodemask=0, order=0, oom_score_adj=1000 [<000000005727e959>] out_of_memory mm/oom_kill.c:1069 [inline] [<000000005727e959>] out_of_memory+0x29b/0xea0 mm/oom_kill.c:1009 [<0000000051cff0c6>] __alloc_pages_may_oom mm/page_alloc.c:3136 [inline] [<0000000051cff0c6>] __alloc_pages_slowpath mm/page_alloc.c:3750 [inline] [<0000000051cff0c6>] __alloc_pages_nodemask+0x1730/0x1a80 mm/page_alloc.c:3861 [<000000006e3ff4c4>] __alloc_pages include/linux/gfp.h:433 [inline] [<000000006e3ff4c4>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<000000006e3ff4c4>] alloc_pages_node include/linux/gfp.h:460 [inline] [<000000006e3ff4c4>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<000000006e3ff4c4>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000cbfb8bd4>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000cbfb8bd4>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000cbfb8bd4>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000004cfa94a2>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000731767d2>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<00000000731767d2>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<000000006cb949e2>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000006cb949e2>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000008ca37658>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000008ca37658>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<000000009b41bc08>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<00000000851e0e3e>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000002efd2f31>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000002efd2f31>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000002a4ef442>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000004aa4f984>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3222 inactive_anon:42 isolated_anon:0 active_file:17 inactive_file:4 isolated_file:0 unevictable:0 dirty:0 writeback:13 unstable:0 slab_reclaimable:4262 slab_unreclaimable:56801 mapped:29 shmem:48 pagetables:358 bounce:0 free:6035 free_pcp:68 free_cma:0 Node 0 active_anon:12888kB inactive_anon:168kB active_file:68kB inactive_file:16kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:116kB dirty:0kB writeback:52kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:54 all_unreclaimable? no DMA32 free:18608kB 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:4kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:120kB local_pcp:0kB free_cma:0kB Normal free:5532kB min:5580kB low:9168kB high:12756kB active_anon:12888kB inactive_anon:168kB active_file:68kB inactive_file:16kB unevictable:0kB writepending:52kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17048kB slab_unreclaimable:227200kB kernel_stack:3424kB pagetables:1432kB bounce:0kB free_pcp:152kB local_pcp:0kB free_cma:0kB DMA32: 3*4kB (UM) 3*8kB (M) 2*16kB (M) 1*32kB (M) 2*64kB (UM) 4*128kB (UM) 4*256kB (UM) 1*512kB (M) 2*1024kB (M) 1*2048kB (M) 3*4096kB (M) = 18660kB 0 pages in swap cache Swap cache stats: add 0, delete 0, find 0/0 Free swap = 0kB Total swap = 0kB 1965979 pages RAM 0 pages HighMem/MovableOnly 313625 pages reserved [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name [ 470] 0 470 5417 192 17 4 0 -1000 udevd [ 585] 0 585 5383 174 16 4 0 -1000 udevd [ 586] 0 586 5383 175 16 4 0 -1000 udevd [ 1763] 0 1763 2492 573 8 3 0 0 dhclient [ 1894] 0 1894 14231 109 23 3 0 0 rsyslogd [ 1949] 0 1949 4724 50 14 3 0 0 cron [ 1967] 0 1967 3734 44 11 3 0 0 mcstransd [ 1969] 0 1969 12926 1227 27 4 0 0 restorecond [ 1995] 0 1995 12489 153 29 3 0 -1000 sshd [ 2025] 0 2025 3648 40 12 3 0 0 getty [ 2044] 0 2044 17820 198 39 3 0 0 sshd [ 2046] 0 2046 4380 1 4 2 0 0 syz-executor821 [ 2047] 0 2047 4380 11 4 2 0 0 syz-executor821 [ 2048] 0 2048 4380 11 4 2 0 0 syz-executor821 [ 2049] 0 2049 4380 0 5 2 0 1000 syz-executor821 [ 2050] 0 2050 4380 11 4 2 0 0 syz-executor821 [ 2051] 0 2051 4380 11 4 2 0 0 syz-executor821 [ 2052] 0 2052 4380 11 4 2 0 0 syz-executor821 [ 2053] 0 2053 4380 11 4 2 0 0 syz-executor821 [ 2054] 0 2054 4380 11 5 2 0 1000 syz-executor821 [ 2055] 0 2055 4380 11 5 2 0 1000 syz-executor821 [ 2056] 0 2056 4380 11 5 2 0 1000 syz-executor821 [ 2057] 0 2057 4380 11 5 2 0 1000 syz-executor821 [ 2058] 0 2058 4380 11 5 2 0 1000 syz-executor821 [ 2059] 0 2059 3648 42 13 3 0 0 getty [ 2060] 0 2060 3648 44 13 3 0 0 getty [ 2061] 0 2061 3648 43 13 3 0 0 getty [ 2062] 0 2062 3648 43 13 3 0 0 getty [ 2063] 0 2063 3648 42 12 3 0 0 getty [ 2064] 0 2064 3648 44 13 3 0 0 getty Out of memory: Kill process 2054 (syz-executor821) score 999 or sacrifice child Killed process 2054 (syz-executor821) total-vm:17520kB, anon-rss:44kB, file-rss:0kB, shmem-rss:0kB oom_reaper: reaped process 2054 (syz-executor821), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor821 invoked oom-killer: gfp_mask=0x24002c2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_NOWARN), nodemask=0, order=0, oom_score_adj=1000 CPU: 1 PID: 2055 Comm: syz-executor821 Tainted: G W 4.9.186+ #12 ffff8801cf067738 ffffffff81b5a0b1 ffff8801cf067a90 ffffffff833f11f0 00000000000003e8 ffff8801cf067aa8 0000000000000000 ffff8801cf0677b8 ffffffff815054bb 0000000000000000 00000000000003e8 ffffffff8281c215 Call Trace: [<0000000065941d4c>] __dump_stack lib/dump_stack.c:15 [inline] [<0000000065941d4c>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000aa853254>] dump_header.isra.0+0x142/0x74c mm/oom_kill.c:417 [<000000006ff7ff6f>] oom_kill_process.cold+0xd/0xa74 mm/oom_kill.c:852 [<000000005727e959>] out_of_memory mm/oom_kill.c:1069 [inline] [<000000005727e959>] out_of_memory+0x29b/0xea0 mm/oom_kill.c:1009 [<0000000051cff0c6>] __alloc_pages_may_oom mm/page_alloc.c:3136 [inline] [<0000000051cff0c6>] __alloc_pages_slowpath mm/page_alloc.c:3750 [inline] [<0000000051cff0c6>] __alloc_pages_nodemask+0x1730/0x1a80 mm/page_alloc.c:3861 Normal: 19*4kB (H) 16*8kB (H) 20*16kB (H) 8*32kB (H) 4*64kB (H) 4*128kB (H) 6*256kB (H) 0*512kB 0*1024kB 0*2048kB 0*4096kB = 3084kB [<00000000e069c195>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<00000000e069c195>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000cbfb8bd4>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000cbfb8bd4>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000cbfb8bd4>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 Total swap = 0kB 1965979 pages RAM 0 pages HighMem/MovableOnly 313625 pages reserved [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name [ 470] 0 470 5417 192 17 4 0 -1000 udevd [ 585] 0 585 5383 174 16 4 0 -1000 udevd [ 586] 0 586 5383 175 16 4 0 -1000 udevd [ 1763] 0 1763 2492 573 8 3 0 0 dhclient [ 1894] 0 1894 14231 109 23 3 0 0 rsyslogd [ 1949] 0 1949 4724 50 14 3 0 0 cron [ 1967] 0 1967 3734 44 11 3 0 0 mcstransd [ 1969] 0 1969 12926 1227 27 4 0 0 restorecond [ 1995] 0 1995 12489 153 29 3 0 -1000 sshd [ 2025] 0 2025 3648 40 12 3 0 0 getty [ 2044] 0 2044 17820 198 39 3 0 0 sshd [ 2046] 0 2046 4380 1 4 2 0 0 syz-executor821 [ 2047] 0 2047 4380 11 4 2 0 0 syz-executor821 [ 2048] 0 2048 4380 11 4 2 0 0 syz-executor821 [ 2049] 0 2049 4380 0 5 2 0 1000 syz-executor821 [ 2050] 0 2050 4380 11 4 2 0 0 syz-executor821 [ 2051] 0 2051 4380 11 4 2 0 0 syz-executor821 [ 2052] 0 2052 4380 11 4 2 0 0 syz-executor821 [ 2053] 0 2053 4380 11 4 2 0 0 syz-executor821 [ 2054] 0 2054 4380 0 5 2 0 1000 syz-executor821 [ 2055] 0 2055 4380 0 5 2 0 1000 syz-executor821 [ 2056] 0 2056 4380 0 5 2 0 1000 syz-executor821 [ 2057] 0 2057 4380 11 5 2 0 1000 syz-executor821 [ 2058] 0 2058 4380 11 5 2 0 1000 syz-executor821 [ 2059] 0 2059 3648 42 13 3 0 0 getty [ 2060] 0 2060 3648 44 13 3 0 0 getty [ 2061] 0 2061 3648 43 13 3 0 0 getty [ 2062] 0 2062 3648 43 13 3 0 0 getty [ 2063] 0 2063 3648 42 12 3 0 0 getty [ 2064] 0 2064 3648 44 13 3 0 0 getty Out of memory: Kill process 2057 (syz-executor821) score 999 or sacrifice child Killed process 2057 (syz-executor821) total-vm:17520kB, anon-rss:44kB, file-rss:0kB, shmem-rss:0kB oom_reaper: reaped process 2057 (syz-executor821), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor821: vmalloc: allocation failure, allocated 1053593600 of 3843104768 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 0 PID: 2057 Comm: syz-executor821 Tainted: G W 4.9.186+ #12 ffff8801c386fa10 ffffffff81b5a0b1 1ffff1003870df44 dffffc0000000000 ffffffff82aaa9c0 0000000000000000 0000000000400000 ffff8801c386fb38 ffffffff81506773 0000000041b58ab3 ffffffff82e3a4c0 ffffffff81430350 Call Trace: [<0000000065941d4c>] __dump_stack lib/dump_stack.c:15 [inline] [<0000000065941d4c>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000002bc2379c>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<00000000e069c195>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<00000000e069c195>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000cbfb8bd4>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000cbfb8bd4>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000cbfb8bd4>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000004cfa94a2>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000731767d2>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<00000000731767d2>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<000000006cb949e2>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000006cb949e2>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000008ca37658>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000008ca37658>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<000000009b41bc08>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<00000000851e0e3e>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000002efd2f31>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000002efd2f31>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000002a4ef442>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000004aa4f984>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3197 inactive_anon:42 isolated_anon:0 active_file:17 inactive_file:4 isolated_file:0 unevictable:0 dirty:0 writeback:13 unstable:0 slab_reclaimable:4262 slab_unreclaimable:56801 mapped:29 shmem:48 pagetables:358 bounce:0 free:761 free_pcp:20 free_cma:0 Node 0 active_anon:12788kB inactive_anon:168kB active_file:68kB inactive_file:16kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:116kB dirty:0kB writeback:52kB 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:4kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:3064kB min:5580kB low:9168kB high:12756kB active_anon:12788kB inactive_anon:168kB active_file:68kB inactive_file:16kB unevictable:0kB writepending:52kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17048kB slab_unreclaimable:227200kB kernel_stack:3424kB pagetables:1432kB bounce:0kB free_pcp:80kB local_pcp:80kB 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-executor821 invoked oom-killer: gfp_mask=0x24200ca(GFP_HIGHUSER_MOVABLE), nodemask=0, order=0, oom_score_adj=0 CPU: 0 PID: 2051 Comm: syz-executor821 Tainted: G W 4.9.186+ #12 ffff8801cf2cf6f0 ffffffff81b5a0b1 ffff8801cf2cfa48 ffffffff833f11f0 0000000000000000 ffff8801cf2cfa60 0000000000000000 ffff8801cf2cf770 ffffffff815054bb 0000000000000000 0000000000000000 ffffffff8281c215 Call Trace: [<0000000065941d4c>] __dump_stack lib/dump_stack.c:15 [inline] [<0000000065941d4c>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000aa853254>] dump_header.isra.0+0x142/0x74c mm/oom_kill.c:417 [<000000006ff7ff6f>] oom_kill_process.cold+0xd/0xa74 mm/oom_kill.c:852 0 pages in swap cache ffffffff81506773 0000000041b58ab3 ffffffff82e3a4c0 ffffffff81430350 Call Trace: [<0000000065941d4c>] __dump_stack lib/dump_stack.c:15 [inline] [<0000000065941d4c>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000002bc2379c>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<00000000e069c195>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<00000000e069c195>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 Total swap = 0kB 1965979 pages RAM 0 pages HighMem/MovableOnly [<00000000cbfb8bd4>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000cbfb8bd4>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000cbfb8bd4>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000004cfa94a2>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000731767d2>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<00000000731767d2>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<000000006cb949e2>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000006cb949e2>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000008ca37658>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000008ca37658>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<000000009b41bc08>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<00000000851e0e3e>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000002efd2f31>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000002efd2f31>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000002a4ef442>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000004aa4f984>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:1986 inactive_anon:42 isolated_anon:0 active_file:6 inactive_file:16 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4278 slab_unreclaimable:56840 mapped:14 shmem:48 pagetables:331 bounce:0 free:6039 free_pcp:68 free_cma:0 Node 0 active_anon:7944kB inactive_anon:168kB active_file:24kB inactive_file:64kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:56kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:18596kB 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:4kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:120kB local_pcp:120kB free_cma:0kB Normal free:5560kB min:5580kB low:9168kB high:12756kB active_anon:7944kB inactive_anon:168kB active_file:24kB inactive_file:64kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17112kB slab_unreclaimable:227356kB kernel_stack:3392kB pagetables:1324kB bounce:0kB free_pcp:152kB local_pcp:152kB free_cma:0kB DMA32: 2*4kB (UM) 4*8kB (UM) 2*16kB (UM) 1*32kB (M) 0*64kB 3*128kB (UM) 3*256kB (UM) 0*512kB 1*1024kB (M) 0*2048kB 4*4096kB (U) = 18664kB 0 pages in swap cache Swap cache stats: add 0, delete 0, find 0/0 Free swap = 0kB Total swap = 0kB 1965979 pages RAM 0 pages HighMem/MovableOnly 313625 pages reserved [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name [ 470] 0 470 5417 192 17 4 0 -1000 udevd [ 585] 0 585 5383 174 16 4 0 -1000 udevd [ 586] 0 586 5383 175 16 4 0 -1000 udevd [ 1763] 0 1763 2492 573 8 3 0 0 dhclient [ 1894] 0 1894 14231 109 23 3 0 0 rsyslogd [ 1949] 0 1949 4724 50 14 3 0 0 cron [ 1967] 0 1967 3734 44 11 3 0 0 mcstransd [ 1995] 0 1995 12489 153 29 3 0 -1000 sshd [ 2025] 0 2025 3648 40 12 3 0 0 getty [ 2044] 0 2044 17820 198 39 3 0 0 sshd [ 2046] 0 2046 4380 1 4 2 0 0 syz-executor821 [ 2047] 0 2047 4380 11 4 2 0 0 syz-executor821 [ 2048] 0 2048 4380 11 4 2 0 0 syz-executor821 [ 2050] 0 2050 4380 11 4 2 0 0 syz-executor821 [ 2051] 0 2051 4380 11 4 2 0 0 syz-executor821 [ 2052] 0 2052 4380 11 4 2 0 0 syz-executor821 [ 2053] 0 2053 4380 11 4 2 0 0 syz-executor821 [ 2059] 0 2059 3648 42 13 3 0 0 getty [ 2060] 0 2060 3648 44 13 3 0 0 getty [ 2061] 0 2061 3648 43 13 3 0 0 getty [ 2062] 0 2062 3648 43 13 3 0 0 getty [ 2063] 0 2063 3648 42 12 3 0 0 getty [ 2064] 0 2064 3648 44 13 3 0 0 getty [ 2065] 0 2065 4380 0 5 2 0 1000 syz-executor821 [ 2066] 0 2066 4380 11 5 2 0 1000 syz-executor821 [ 2067] 0 2067 4380 11 5 2 0 1000 syz-executor821 [ 2068] 0 2068 4380 11 5 2 0 1000 syz-executor821 [ 2069] 0 2069 4380 11 5 2 0 1000 syz-executor821 [ 2070] 0 2070 4380 11 5 2 0 1000 syz-executor821 Out of memory: Kill process 2066 (syz-executor821) score 999 or sacrifice child Killed process 2066 (syz-executor821) total-vm:17520kB, anon-rss:44kB, file-rss:0kB, shmem-rss:0kB oom_reaper: reaped process 2066 (syz-executor821), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor821: vmalloc: allocation failure, allocated 1395191808 of 3843104768 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 0 PID: 2066 Comm: syz-executor821 Tainted: G W 4.9.186+ #12 ffff8801cf1e7a10 ffffffff81b5a0b1 1ffff10039e3cf44 dffffc0000000000 ffffffff82aaa9c0 0000000000000000 0000000000400000 ffff8801cf1e7b38 ffffffff81506773 0000000041b58ab3 ffffffff82e3a4c0 ffffffff81430350 Call Trace: [<0000000065941d4c>] __dump_stack lib/dump_stack.c:15 [inline] [<0000000065941d4c>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000002bc2379c>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<00000000e069c195>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<00000000e069c195>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000cbfb8bd4>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000cbfb8bd4>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000cbfb8bd4>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000004cfa94a2>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000731767d2>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<00000000731767d2>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<000000006cb949e2>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000006cb949e2>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000008ca37658>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000008ca37658>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<000000009b41bc08>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<00000000851e0e3e>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000002efd2f31>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000002efd2f31>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [ 1763] 0 1763 2492 573 8 3 0 0 dhclient [ 1894] 0 1894 14231 109 23 3 0 0 rsyslogd [<000000004cfa94a2>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000731767d2>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<00000000731767d2>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<000000006cb949e2>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000006cb949e2>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000008ca37658>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000008ca37658>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<000000009b41bc08>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<00000000851e0e3e>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000002efd2f31>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000002efd2f31>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000002a4ef442>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000004aa4f984>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb CPU: 1 PID: 2067 Comm: syz-executor821 Tainted: G W 4.9.186+ #12 ffff8801c462fa10 ffffffff81b5a0b1 1ffff100388c5f44 dffffc0000000000 ffffffff82aaa9c0 Mem-Info: 0000000000000000 0000000000400000active_anon:1986 inactive_anon:42 isolated_anon:0 active_file:0 inactive_file:0 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4278 slab_unreclaimable:56840 mapped:14 shmem:48 pagetables:331 bounce:0 free:893 free_pcp:0 free_cma:0 ffff8801c462fb38Node 0 active_anon:7944kB inactive_anon:168kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:56kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:55 all_unreclaimable? no ffffffff81506773 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:4kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB ffffffff82e3a4c0 0 ffffffff81430350 3505 3505Call Trace: Normal free:3576kB min:5580kB low:9168kB high:12756kB active_anon:7944kB inactive_anon:168kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17112kB slab_unreclaimable:227356kB kernel_stack:3392kB pagetables:1324kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB lowmem_reserve[]: [<000000002bc2379c>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 0 0 [<00000000e069c195>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] 0 0 [<00000000e069c195>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 DMA32: [<00000000cbfb8bd4>] __vmalloc_node mm/vmalloc.c:1749 [inline] DMA32: [<00000000cbfb8bd4>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] DMA32: [<00000000cbfb8bd4>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 0*8kB [<000000004cfa94a2>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 0*16kB [<00000000731767d2>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] 0*16kB [<00000000731767d2>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 0*256kB [<000000006cb949e2>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] 0*256kB [<000000006cb949e2>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 0*512kB [<000000008ca37658>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] 0*512kB [<000000008ca37658>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 0*1024kB [<000000009b41bc08>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 0*2048kB [<00000000851e0e3e>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 0*4096kB [<000000002efd2f31>] SYSC_setsockopt net/socket.c:1786 [inline] 0*4096kB [<000000002efd2f31>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 = 0kB 14*8kB [<000000002a4ef442>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 (H) [<000000004aa4f984>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb 20*16kB Mem-Info: (H) active_anon:1986 inactive_anon:42 isolated_anon:0 active_file:0 inactive_file:0 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4278 slab_unreclaimable:56840 mapped:14 shmem:48 pagetables:331 bounce:0 free:893 free_pcp:0 free_cma:0