Free memory is -13248kB above reserved lowmemorykiller: Killing 'syz-executor583' (2079) (tgid 2079), adj 1000, to free 40kB on behalf of 'syz-executor583' (2084) because cache 33712kB is below limit 65536kB for oom_score_adj 12 Free memory is -13188kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 2084, name: syz-executor583 2 locks held by syz-executor583/2084: #0: (shrinker_rwsem){++++..}, at: [<00000000474d949d>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #1: (rcu_read_lock){......}, at: [<00000000c2d22e3a>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 Preemption disabled at: [<00000000b9f09ae8>] spin_lock include/linux/spinlock.h:302 [inline] [<00000000b9f09ae8>] task_lock include/linux/sched.h:3217 [inline] [<00000000b9f09ae8>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 CPU: 0 PID: 2084 Comm: syz-executor583 Not tainted 4.9.182+ #2 ffff8801cdf2f408 ffffffff81b57e21 0000000000000000 0000000000000001 ffff8801d2465f00 ffffffff810d0c40 ffff8801d2465f00 ffff8801cdf2f440 ffffffff8140036c ffff8801d2465f00 ffffffff82a39900 0000000000000387 Call Trace: [<000000002a93bdd5>] __dump_stack lib/dump_stack.c:15 [inline] [<000000002a93bdd5>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000b2e7db72>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<00000000a605ace4>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<000000006d41f13c>] mmput+0x28/0x370 kernel/fork.c:903 [<000000004c129035>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<000000004d20442d>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<000000000d93b4a5>] do_shrink_slab mm/vmscan.c:399 [inline] [<000000000d93b4a5>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<000000005eeabf5b>] shrink_slab mm/vmscan.c:466 [inline] [<000000005eeabf5b>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<000000002d997735>] shrink_zones mm/vmscan.c:2751 [inline] [<000000002d997735>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<000000002d997735>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<00000000b0f6b40c>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<00000000b0f6b40c>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<00000000b0f6b40c>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<00000000b0f6b40c>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<000000001e4bf3cd>] __alloc_pages include/linux/gfp.h:433 [inline] [<000000001e4bf3cd>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<000000001e4bf3cd>] alloc_pages_node include/linux/gfp.h:460 [inline] [<000000001e4bf3cd>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<000000001e4bf3cd>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<0000000051887df4>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<0000000051887df4>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<0000000051887df4>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000951bf0e1>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<000000006c45b5e3>] do_replace net/ipv6/netfilter/ip6_tables.c:1175 [inline] [<000000006c45b5e3>] do_ip6t_set_ctl+0x231/0x480 net/ipv6/netfilter/ip6_tables.c:1712 [<0000000071ecee2d>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<0000000071ecee2d>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000002ebec18c>] ipv6_setsockopt net/ipv6/ipv6_sockglue.c:922 [inline] [<000000002ebec18c>] ipv6_setsockopt+0x10b/0x140 net/ipv6/ipv6_sockglue.c:906 [<0000000092c380bd>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<0000000092c380bd>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<00000000d8817b9e>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<00000000f53bff75>] SYSC_setsockopt net/socket.c:1786 [inline] [<00000000f53bff75>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000e0498fdc>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000004a09bf12>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb ================================= [ INFO: inconsistent lock state ] 4.9.182+ #2 Tainted: G W --------------------------------- inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-R} usage. syz-executor583/2084 [HC0[0]:SC0[0]:HE1:SE1] takes: (&mm->mmap_sem){+++++?}, at: [<00000000c8fb77c8>] 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: 564579 hardirqs last enabled at (564579): [<00000000daf65afe>] dump_stack+0x100/0x120 lib/dump_stack.c:56 hardirqs last disabled at (564578): [<00000000112bb370>] dump_stack+0x2c/0x120 lib/dump_stack.c:38 softirqs last enabled at (562382): [<00000000deaced38>] spin_unlock_bh include/linux/spinlock.h:352 [inline] softirqs last enabled at (562382): [<00000000deaced38>] wb_queue_work+0x1ed/0x450 fs/fs-writeback.c:203 softirqs last disabled at (562378): [<00000000960d68fc>] spin_lock_bh include/linux/spinlock.h:307 [inline] softirqs last disabled at (562378): [<00000000960d68fc>] 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-executor583/2084: #0: (shrinker_rwsem){++++..}, at: [<00000000474d949d>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #1: (rcu_read_lock){......}, at: [<00000000c2d22e3a>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 #2: (lmk_event_lock){+.+.-.}, at: [<00000000bd950a17>] spin_lock include/linux/spinlock.h:302 [inline] #2: (lmk_event_lock){+.+.-.}, at: [<00000000bd950a17>] handle_lmk_event+0xfb/0x8a0 drivers/staging/android/lowmemorykiller.c:114 stack backtrace: CPU: 0 PID: 2084 Comm: syz-executor583 Tainted: G W 4.9.182+ #2 ffff8801cdf2f150 ffffffff81b57e21 00000000000000f0 ffff8801d2465f00 ffffffff83cad760 ffff8801d2466848 ffffffff8424eec0 ffff8801cdf2f1c8 ffffffff81406da9 0000000000000000 ffffffff00000001 0000000000000001 Call Trace: [<000000002a93bdd5>] __dump_stack lib/dump_stack.c:15 [inline] [<000000002a93bdd5>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<0000000007e24e04>] print_usage_bug kernel/locking/lockdep.c:2387 [inline] [<0000000007e24e04>] print_usage_bug.cold+0x452/0x5a2 kernel/locking/lockdep.c:2354 [<00000000023ae6db>] valid_state kernel/locking/lockdep.c:2400 [inline] [<00000000023ae6db>] mark_lock_irq kernel/locking/lockdep.c:2602 [inline] [<00000000023ae6db>] mark_lock+0x6c7/0x12e0 kernel/locking/lockdep.c:3065 [<00000000d127f547>] mark_irqflags kernel/locking/lockdep.c:2958 [inline] [<00000000d127f547>] __lock_acquire+0x5c3/0x4350 kernel/locking/lockdep.c:3302 [<00000000c8e43623>] lock_acquire+0x133/0x3d0 kernel/locking/lockdep.c:3756 [<00000000ef9ec014>] down_read+0x44/0xb0 kernel/locking/rwsem.c:22 [<00000000c8fb77c8>] get_cmdline+0xa3/0x2d0 mm/util.c:641 [<00000000815e7c82>] handle_lmk_event+0x13c/0x8a0 drivers/staging/android/lowmemorykiller.c:128 [<000000004d20442d>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<000000000d93b4a5>] do_shrink_slab mm/vmscan.c:399 [inline] [<000000000d93b4a5>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<000000005eeabf5b>] shrink_slab mm/vmscan.c:466 [inline] [<000000005eeabf5b>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<000000002d997735>] shrink_zones mm/vmscan.c:2751 [inline] [<000000002d997735>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<000000002d997735>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<00000000b0f6b40c>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<00000000b0f6b40c>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<00000000b0f6b40c>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<00000000b0f6b40c>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<000000001e4bf3cd>] __alloc_pages include/linux/gfp.h:433 [inline] [<000000001e4bf3cd>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<000000001e4bf3cd>] alloc_pages_node include/linux/gfp.h:460 [inline] [<000000001e4bf3cd>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<000000001e4bf3cd>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<0000000051887df4>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<0000000051887df4>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<0000000051887df4>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000951bf0e1>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<000000006c45b5e3>] do_replace net/ipv6/netfilter/ip6_tables.c:1175 [inline] [<000000006c45b5e3>] do_ip6t_set_ctl+0x231/0x480 net/ipv6/netfilter/ip6_tables.c:1712 [<0000000071ecee2d>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<0000000071ecee2d>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000002ebec18c>] ipv6_setsockopt net/ipv6/ipv6_sockglue.c:922 [inline] [<000000002ebec18c>] ipv6_setsockopt+0x10b/0x140 net/ipv6/ipv6_sockglue.c:906 [<0000000092c380bd>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<0000000092c380bd>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<00000000d8817b9e>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<00000000f53bff75>] SYSC_setsockopt net/socket.c:1786 [inline] [<00000000f53bff75>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000e0498fdc>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000004a09bf12>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb oom_reaper: reaped process 2079 (syz-executor583), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor583: vmalloc: allocation failure, allocated 1200328704 of 3069386752 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 1 PID: 2079 Comm: syz-executor583 Tainted: G W 4.9.182+ #2 ffff8801cdd1fa08 ffffffff81b57e21 1ffff10039ba3f43 dffffc0000000000 ffffffff82aaa940 0000000000000000 0000000000400000 ffff8801cdd1fb30 ffffffff815067f3 0000000041b58ab3 ffffffff82e3a0f8 ffffffff814303c0 Call Trace: [<000000002a93bdd5>] __dump_stack lib/dump_stack.c:15 [inline] [<000000002a93bdd5>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000724ce617>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<00000000d0e3bd19>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<00000000d0e3bd19>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<0000000051887df4>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<0000000051887df4>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<0000000051887df4>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000951bf0e1>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<000000006c45b5e3>] do_replace net/ipv6/netfilter/ip6_tables.c:1175 [inline] [<000000006c45b5e3>] do_ip6t_set_ctl+0x231/0x480 net/ipv6/netfilter/ip6_tables.c:1712 [<0000000071ecee2d>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<0000000071ecee2d>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000002ebec18c>] ipv6_setsockopt net/ipv6/ipv6_sockglue.c:922 [inline] [<000000002ebec18c>] ipv6_setsockopt+0x10b/0x140 net/ipv6/ipv6_sockglue.c:906 [<0000000092c380bd>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<0000000092c380bd>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<00000000d8817b9e>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<00000000f53bff75>] SYSC_setsockopt net/socket.c:1786 [inline] [<00000000f53bff75>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000e0498fdc>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000004a09bf12>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3222 inactive_anon:41 isolated_anon:0 active_file:15 inactive_file:32 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4251 slab_unreclaimable:56856 mapped:17 shmem:48 pagetables:360 bounce:0 free:366 free_pcp:9 free_cma:0 Node 0 active_anon:12888kB inactive_anon:164kB active_file:60kB inactive_file:128kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:68kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:12kB 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:1452kB min:5580kB low:9168kB high:12756kB active_anon:12888kB inactive_anon:164kB active_file:60kB inactive_file:128kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17004kB slab_unreclaimable:227424kB kernel_stack:3424kB pagetables:1440kB bounce:0kB free_pcp:36kB local_pcp:36kB 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-executor583 invoked oom-killer: gfp_mask=0x24002c2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_NOWARN), nodemask=0, order=0, oom_score_adj=1000 CPU: 1 PID: 2088 Comm: syz-executor583 Tainted: G W 4.9.182+ #2 ffff8801c3257730 ffffffff81b57e21 ffff8801c3257a88 ffffffff833f0b30 00000000000003e8 ffff8801c3257aa0 0000000000000000 ffff8801c32577b0 ffffffff8150553b 0000000000000000 00000000000003e8 ffffffff82819e55 Call Trace: [<000000002a93bdd5>] __dump_stack lib/dump_stack.c:15 [inline] [<000000002a93bdd5>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000006370cf94>] dump_header.isra.0+0x142/0x74c mm/oom_kill.c:417 [<00000000096bca48>] oom_kill_process.cold+0xd/0xa74 mm/oom_kill.c:852 [<00000000d8c6486d>] out_of_memory mm/oom_kill.c:1069 [inline] [<00000000d8c6486d>] out_of_memory+0x29b/0xeb0 mm/oom_kill.c:1009 [<00000000bbd70535>] __alloc_pages_may_oom mm/page_alloc.c:3136 [inline] [<00000000bbd70535>] __alloc_pages_slowpath mm/page_alloc.c:3750 [inline] [<00000000bbd70535>] __alloc_pages_nodemask+0x1730/0x1a80 mm/page_alloc.c:3861 [<000000001e4bf3cd>] __alloc_pages include/linux/gfp.h:433 [inline] [<000000001e4bf3cd>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<000000001e4bf3cd>] alloc_pages_node include/linux/gfp.h:460 [inline] [<000000001e4bf3cd>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<000000001e4bf3cd>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<0000000051887df4>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<0000000051887df4>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<0000000051887df4>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000951bf0e1>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<000000006c45b5e3>] do_replace net/ipv6/netfilter/ip6_tables.c:1175 [inline] [<000000006c45b5e3>] do_ip6t_set_ctl+0x231/0x480 net/ipv6/netfilter/ip6_tables.c:1712 [<0000000071ecee2d>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<0000000071ecee2d>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000002ebec18c>] ipv6_setsockopt net/ipv6/ipv6_sockglue.c:922 [inline] [<000000002ebec18c>] ipv6_setsockopt+0x10b/0x140 net/ipv6/ipv6_sockglue.c:906 [<0000000092c380bd>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<0000000092c380bd>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<00000000d8817b9e>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<00000000f53bff75>] SYSC_setsockopt net/socket.c:1786 [inline] [<00000000f53bff75>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000e0498fdc>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000004a09bf12>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3222 inactive_anon:41 isolated_anon:0 active_file:15 inactive_file:32 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4251 slab_unreclaimable:56856 mapped:17 shmem:48 pagetables:360 bounce:0 free:366 free_pcp:0 free_cma:0 Node 0 active_anon:12888kB inactive_anon:164kB active_file:60kB inactive_file:128kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:68kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:12kB 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:1452kB min:5580kB low:9168kB high:12756kB active_anon:12888kB inactive_anon:164kB active_file:60kB inactive_file:128kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17004kB slab_unreclaimable:227424kB 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 313625 pages reserved [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name [ 470] 0 470 5384 185 17 3 0 -1000 udevd [ 582] 0 582 5364 166 16 3 0 -1000 udevd [ 584] 0 584 5383 185 16 3 0 -1000 udevd [ 1757] 0 1757 2492 573 9 3 0 0 dhclient [ 1888] 0 1888 14231 108 23 3 0 0 rsyslogd [ 1943] 0 1943 3734 44 12 3 0 0 mcstransd [ 1945] 0 1945 4724 51 15 3 0 0 cron [ 1963] 0 1963 12926 1227 27 3 0 0 restorecond [ 1989] 0 1989 12489 156 29 3 0 -1000 sshd [ 2019] 0 2019 3648 45 13 3 0 0 getty [ 2068] 0 2068 3648 48 11 3 0 0 getty [ 2069] 0 2069 3648 48 13 3 0 0 getty [ 2070] 0 2070 3648 48 13 3 0 0 getty [ 2071] 0 2071 3648 48 13 3 0 0 getty [ 2072] 0 2072 3648 49 13 3 0 0 getty [ 2073] 0 2073 3648 48 12 4 0 0 getty [ 2074] 0 2074 17820 197 39 3 0 0 sshd [ 2076] 0 2076 4380 1 4 2 0 0 syz-executor583 [ 2077] 0 2077 4380 10 4 2 0 0 syz-executor583 [ 2078] 0 2078 4380 10 4 2 0 0 syz-executor583 [ 2079] 0 2079 4380 0 5 2 0 1000 syz-executor583 [ 2080] 0 2080 4380 10 4 2 0 0 syz-executor583 [ 2081] 0 2081 4380 10 4 2 0 0 syz-executor583 [ 2082] 0 2082 4380 10 4 2 0 0 syz-executor583 [ 2083] 0 2083 4380 10 4 2 0 0 syz-executor583 [ 2084] 0 2084 4380 10 5 2 0 1000 syz-executor583 [ 2085] 0 2085 4380 10 5 2 0 1000 syz-executor583 [ 2086] 0 2086 4380 10 5 2 0 1000 syz-executor583 [ 2087] 0 2087 4380 10 5 2 0 1000 syz-executor583 [ 2088] 0 2088 4380 10 5 2 0 1000 syz-executor583 Out of memory: Kill process 2084 (syz-executor583) score 999 or sacrifice child Killed process 2084 (syz-executor583) total-vm:17520kB, anon-rss:40kB, file-rss:0kB, shmem-rss:0kB oom_reaper: reaped process 2084 (syz-executor583), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor583: vmalloc: allocation failure, allocated 1149284352 of 3069386752 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 0 PID: 2084 Comm: syz-executor583 Tainted: G W 4.9.182+ #2 ffff8801cdf2fa08 ffffffff81b57e21 1ffff10039be5f43 dffffc0000000000 ffffffff82aaa940 0000000000000000 0000000000400000 ffff8801cdf2fb30 ffffffff815067f3 0000000041b58ab3 ffffffff82e3a0f8 ffffffff814303c0 Call Trace: [<000000002a93bdd5>] __dump_stack lib/dump_stack.c:15 [inline] [<000000002a93bdd5>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000724ce617>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<00000000d0e3bd19>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<00000000d0e3bd19>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<0000000051887df4>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<0000000051887df4>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<0000000051887df4>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000951bf0e1>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<000000006c45b5e3>] do_replace net/ipv6/netfilter/ip6_tables.c:1175 [inline] [<000000006c45b5e3>] do_ip6t_set_ctl+0x231/0x480 net/ipv6/netfilter/ip6_tables.c:1712 [<0000000071ecee2d>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<0000000071ecee2d>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000002ebec18c>] ipv6_setsockopt net/ipv6/ipv6_sockglue.c:922 [inline] [<000000002ebec18c>] ipv6_setsockopt+0x10b/0x140 net/ipv6/ipv6_sockglue.c:906 [<0000000092c380bd>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<0000000092c380bd>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<00000000d8817b9e>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<00000000f53bff75>] SYSC_setsockopt net/socket.c:1786 [inline] [<00000000f53bff75>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000e0498fdc>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000004a09bf12>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3222 inactive_anon:41 isolated_anon:0 active_file:15 inactive_file:32 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4251 slab_unreclaimable:56856 mapped:17 shmem:48 pagetables:360 bounce:0 free:366 free_pcp:9 free_cma:0 Node 0 active_anon:12888kB inactive_anon:164kB active_file:60kB inactive_file:128kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:68kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:12kB 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 [<00000000951bf0e1>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<000000006c45b5e3>] do_replace net/ipv6/netfilter/ip6_tables.c:1175 [inline] [<000000006c45b5e3>] do_ip6t_set_ctl+0x231/0x480 net/ipv6/netfilter/ip6_tables.c:1712 [<0000000071ecee2d>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<0000000071ecee2d>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000002ebec18c>] ipv6_setsockopt net/ipv6/ipv6_sockglue.c:922 [inline] [<000000002ebec18c>] ipv6_setsockopt+0x10b/0x140 net/ipv6/ipv6_sockglue.c:906 [<0000000092c380bd>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<0000000092c380bd>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<00000000d8817b9e>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<00000000f53bff75>] SYSC_setsockopt net/socket.c:1786 [inline] [<00000000f53bff75>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000e0498fdc>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000004a09bf12>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3233 inactive_anon:41 isolated_anon:0 active_file:24 inactive_file:32 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4251 slab_unreclaimable:56727 mapped:30 shmem:48 pagetables:360 bounce:0 free:6056 free_pcp:30 free_cma:0 Node 0 active_anon:12932kB inactive_anon:164kB active_file:96kB inactive_file:128kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:120kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:18712kB 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:5512kB min:5580kB low:9168kB high:12756kB active_anon:12932kB inactive_anon:164kB active_file:96kB inactive_file:128kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17004kB slab_unreclaimable:226908kB kernel_stack:3424kB pagetables:1440kB bounce:0kB free_pcp:120kB local_pcp:120kB free_cma:0kB DMA32: 2*4kB (UM) 1*8kB (M) 1*16kB (U) 1*32kB (U) 2*64kB (UM) 3*128kB (UM) 3*256kB (UM) 0*512kB 1*1024kB (M) 0*2048kB 4*4096kB (U) = 18752kB 0 pages in swap cache Swap cache stats: add 0, delete 0, find 0/0 Free swap = 0kB Total swap = 0kB 1965979 pages RAM 0 pages HighMem/MovableOnly 313625 pages reserved [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name [ 470] 0 470 5384 185 17 3 0 -1000 udevd [ 582] 0 582 5364 166 16 3 0 -1000 udevd [ 584] 0 584 5383 185 16 3 0 -1000 udevd [ 1757] 0 1757 2492 573 9 3 0 0 dhclient [ 1888] 0 1888 14231 108 23 3 0 0 rsyslogd [ 1943] 0 1943 3734 44 12 3 0 0 mcstransd [ 1945] 0 1945 4724 51 15 3 0 0 cron [ 1963] 0 1963 12926 1227 27 3 0 0 restorecond [ 1989] 0 1989 12489 153 29 3 0 -1000 sshd [ 2019] 0 2019 3648 39 13 3 0 0 getty [ 2068] 0 2068 3648 42 11 3 0 0 getty [ 2069] 0 2069 3648 42 13 3 0 0 getty [ 2070] 0 2070 3648 42 13 3 0 0 getty [ 2071] 0 2071 3648 42 13 3 0 0 getty [ 2072] 0 2072 3648 43 13 3 0 0 getty [ 2073] 0 2073 3648 42 12 4 0 0 getty [ 2074] 0 2074 17820 197 39 3 0 0 sshd [ 2076] 0 2076 4380 1 4 2 0 0 syz-executor583 [ 2077] 0 2077 4380 10 4 2 0 0 syz-executor583 [ 2078] 0 2078 4380 10 4 2 0 0 syz-executor583 [ 2080] 0 2080 4380 10 4 2 0 0 syz-executor583 [ 2081] 0 2081 4380 10 4 2 0 0 syz-executor583 [ 2082] 0 2082 4380 10 4 2 0 0 syz-executor583 [ 2083] 0 2083 4380 10 4 2 0 0 syz-executor583 [ 2085] 0 2085 4380 0 5 2 0 1000 syz-executor583 [<0000000071ecee2d>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<0000000071ecee2d>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000002ebec18c>] ipv6_setsockopt net/ipv6/ipv6_sockglue.c:922 [inline] [<000000002ebec18c>] ipv6_setsockopt+0x10b/0x140 net/ipv6/ipv6_sockglue.c:906 [<0000000092c380bd>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<0000000092c380bd>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<00000000d8817b9e>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<00000000f53bff75>] SYSC_setsockopt net/socket.c:1786 [inline] [<00000000f53bff75>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000e0498fdc>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000004a09bf12>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 1757] 0 1757 2492 573 9 3 0 0 dhclient [<00000000951bf0e1>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<000000006c45b5e3>] do_replace net/ipv6/netfilter/ip6_tables.c:1175 [inline] [<000000006c45b5e3>] do_ip6t_set_ctl+0x231/0x480 net/ipv6/netfilter/ip6_tables.c:1712 [<0000000071ecee2d>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<0000000071ecee2d>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000002ebec18c>] ipv6_setsockopt net/ipv6/ipv6_sockglue.c:922 [inline] [<000000002ebec18c>] ipv6_setsockopt+0x10b/0x140 net/ipv6/ipv6_sockglue.c:906 [<0000000092c380bd>] tcp_setsockopt net/ipv4/tcp.c:2757 [inline] [<0000000092c380bd>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2751 [<00000000d8817b9e>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<00000000f53bff75>] SYSC_setsockopt net/socket.c:1786 [inline] [<00000000f53bff75>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000e0498fdc>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000004a09bf12>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3219 inactive_anon:41 isolated_anon:0 active_file:46 inactive_file:50 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4260 slab_unreclaimable:56741 mapped:64 shmem:48 pagetables:360 bounce:0 free:947 free_pcp:8 free_cma:0 Node 0 active_anon:12876kB inactive_anon:164kB active_file:184kB inactive_file:200kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:256kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:32kB min:4696kB low:7712kB high:10728kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3145324kB managed:3020100kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:3756kB min:5580kB low:9168kB high:12756kB active_anon:12876kB inactive_anon:164kB active_file:184kB inactive_file:200kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17040kB slab_unreclaimable:226964kB kernel_stack:3424kB pagetables:1440kB bounce:0kB free_pcp:32kB local_pcp:32kB free_cma:0kB [ 584] 0 584 5383 185 16 3 0 -1000 udevd [ 1757] 0 1757 2492 573 9 3 0 0 dhclient [ 584] 0 584 5383 185 16 3 0 -1000 udevd [ 1757] 0 1757 2492 573 9 3 0 0 dhclient [ 1888] 0 1888 14231 108 23 3 0 0 rsyslogd [ 1943] 0 1943 3734 44 12 3 0 0 mcstransd [ 1945] 0 1945 4724 51 15 3 0 0 cron [ 1963] 0 1963 12926 1227 27 3 0 0 restorecond [ 1989] 0 1989 12489 153 29 3 0 -1000 sshd