lowmemorykiller: Killing 'syz-executor819' (2083) (tgid 2083), adj 1000, to free 44kB on behalf of 'syz-executor819' (2092) because cache 33876kB is below limit 65536kB for oom_score_adj 12 Free memory is -12932kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:905 in_atomic(): 0, irqs_disabled(): 0, pid: 2092, name: syz-executor819 2 locks held by syz-executor819/2092: #0: (shrinker_rwsem){++++..}, at: [<000000008ed80f47>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #1: (rcu_read_lock){......}, at: [<000000003dc755c4>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 Preemption disabled at: [<000000009454394f>] spin_lock include/linux/spinlock.h:302 [inline] [<000000009454394f>] task_lock include/linux/sched.h:3217 [inline] [<000000009454394f>] get_task_mm+0x20/0xc0 kernel/fork.c:1012 CPU: 1 PID: 2092 Comm: syz-executor819 Not tainted 4.9.189+ #21 ffff8801c4267398 ffffffff81b65c01 0000000000000000 0000000000000001 ffff8801d0fb0000 ffffffff810d1010 ffff8801d0fb0000 ffff8801c42673d0 ffffffff814018f3 ffff8801d0fb0000 ffffffff82a39fc0 0000000000000389 Call Trace: [<000000007696e091>] __dump_stack lib/dump_stack.c:15 [inline] [<000000007696e091>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000b556392c>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<000000009df21240>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<00000000f686e705>] mmput+0x28/0x370 kernel/fork.c:905 [<00000000fc9e1b89>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<00000000f2757061>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<0000000001a0959a>] do_shrink_slab mm/vmscan.c:399 [inline] [<0000000001a0959a>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000d6087cea>] shrink_slab mm/vmscan.c:466 [inline] [<00000000d6087cea>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000621e70a4>] shrink_zones mm/vmscan.c:2751 [inline] [<00000000621e70a4>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<00000000621e70a4>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<0000000052461f90>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<0000000052461f90>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<0000000052461f90>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<0000000052461f90>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<00000000fb27aaff>] __alloc_pages include/linux/gfp.h:433 [inline] [<00000000fb27aaff>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<00000000fb27aaff>] alloc_pages_node include/linux/gfp.h:460 [inline] [<00000000fb27aaff>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<00000000fb27aaff>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<0000000089c71673>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<0000000089c71673>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<0000000089c71673>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000005622226c>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<0000000044715080>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<0000000044715080>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<00000000a347b24d>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000a347b24d>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000004b1d24db>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000004b1d24db>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<0000000051ed9dc0>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000090241c73>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<000000001d4cdb02>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<000000001d4cdb02>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<00000000444794c2>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000006d197f91>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000006d197f91>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000003e419c9f>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000259c6c8f>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb ================================= [ INFO: inconsistent lock state ] 4.9.189+ #21 Tainted: G W --------------------------------- inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-R} usage. syz-executor819/2092 [HC0[0]:SC0[0]:HE1:SE1] takes: (&mm->mmap_sem){+++++?}, at: [<00000000bd9004b4>] 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: 505269 hardirqs last enabled at (505269): [<0000000020afed31>] restore_regs_and_iret+0x0/0x1d hardirqs last disabled at (505268): [<00000000a44f7067>] preempt_schedule_irq+0x6a/0xa0 kernel/sched/core.c:3705 softirqs last enabled at (504838): [<00000000160b4efc>] __do_softirq+0x474/0x964 kernel/softirq.c:314 softirqs last disabled at (504709): [<00000000bc7ef384>] invoke_softirq kernel/softirq.c:368 [inline] softirqs last disabled at (504709): [<00000000bc7ef384>] 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-executor819/2092: #0: (shrinker_rwsem){++++..}, at: [<000000008ed80f47>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #1: (rcu_read_lock){......}, at: [<000000003dc755c4>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 #2: (lmk_event_lock){+.+.-.}, at: [<000000005cfb4e10>] spin_lock include/linux/spinlock.h:302 [inline] #2: (lmk_event_lock){+.+.-.}, at: [<000000005cfb4e10>] handle_lmk_event+0xfb/0x8a0 drivers/staging/android/lowmemorykiller.c:114 stack backtrace: CPU: 1 PID: 2092 Comm: syz-executor819 Tainted: G W 4.9.189+ #21 ffff8801c42670e0 ffffffff81b65c01 00000000000000f0 ffff8801d0fb0000 ffffffff83caf950 ffff8801d0fb0948 ffffffff84250fc0 ffff8801c4267158 ffffffff81408330 0000000000000000 ffffffff00000001 0000000000000001 Call Trace: [<000000007696e091>] __dump_stack lib/dump_stack.c:15 [inline] [<000000007696e091>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000d499e3f1>] print_usage_bug kernel/locking/lockdep.c:2387 [inline] [<00000000d499e3f1>] print_usage_bug.cold+0x452/0x5a2 kernel/locking/lockdep.c:2354 [<0000000073ff7de7>] valid_state kernel/locking/lockdep.c:2400 [inline] [<0000000073ff7de7>] mark_lock_irq kernel/locking/lockdep.c:2602 [inline] [<0000000073ff7de7>] mark_lock+0x6c7/0x12e0 kernel/locking/lockdep.c:3065 [<00000000e2c2f7e6>] mark_irqflags kernel/locking/lockdep.c:2958 [inline] [<00000000e2c2f7e6>] __lock_acquire+0x5be/0x4390 kernel/locking/lockdep.c:3302 [<00000000caef5341>] lock_acquire+0x133/0x3d0 kernel/locking/lockdep.c:3756 [<000000008a75d2c2>] down_read+0x44/0xb0 kernel/locking/rwsem.c:22 [<00000000bd9004b4>] get_cmdline+0xa3/0x2d0 mm/util.c:641 [<00000000b76df86b>] handle_lmk_event+0x13c/0x8a0 drivers/staging/android/lowmemorykiller.c:128 [<00000000f2757061>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<0000000001a0959a>] do_shrink_slab mm/vmscan.c:399 [inline] [<0000000001a0959a>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000d6087cea>] shrink_slab mm/vmscan.c:466 [inline] [<00000000d6087cea>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000621e70a4>] shrink_zones mm/vmscan.c:2751 [inline] [<00000000621e70a4>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<00000000621e70a4>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<0000000052461f90>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<0000000052461f90>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<0000000052461f90>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<0000000052461f90>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<00000000fb27aaff>] __alloc_pages include/linux/gfp.h:433 [inline] [<00000000fb27aaff>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<00000000fb27aaff>] alloc_pages_node include/linux/gfp.h:460 [inline] [<00000000fb27aaff>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<00000000fb27aaff>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<0000000089c71673>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<0000000089c71673>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<0000000089c71673>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000005622226c>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<0000000044715080>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<0000000044715080>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<00000000a347b24d>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000a347b24d>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000004b1d24db>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000004b1d24db>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<0000000051ed9dc0>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000090241c73>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<000000001d4cdb02>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<000000001d4cdb02>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<00000000444794c2>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000006d197f91>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000006d197f91>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000003e419c9f>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000259c6c8f>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb oom_reaper: reaped process 2083 (syz-executor819), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor819 invoked oom-killer: gfp_mask=0x24002c2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_NOWARN), nodemask=0, order=0, oom_score_adj=1000 CPU: 0 PID: 2090 Comm: syz-executor819 Tainted: G W 4.9.189+ #21 ffff8801ce07f6c0 ffffffff81b65c01 ffff8801ce07fa18 ffffffff833f14b0 00000000000003e8 ffff8801ce07fa30 0000000000000000 ffff8801ce07f740 ffffffff81506abb 0000000000000000 00000000000003e8 ffffffff828284d5 Call Trace: [<000000007696e091>] __dump_stack lib/dump_stack.c:15 [inline] [<000000007696e091>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<0000000085d1302b>] dump_header.isra.0+0x142/0x74c mm/oom_kill.c:417 [<0000000095018045>] oom_kill_process.cold+0xd/0xa74 mm/oom_kill.c:852 [<0000000081bb147f>] out_of_memory mm/oom_kill.c:1069 [inline] [<0000000081bb147f>] out_of_memory+0x29b/0xea0 mm/oom_kill.c:1009 [<0000000091217eef>] __alloc_pages_may_oom mm/page_alloc.c:3136 [inline] [<0000000091217eef>] __alloc_pages_slowpath mm/page_alloc.c:3750 [inline] [<0000000091217eef>] __alloc_pages_nodemask+0x1730/0x1a80 mm/page_alloc.c:3861 [<00000000fb27aaff>] __alloc_pages include/linux/gfp.h:433 [inline] [<00000000fb27aaff>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<00000000fb27aaff>] alloc_pages_node include/linux/gfp.h:460 [inline] [<00000000fb27aaff>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<00000000fb27aaff>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<0000000089c71673>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<0000000089c71673>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<0000000089c71673>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000005622226c>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<0000000044715080>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<0000000044715080>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<00000000a347b24d>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000a347b24d>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000004b1d24db>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000004b1d24db>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<0000000051ed9dc0>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000090241c73>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<000000001d4cdb02>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<000000001d4cdb02>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<00000000444794c2>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000006d197f91>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000006d197f91>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000003e419c9f>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000259c6c8f>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3259 inactive_anon:40 isolated_anon:0 active_file:20 inactive_file:22 isolated_file:0 unevictable:0 dirty:9 writeback:0 unstable:0 slab_reclaimable:4260 slab_unreclaimable:56785 mapped:34 shmem:48 pagetables:357 bounce:0 free:6056 free_pcp:0 free_cma:0 Node 0 active_anon:13036kB inactive_anon:160kB active_file:80kB inactive_file:88kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:136kB dirty:36kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:18716kB 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:5508kB min:5580kB low:9168kB high:12756kB active_anon:13036kB inactive_anon:160kB active_file:80kB inactive_file:88kB unevictable:0kB writepending:36kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17040kB slab_unreclaimable:227140kB kernel_stack:3488kB pagetables:1428kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB DMA32: 3*4kB (UM) 5*8kB (UM) 3*16kB (UM) 3*32kB (UM) 2*64kB (UM) 4*128kB (UM) 4*256kB (UM) 1*512kB (M) 2*1024kB (M) 1*2048kB (M) 3*4096kB (M) = 18756kB 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 5413 187 16 3 0 -1000 udevd [ 636] 0 636 5412 187 15 3 0 -1000 udevd [ 637] 0 637 5412 193 15 3 0 -1000 udevd [ 1789] 0 1789 2492 573 10 3 0 0 dhclient [ 1928] 0 1928 14264 109 24 3 0 0 rsyslogd [ 1983] 0 1983 4724 52 14 3 0 0 cron [ 1985] 0 1985 3735 45 11 3 0 0 mcstransd [ 2011] 0 2011 12489 153 27 3 0 -1000 sshd [ 2019] 0 2019 12926 1228 27 3 0 0 restorecond [ 2059] 0 2059 3648 38 13 3 0 0 getty [ 2062] 0 2062 3648 43 12 3 0 0 getty [ 2063] 0 2063 3648 42 13 3 0 0 getty [ 2064] 0 2064 3648 41 12 3 0 0 getty [ 2065] 0 2065 3648 42 13 3 0 0 getty [ 2066] 0 2066 3648 44 13 3 0 0 getty [ 2067] 0 2067 3648 43 13 3 0 0 getty [ 2078] 0 2078 17820 197 39 3 0 0 sshd [ 2080] 0 2080 4380 1 4 2 0 0 syz-executor819 [ 2081] 0 2081 4380 11 4 2 0 0 syz-executor819 [ 2082] 0 2082 4380 11 4 2 0 0 syz-executor819 [ 2083] 0 2083 4380 0 5 2 0 1000 syz-executor819 [ 2084] 0 2084 4380 11 4 2 0 0 syz-executor819 [ 2085] 0 2085 4380 11 4 2 0 0 syz-executor819 [ 2086] 0 2086 4380 11 4 2 0 0 syz-executor819 [ 2087] 0 2087 4380 11 4 2 0 0 syz-executor819 [ 2088] 0 2088 4380 11 5 2 0 1000 syz-executor819 [ 2089] 0 2089 4380 11 5 2 0 1000 syz-executor819 [ 2090] 0 2090 4380 11 5 2 0 1000 syz-executor819 [ 2091] 0 2091 4380 11 5 2 0 1000 syz-executor819 [ 2092] 0 2092 4380 11 5 2 0 1000 syz-executor819 Out of memory: Kill process 2088 (syz-executor819) score 999 or sacrifice child Killed process 2088 (syz-executor819) total-vm:17520kB, anon-rss:44kB, file-rss:0kB, shmem-rss:0kB syz-executor819: vmalloc: allocation failure, allocated 1202962432 of 3530403840 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 0 PID: 2088 Comm: syz-executor819 Tainted: G W 4.9.189+ #21 ffff8801ce0ff998 ffffffff81b65c01 1ffff10039c1ff35 dffffc0000000000 ffffffff82aab240 0000000000000000 0000000000400000 ffff8801ce0ffac0 ffffffff81507d73 0000000041b58ab3 ffffffff82e3b1e8 ffffffff81431920 Call Trace: [<000000007696e091>] __dump_stack lib/dump_stack.c:15 [inline] [<000000007696e091>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000e442e6b6>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000008f44f919>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000008f44f919>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<0000000089c71673>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<0000000089c71673>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<0000000089c71673>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000005622226c>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<0000000044715080>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<0000000044715080>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<00000000a347b24d>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000a347b24d>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000004b1d24db>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000004b1d24db>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<0000000051ed9dc0>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000090241c73>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<000000001d4cdb02>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<000000001d4cdb02>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<00000000444794c2>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000006d197f91>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000006d197f91>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000003e419c9f>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000259c6c8f>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3259 inactive_anon:40 isolated_anon:0 active_file:20 inactive_file:22 isolated_file:0 unevictable:0 dirty:9 writeback:0 unstable:0 slab_reclaimable:4260 slab_unreclaimable:56785 mapped:34 shmem:48 pagetables:357 bounce:0 free:21 free_pcp:0 free_cma:0 Node 0 active_anon:13036kB inactive_anon:160kB active_file:80kB inactive_file:88kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:136kB dirty:36kB 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:72kB min:5580kB low:9168kB high:12756kB active_anon:13036kB inactive_anon:160kB active_file:80kB inactive_file:88kB unevictable:0kB writepending:36kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17040kB slab_unreclaimable:227140kB kernel_stack:3488kB pagetables:1428kB 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 2088 (syz-executor819), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor819 invoked oom-killer: gfp_mask=0x24002c2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_NOWARN), nodemask=0, order=0, oom_score_adj=1000 CPU: 1 PID: 2083 Comm: syz-executor819 Tainted: G W 4.9.189+ #21 ffff8801ce8b76c0 ffffffff81b65c01 ffff8801ce8b7a18 ffffffff833f14b0 00000000000003e8 ffff8801ce8b7a30 0000000000000000 ffff8801ce8b7740 ffffffff81506abb 0000000000000000 00000000000003e8 ffffffff828284d5 Call Trace: [<000000007696e091>] __dump_stack lib/dump_stack.c:15 [inline] [<000000007696e091>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<0000000085d1302b>] dump_header.isra.0+0x142/0x74c mm/oom_kill.c:417 [<0000000095018045>] oom_kill_process.cold+0xd/0xa74 mm/oom_kill.c:852 [<0000000081bb147f>] out_of_memory mm/oom_kill.c:1069 [inline] [<0000000081bb147f>] out_of_memory+0x29b/0xea0 mm/oom_kill.c:1009 [<0000000091217eef>] __alloc_pages_may_oom mm/page_alloc.c:3136 [inline] [<0000000091217eef>] __alloc_pages_slowpath mm/page_alloc.c:3750 [inline] [<0000000091217eef>] __alloc_pages_nodemask+0x1730/0x1a80 mm/page_alloc.c:3861 [<00000000fb27aaff>] __alloc_pages include/linux/gfp.h:433 [inline] [<00000000fb27aaff>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<00000000fb27aaff>] alloc_pages_node include/linux/gfp.h:460 [inline] [<00000000fb27aaff>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<00000000fb27aaff>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<0000000089c71673>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<0000000089c71673>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<0000000089c71673>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000005622226c>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<0000000044715080>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<0000000044715080>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<00000000a347b24d>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000a347b24d>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000004b1d24db>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000004b1d24db>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<0000000051ed9dc0>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000090241c73>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<000000001d4cdb02>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<000000001d4cdb02>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<00000000444794c2>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000006d197f91>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000006d197f91>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000003e419c9f>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000259c6c8f>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3259 inactive_anon:40 isolated_anon:0 active_file:20 inactive_file:22 isolated_file:0 unevictable:0 dirty:9 writeback:0 unstable:0 slab_reclaimable:4260 slab_unreclaimable:56785 mapped:34 shmem:48 pagetables:357 bounce:0 free:21 free_pcp:0 free_cma:0 Node 0 active_anon:13036kB inactive_anon:160kB active_file:80kB inactive_file:88kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:136kB dirty:36kB 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:72kB min:5580kB low:9168kB high:12756kB active_anon:13036kB inactive_anon:160kB active_file:80kB inactive_file:88kB unevictable:0kB writepending:36kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17040kB slab_unreclaimable:227140kB kernel_stack:3488kB pagetables:1428kB 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 5413 187 16 3 0 -1000 udevd [ 636] 0 636 5412 187 15 3 0 -1000 udevd [ 637] 0 637 5412 193 15 3 0 -1000 udevd [ 1789] 0 1789 2492 573 10 3 0 0 dhclient [ 1928] 0 1928 14264 109 24 3 0 0 rsyslogd [ 1983] 0 1983 4724 52 14 3 0 0 cron [ 1985] 0 1985 3735 45 11 3 0 0 mcstransd [ 2011] 0 2011 12489 153 27 3 0 -1000 sshd [ 2019] 0 2019 12926 1228 27 3 0 0 restorecond [ 2059] 0 2059 3648 38 13 3 0 0 getty [ 2062] 0 2062 3648 43 12 3 0 0 getty [ 2063] 0 2063 3648 42 13 3 0 0 getty [ 2064] 0 2064 3648 41 12 3 0 0 getty [ 2065] 0 2065 3648 42 13 3 0 0 getty [ 2066] 0 2066 3648 44 13 3 0 0 getty [ 2067] 0 2067 3648 43 13 3 0 0 getty [ 2078] 0 2078 17820 197 39 3 0 0 sshd [ 2080] 0 2080 4380 1 4 2 0 0 syz-executor819 [ 2081] 0 2081 4380 11 4 2 0 0 syz-executor819 [ 2082] 0 2082 4380 11 4 2 0 0 syz-executor819 [ 2083] 0 2083 4380 0 5 2 0 1000 syz-executor819 [ 2084] 0 2084 4380 11 4 2 0 0 syz-executor819 [ 2085] 0 2085 4380 11 4 2 0 0 syz-executor819 [ 2086] 0 2086 4380 11 4 2 0 0 syz-executor819 [ 2087] 0 2087 4380 11 4 2 0 0 syz-executor819 [ 2088] 0 2088 4380 0 5 2 0 1000 syz-executor819 [ 2089] 0 2089 4380 11 5 2 0 1000 syz-executor819 [ 2090] 0 2090 4380 11 5 2 0 1000 syz-executor819 [ 2091] 0 2091 4380 11 5 2 0 1000 syz-executor819 [ 2092] 0 2092 4380 11 5 2 0 1000 syz-executor819 Out of memory: Kill process 2089 (syz-executor819) score 999 or sacrifice child Killed process 2089 (syz-executor819) total-vm:17520kB, anon-rss:44kB, file-rss:0kB, shmem-rss:0kB oom_reaper: reaped process 2089 (syz-executor819), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor819: vmalloc: allocation failure, allocated 1200578560 of 3530403840 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 1 PID: 2083 Comm: syz-executor819 Tainted: G W 4.9.189+ #21 ffff8801ce8b7998 ffffffff81b65c01 1ffff10039d16f35 dffffc0000000000 ffffffff82aab240 0000000000000000 0000000000400000 ffff8801ce8b7ac0 ffffffff81507d73 0000000041b58ab3 ffffffff82e3b1e8 ffffffff81431920 Call Trace: [<000000007696e091>] __dump_stack lib/dump_stack.c:15 [inline] [<000000007696e091>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000e442e6b6>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000008f44f919>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000008f44f919>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<0000000089c71673>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<0000000089c71673>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<0000000089c71673>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000005622226c>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<0000000044715080>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<0000000044715080>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<00000000a347b24d>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000a347b24d>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000004b1d24db>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000004b1d24db>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<0000000051ed9dc0>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000090241c73>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<000000001d4cdb02>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<000000001d4cdb02>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<00000000444794c2>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000006d197f91>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000006d197f91>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000003e419c9f>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000259c6c8f>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3259 inactive_anon:40 isolated_anon:0 active_file:20 inactive_file:22 isolated_file:0 unevictable:0 dirty:9 writeback:0 unstable:0 slab_reclaimable:4260 slab_unreclaimable:56785 mapped:34 shmem:48 pagetables:357 bounce:0 free:21 free_pcp:7 free_cma:0 Node 0 active_anon:13036kB inactive_anon:160kB active_file:80kB inactive_file:88kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:136kB dirty:36kB 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:72kB min:5580kB low:9168kB high:12756kB active_anon:13036kB inactive_anon:160kB active_file:80kB inactive_file:88kB unevictable:0kB writepending:36kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17040kB slab_unreclaimable:227140kB kernel_stack:3488kB pagetables:1428kB bounce:0kB free_pcp:28kB 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-executor819: vmalloc: allocation failure, allocated 1033555968 of 3530403840 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 1 PID: 2089 Comm: syz-executor819 Tainted: G W 4.9.189+ #21 ffff8801ce077998 ffffffff81b65c01 1ffff10039c0ef35 dffffc0000000000 ffffffff82aab240 0000000000000000 0000000000400000 ffff8801ce077ac0 ffffffff81507d73 0000000041b58ab3 ffffffff82e3b1e8 ffffffff81431920 Call Trace: [<000000007696e091>] __dump_stack lib/dump_stack.c:15 [inline] [<000000007696e091>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000e442e6b6>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000008f44f919>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000008f44f919>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<0000000089c71673>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<0000000089c71673>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<0000000089c71673>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 Swap cache stats: add 0, delete 0, find 0/0 syz-executor819: vmalloc: allocation failure, allocated 1115742208 of 3530403840 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 0 PID: 2090 Comm: syz-executor819 Tainted: G W 4.9.189+ #21 [ 2096] 0 2096 4380 11 5 2 0 1000 syz-executor819 Out of memory: Kill process 2092 (syz-executor819) score 999 or sacrifice child Killed process 2092 (syz-executor819) total-vm:17520kB, anon-rss:44kB, file-rss:0kB, shmem-rss:0kB syz-executor819: vmalloc: allocation failure, allocated 894074880 of 3530403840 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 0 PID: 2091 Comm: syz-executor819 Tainted: G W 4.9.189+ #21 ffff8801c4047998 ffffffff81b65c01 1ffff10038808f35 dffffc0000000000 ffffffff82aab240 0000000000000000 0000000000400000 ffff8801c4047ac0 ffffffff81507d73 0000000041b58ab3 ffffffff82e3b1e8 ffffffff81431920 Call Trace: [<000000007696e091>] __dump_stack lib/dump_stack.c:15 [inline] [<000000007696e091>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000e442e6b6>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000008f44f919>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000008f44f919>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<0000000089c71673>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<0000000089c71673>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<0000000089c71673>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000005622226c>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<0000000044715080>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<0000000044715080>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<00000000a347b24d>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000a347b24d>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000004b1d24db>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000004b1d24db>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<0000000051ed9dc0>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000090241c73>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<000000001d4cdb02>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<000000001d4cdb02>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<00000000444794c2>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000006d197f91>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000006d197f91>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000003e419c9f>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000259c6c8f>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3254 inactive_anon:40 isolated_anon:0 active_file:14 inactive_file:17 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4261 slab_unreclaimable:56461 mapped:47 shmem:48 pagetables:357 bounce:0 free:15 free_pcp:0 free_cma:0 92 total pagecache pages 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 5413 187 16 3 0 -1000 udevd [ 636] 0 636 5412 187 15 3 0 -1000 udevd [ 637] 0 637 5412 193 15 3 0 -1000 udevd [ 1789] 0 1789 2492 573 10 3 0 0 dhclient [ 1928] 0 1928 14264 109 24 3 0 0 rsyslogd [ 1983] 0 1983 4724 52 14 3 0 0 cron [ 1985] 0 1985 3735 45 11 3 0 0 mcstransd [ 2011] 0 2011 12489 153 27 3 0 -1000 sshd [ 2019] 0 2019 12926 1228 27 3 0 0 restorecond [ 2059] 0 2059 3648 38 13 3 0 0 getty [ 2062] 0 2062 3648 42 12 3 0 0 getty [ 2064] 0 2064 3648 40 12 3 0 0 getty [ 2065] 0 2065 3648 41 13 3 0 0 getty [ 2066] 0 2066 3648 43 13 3 0 0 getty [ 2067] 0 2067 3648 42 13 3 0 0 getty [ 2078] 0 2078 17820 198 39 3 0 0 sshd [ 2080] 0 2080 4380 1 4 2 0 0 syz-executor819 [ 2081] 0 2081 4380 11 4 2 0 0 syz-executor819 [ 2082] 0 2082 4380 11 4 2 0 0 syz-executor819 [ 2084] 0 2084 4380 11 4 2 0 0 syz-executor819 [ 2085] 0 2085 4380 11 4 2 0 0 syz-executor819 [ 2086] 0 2086 4380 11 4 2 0 0 syz-executor819 [ 2087] 0 2087 4380 11 4 2 0 0 syz-executor819 [ 2094] 0 2094 4380 0 5 2 0 1000 syz-executor819 [ 2095] 0 2095 4380 11 5 2 0 1000 syz-executor819 [ 2096] 0 2096 4380 11 5 2 0 1000 syz-executor819 [ 2097] 0 2097 4380 11 5 2 0 1000 syz-executor819 [ 2098] 0 2098 4380 11 5 2 0 1000 syz-executor819 Out of memory: Kill process 2095 (syz-executor819) score 999 or sacrifice child Killed process 2095 (syz-executor819) total-vm:17520kB, anon-rss:44kB, file-rss:0kB, shmem-rss:0kB oom_reaper: reaped process 2095 (syz-executor819), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor819: vmalloc: allocation failure, allocated 3221815296 of 3530403840 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 1 PID: 2095 Comm: syz-executor819 Tainted: G W 4.9.189+ #21 ffff8801ce077998 ffffffff81b65c01 1ffff10039c0ef35 dffffc0000000000 ffffffff82aab240 0000000000000000 0000000000400000 ffff8801ce077ac0 ffffffff81507d73 0000000041b58ab3 ffffffff82e3b1e8 ffffffff81431920 Call Trace: [<000000007696e091>] __dump_stack lib/dump_stack.c:15 [inline] [<000000007696e091>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000e442e6b6>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000008f44f919>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000008f44f919>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<0000000089c71673>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<0000000089c71673>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<0000000089c71673>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000005622226c>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<0000000044715080>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<0000000044715080>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<00000000a347b24d>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000a347b24d>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 oom_reaper: reaped process 2096 (syz-executor819), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB lowmemorykiller: Killing 'syz-executor819' (2098) (tgid 2098), adj 1000, to free 44kB on behalf of 'syz-executor819' (2087) because cache 176kB is below limit 6144kB for oom_score_adj 0 Free memory is -13688kB above reserved [<000000007696e091>] __dump_stack lib/dump_stack.c:15 [inline] [<000000007696e091>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000e442e6b6>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000008f44f919>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000008f44f919>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<0000000089c71673>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<0000000089c71673>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<0000000089c71673>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000005622226c>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<0000000044715080>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<0000000044715080>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<00000000a347b24d>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000a347b24d>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<000000004b1d24db>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<000000004b1d24db>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<0000000051ed9dc0>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000090241c73>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<000000001d4cdb02>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<000000001d4cdb02>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<00000000444794c2>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000006d197f91>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000006d197f91>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<000000003e419c9f>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000259c6c8f>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: CPU: 0 PID: 2096 Comm: syz-executor819 Tainted: G W 4.9.189+ #21 active_anon:3206 inactive_anon:40 isolated_anon:0 active_file:0 inactive_file:44 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4266 slab_unreclaimable:56480 mapped:13 shmem:48 pagetables:339 bounce:0 free:2 free_pcp:0 free_cma:0 ffff8801ce8b7998 Node 0 active_anon:12824kB inactive_anon:160kB active_file:0kB inactive_file:176kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:52kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no ffffffff81b65c01DMA32 free:8kB min:4696kB low:7712kB high:10728kB active_anon:28kB inactive_anon:0kB active_file:0kB inactive_file:84kB unevictable:0kB writepending:0kB present:3145324kB managed:3020100kB mlocked:0kB slab_reclaimable:20kB slab_unreclaimable:52kB kernel_stack:32kB pagetables:20kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB dffffc0000000000 0 3505 3505 ffffffff82aab240 0000000000000000Normal free:0kB min:5580kB low:9168kB high:12756kB active_anon:12796kB inactive_anon:160kB active_file:0kB inactive_file:92kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17044kB slab_unreclaimable:225868kB kernel_stack:3360kB pagetables:1336kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB ffff8801ce8b7ac0 0 0 ffffffff81507d73 0 0000000041b58ab3 ffffffff82e3b1e8DMA32: ffffffff814319200*4kB 0*8kB Call Trace: 0*16kB [<000000007696e091>] __dump_stack lib/dump_stack.c:15 [inline] 0*16kB [<000000007696e091>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 0*32kB [<00000000e442e6b6>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000008f44f919>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000008f44f919>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<0000000089c71673>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<0000000089c71673>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<0000000089c71673>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000005622226c>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<0000000044715080>] do_replace net/ipv4/netfilter/ip_tables.c:1146 [inline] [<0000000044715080>] do_ipt_set_ctl+0x231/0x470 net/ipv4/netfilter/ip_tables.c:1693