random: crng init done lowmemorykiller: Killing 'syz-executor025' (2066) (tgid 2066), adj 1000, to free 44kB on behalf of 'kswapd0' (33) because cache 36336kB is below limit 65536kB for oom_score_adj 12 Free memory is -13228kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 33, name: kswapd0 2 locks held by kswapd0/33: #0: (shrinker_rwsem){++++..}, at: [<000000000066e3bc>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #1: (rcu_read_lock){......}, at: [<0000000083640b1c>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 Preemption disabled at:[ 42.926808] [<0000000042cc5f9a>] spin_lock include/linux/spinlock.h:302 [inline] Preemption disabled at:[ 42.926808] [<0000000042cc5f9a>] task_lock include/linux/sched.h:3217 [inline] Preemption disabled at:[ 42.926808] [<0000000042cc5f9a>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 CPU: 1 PID: 33 Comm: kswapd0 Not tainted 4.9.185+ #8 ffff8801d84177c0 ffffffff81b5a081 0000000000000000 0000000000000001 ffff8801d8408000 ffffffff810d0ca0 ffff8801d8408000 ffff8801d84177f8 ffffffff814002fc ffff8801d8408000 ffffffff82a39940 0000000000000387 Call Trace: [<00000000aa241538>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000aa241538>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000004f5eb4de>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<00000000272eb92c>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<000000002b89f181>] mmput+0x28/0x370 kernel/fork.c:903 [<0000000047b020ab>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<000000001b4e7464>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<000000000f6041bc>] do_shrink_slab mm/vmscan.c:399 [inline] [<000000000f6041bc>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000b52493c9>] shrink_slab mm/vmscan.c:466 [inline] [<00000000b52493c9>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<0000000085be5448>] kswapd_shrink_node mm/vmscan.c:3209 [inline] [<0000000085be5448>] balance_pgdat mm/vmscan.c:3329 [inline] [<0000000085be5448>] kswapd+0x7f8/0x13b0 mm/vmscan.c:3523 [<0000000094f1ae74>] kthread+0x278/0x310 kernel/kthread.c:211 [<00000000a0af0efb>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:375 ================================= [ INFO: inconsistent lock state ] 4.9.185+ #8 Tainted: G W --------------------------------- inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-R} usage. kswapd0/33 [HC0[0]:SC0[0]:HE1:SE1] takes: (&mm->mmap_sem){+++++?}, at: [<00000000299b147a>] 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: 4399 hardirqs last enabled at (4399): [<00000000768a64d3>] restore_regs_and_iret+0x0/0x1d hardirqs last disabled at (4398): [<00000000814b9a7c>] preempt_schedule_irq+0x6a/0xa0 kernel/sched/core.c:3705 softirqs last enabled at (4394): [<00000000a1783d2c>] __do_softirq+0x474/0x964 kernel/softirq.c:314 softirqs last disabled at (4369): [<00000000ddbc0ba8>] invoke_softirq kernel/softirq.c:368 [inline] softirqs last disabled at (4369): [<00000000ddbc0ba8>] 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 kswapd0/33: #0: (shrinker_rwsem){++++..}, at: [<000000000066e3bc>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #1: (rcu_read_lock){......}, at: [<0000000083640b1c>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 #2: (lmk_event_lock){+.+.-.}, at: [<00000000aaad9163>] spin_lock include/linux/spinlock.h:302 [inline] #2: (lmk_event_lock){+.+.-.}, at: [<00000000aaad9163>] handle_lmk_event+0xfb/0x8a0 drivers/staging/android/lowmemorykiller.c:114 stack backtrace: CPU: 0 PID: 33 Comm: kswapd0 Tainted: G W 4.9.185+ #8 ffff8801d8417500 ffffffff81b5a081 00000000000000f0 ffff8801d8408000 ffffffff83caf5b0 ffff8801d8408948 ffffffff84250ec0 ffff8801d8417578 ffffffff81406d39 0000000000000000 ffffffff00000001 0000000000000001 Call Trace: [<00000000aa241538>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000aa241538>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000213d363f>] print_usage_bug kernel/locking/lockdep.c:2387 [inline] [<00000000213d363f>] print_usage_bug.cold+0x452/0x5a2 kernel/locking/lockdep.c:2354 [<0000000065bd3c1e>] valid_state kernel/locking/lockdep.c:2400 [inline] [<0000000065bd3c1e>] mark_lock_irq kernel/locking/lockdep.c:2602 [inline] [<0000000065bd3c1e>] mark_lock+0x6c7/0x12e0 kernel/locking/lockdep.c:3065 [<00000000b807d1bf>] mark_irqflags kernel/locking/lockdep.c:2958 [inline] [<00000000b807d1bf>] __lock_acquire+0x5c3/0x4350 kernel/locking/lockdep.c:3302 [<00000000ca3be643>] lock_acquire+0x133/0x3d0 kernel/locking/lockdep.c:3756 [<00000000c01333e4>] down_read+0x44/0xb0 kernel/locking/rwsem.c:22 [<00000000299b147a>] get_cmdline+0xa3/0x2d0 mm/util.c:641 [<000000001ce003d8>] handle_lmk_event+0x13c/0x8a0 drivers/staging/android/lowmemorykiller.c:128 [<000000001b4e7464>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<000000000f6041bc>] do_shrink_slab mm/vmscan.c:399 [inline] [<000000000f6041bc>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000b52493c9>] shrink_slab mm/vmscan.c:466 [inline] [<00000000b52493c9>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<0000000085be5448>] kswapd_shrink_node mm/vmscan.c:3209 [inline] [<0000000085be5448>] balance_pgdat mm/vmscan.c:3329 [inline] [<0000000085be5448>] kswapd+0x7f8/0x13b0 mm/vmscan.c:3523 [<0000000094f1ae74>] kthread+0x278/0x310 kernel/kthread.c:211 [<00000000a0af0efb>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:375 syz-executor025: vmalloc: allocation failure, allocated 1189216256 of 3747430400 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 1 PID: 2066 Comm: syz-executor025 Tainted: G W 4.9.185+ #8 lowmemorykiller: Killing 'syz-executor025' (2066) (tgid 2066), adj 1000, to free 44kB on behalf of 'rs:main Q:Reg' (1900) because cache 144kB is below limit 6144kB for oom_score_adj 0 Free memory is -37504kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 1900, name: rs:main Q:Reg INFO: lockdep is turned off. Preemption disabled at: [<0000000042cc5f9a>] spin_lock include/linux/spinlock.h:302 [inline] [<0000000042cc5f9a>] task_lock include/linux/sched.h:3217 [inline] [<0000000042cc5f9a>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 ffff8801ce52f988 ffffffff81b5a081 1ffff10039ca5f33 dffffc0000000000 ffffffff82aaa9c0 0000000000000000 0000000000400000 ffff8801ce52fab0 ffffffff81506743 0000000041b58ab3 ffffffff82e3a470 ffffffff81430320 Call Trace: [<00000000aa241538>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000aa241538>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000009e567279>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000003e6caf77>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000003e6caf77>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000f62b950c>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f62b950c>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f62b950c>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000262de840>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000fa9d61cc>] do_replace.isra.0+0x111/0x480 net/ipv4/netfilter/arp_tables.c:979 [<0000000097e5bfc3>] do_arpt_set_ctl+0x108/0x150 net/ipv4/netfilter/arp_tables.c:1469 [<000000003d151a31>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000003d151a31>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000026f85153>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000026f85153>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000f21ef252>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000074844752>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000008f84c47a>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000008f84c47a>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000085e5590>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000000beed5a2>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb CPU: 0 PID: 1900 Comm: rs:main Q:Reg Tainted: G W 4.9.185+ #8 ffff8801d3f772d0 ffffffff81b5a081 0000000000000000 0000000000000001 ffff8801d3a217c0 ffffffff810d0ca0 ffff8801d3a217c0 ffff8801d3f77308 ffffffff814002fc ffff8801d3a217c0 ffffffff82a39940 0000000000000387 Call Trace: [<00000000aa241538>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000aa241538>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000004f5eb4de>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<00000000272eb92c>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<000000002b89f181>] mmput+0x28/0x370 kernel/fork.c:903 [<0000000047b020ab>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<000000001b4e7464>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<000000000f6041bc>] do_shrink_slab mm/vmscan.c:399 [inline] [<000000000f6041bc>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000b52493c9>] shrink_slab mm/vmscan.c:466 [inline] [<00000000b52493c9>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<0000000017e7e593>] shrink_zones mm/vmscan.c:2751 [inline] [<0000000017e7e593>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<0000000017e7e593>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<00000000c7f96643>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<00000000c7f96643>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<00000000c7f96643>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<00000000c7f96643>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<00000000072c72d7>] __alloc_pages include/linux/gfp.h:433 [inline] [<00000000072c72d7>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<00000000072c72d7>] alloc_pages_node include/linux/gfp.h:460 [inline] [<00000000072c72d7>] __page_cache_alloc include/linux/pagemap.h:208 [inline] [<00000000072c72d7>] __do_page_cache_readahead+0x21d/0x880 mm/readahead.c:183 [<0000000079234e33>] ra_submit mm/internal.h:61 [inline] [<0000000079234e33>] do_sync_mmap_readahead mm/filemap.c:2239 [inline] [<0000000079234e33>] filemap_fault+0xd7f/0x1360 mm/filemap.c:2328 [<00000000723b5100>] ext4_filemap_fault+0x72/0xa0 fs/ext4/inode.c:5854 [<000000001428f658>] __do_fault+0x2a8/0x6c0 mm/memory.c:2855 [<00000000ce84604a>] do_read_fault mm/memory.c:3202 [inline] [<00000000ce84604a>] do_fault mm/memory.c:3338 [inline] [<00000000ce84604a>] handle_pte_fault mm/memory.c:3547 [inline] [<00000000ce84604a>] __handle_mm_fault mm/memory.c:3634 [inline] [<00000000ce84604a>] handle_mm_fault+0x11bc/0x2420 mm/memory.c:3671 [<00000000603aa2d6>] __do_page_fault+0x3f0/0xa60 arch/x86/mm/fault.c:1404 [<000000004d22c84d>] do_page_fault+0x28/0x30 arch/x86/mm/fault.c:1467 [<000000001028262c>] page_fault+0x25/0x30 arch/x86/entry/entry_64.S:953 oom_reaper: reaped process 2066 (syz-executor025), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB Mem-Info: active_anon:3212 inactive_anon:40 isolated_anon:0 active_file:10 inactive_file:25 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4256 slab_unreclaimable:56352 mapped:7 shmem:48 pagetables:351 bounce:0 free:394 free_pcp:53 free_cma:0 Node 0 active_anon:12848kB inactive_anon:160kB active_file:40kB inactive_file:100kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:28kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? yes 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:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:1576kB min:5580kB low:9168kB high:12756kB active_anon:12848kB inactive_anon:160kB active_file:40kB inactive_file:100kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17024kB slab_unreclaimable:225408kB kernel_stack:3456kB pagetables:1404kB bounce:0kB free_pcp:212kB local_pcp:184kB 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-executor025 invoked oom-killer: gfp_mask=0x24002c2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_NOWARN), nodemask=0, order=0, oom_score_adj=1000 CPU: 1 PID: 2073 Comm: syz-executor025 Tainted: G W 4.9.185+ #8 ffff8801cf0676b0 ffffffff81b5a081 ffff8801cf067a08 ffffffff833f11b0 00000000000003e8 ffff8801cf067a20 0000000000000000 ffff8801cf067730 ffffffff8150548b 0000000000000000 00000000000003e8 ffffffff8281c265 Call Trace: [<00000000aa241538>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000aa241538>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000e6054690>] dump_header.isra.0+0x142/0x74c mm/oom_kill.c:417 [<00000000143496c4>] oom_kill_process.cold+0xd/0xa74 mm/oom_kill.c:852 [<00000000300712de>] out_of_memory mm/oom_kill.c:1069 [inline] [<00000000300712de>] out_of_memory+0x29b/0xea0 mm/oom_kill.c:1009 [<00000000f6dd238b>] __alloc_pages_may_oom mm/page_alloc.c:3136 [inline] [<00000000f6dd238b>] __alloc_pages_slowpath mm/page_alloc.c:3750 [inline] [<00000000f6dd238b>] __alloc_pages_nodemask+0x1730/0x1a80 mm/page_alloc.c:3861 [<000000000a9a71f4>] __alloc_pages include/linux/gfp.h:433 [inline] [<000000000a9a71f4>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<000000000a9a71f4>] alloc_pages_node include/linux/gfp.h:460 [inline] [<000000000a9a71f4>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<000000000a9a71f4>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000f62b950c>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f62b950c>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f62b950c>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000262de840>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000fa9d61cc>] do_replace.isra.0+0x111/0x480 net/ipv4/netfilter/arp_tables.c:979 [<0000000097e5bfc3>] do_arpt_set_ctl+0x108/0x150 net/ipv4/netfilter/arp_tables.c:1469 [<000000003d151a31>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000003d151a31>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000026f85153>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000026f85153>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000f21ef252>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000074844752>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000008f84c47a>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000008f84c47a>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000085e5590>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000000beed5a2>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb lowmemorykiller: Killing 'syz-executor025' (2071) (tgid 2071), adj 1000, to free 44kB on behalf of 'syz-executor025' (2074) because cache 144kB is below limit 6144kB for oom_score_adj 0 Free memory is -35928kB above reserved Mem-Info: active_anon:3212 inactive_anon:40 isolated_anon:0 active_file:10 inactive_file:25 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4256 slab_unreclaimable:56352 mapped:7 shmem:48 pagetables:351 bounce:0 free:8608 free_pcp:236 free_cma:0 Node 0 active_anon:12848kB inactive_anon:160kB active_file:40kB inactive_file:100kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:28kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? yes 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:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:34732kB min:5580kB low:9168kB high:12756kB active_anon:12848kB inactive_anon:160kB active_file:40kB inactive_file:100kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17024kB slab_unreclaimable:225408kB kernel_stack:3456kB pagetables:1404kB bounce:0kB free_pcp:984kB local_pcp:240kB 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 176 15 3 0 -1000 udevd [ 563] 0 563 5364 167 14 3 0 -1000 udevd [ 564] 0 564 5364 168 14 3 0 -1000 udevd [ 1760] 0 1760 2492 574 7 3 0 0 dhclient [ 1899] 0 1899 14231 109 23 3 0 0 rsyslogd [ 1954] 0 1954 4724 50 14 3 0 0 cron [ 1972] 0 1972 3735 45 11 3 0 0 mcstransd [ 1974] 0 1974 12926 1228 26 3 0 0 restorecond [ 2000] 0 2000 12489 152 28 3 0 -1000 sshd [ 2030] 0 2030 3648 41 13 3 0 0 getty [ 2055] 0 2055 3648 42 13 3 0 0 getty [ 2056] 0 2056 3648 43 13 3 0 0 getty [ 2057] 0 2057 3648 42 13 3 0 0 getty [ 2058] 0 2058 3648 43 13 3 0 0 getty [ 2059] 0 2059 3648 43 13 3 0 0 getty [ 2060] 0 2060 3648 43 13 3 0 0 getty [ 2061] 0 2061 17820 197 39 3 0 0 sshd [ 2063] 0 2063 4380 1 4 2 0 0 syz-executor025 [ 2064] 0 2064 4380 11 4 2 0 0 syz-executor025 [ 2065] 0 2065 4380 11 4 2 0 0 syz-executor025 [ 2066] 0 2066 4380 0 5 2 0 1000 syz-executor025 [ 2067] 0 2067 4380 11 4 2 0 0 syz-executor025 [ 2068] 0 2068 4380 11 4 2 0 0 syz-executor025 [ 2069] 0 2069 4380 11 4 2 0 0 syz-executor025 [ 2070] 0 2070 4380 11 4 2 0 0 syz-executor025 [ 2071] 0 2071 4380 11 5 2 0 1000 syz-executor025 [ 2072] 0 2072 4380 11 5 2 0 1000 syz-executor025 [ 2073] 0 2073 4380 11 5 2 0 1000 syz-executor025 [ 2074] 0 2074 4380 11 5 2 0 1000 syz-executor025 [ 2075] 0 2075 4380 11 5 2 0 1000 syz-executor025 Out of memory: Kill process 2071 (syz-executor025) score 999 or sacrifice child Killed process 2071 (syz-executor025) total-vm:17520kB, anon-rss:44kB, file-rss:0kB, shmem-rss:0kB lowmemorykiller: Killing 'syz-executor025' (2071) (tgid 2071), adj 1000, to free 44kB on behalf of 'syz-executor025' (2073) because cache 292kB is below limit 6144kB for oom_score_adj 0 Free memory is -31740kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 2073, name: syz-executor025 INFO: lockdep is turned off. Preemption disabled at: [<0000000042cc5f9a>] spin_lock include/linux/spinlock.h:302 [inline] [<0000000042cc5f9a>] task_lock include/linux/sched.h:3217 [inline] [<0000000042cc5f9a>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 CPU: 1 PID: 2073 Comm: syz-executor025 Tainted: G W 4.9.185+ #8 ffff8801cf067388 ffffffff81b5a081 0000000000000000 0000000000000001 ffff8801ce40af80 ffffffff810d0ca0 ffff8801ce40af80 ffff8801cf0673c0 ffffffff814002fc ffff8801ce40af80 ffffffff82a39940 0000000000000387 Call Trace: [<00000000aa241538>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000aa241538>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000004f5eb4de>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<00000000272eb92c>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<000000002b89f181>] mmput+0x28/0x370 kernel/fork.c:903 [<0000000047b020ab>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<000000001b4e7464>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<000000000f6041bc>] do_shrink_slab mm/vmscan.c:399 [inline] [<000000000f6041bc>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000b52493c9>] shrink_slab mm/vmscan.c:466 [inline] [<00000000b52493c9>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<0000000017e7e593>] shrink_zones mm/vmscan.c:2751 [inline] [<0000000017e7e593>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<0000000017e7e593>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<00000000c7f96643>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<00000000c7f96643>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<00000000c7f96643>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<00000000c7f96643>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<000000000a9a71f4>] __alloc_pages include/linux/gfp.h:433 [inline] [<000000000a9a71f4>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<000000000a9a71f4>] alloc_pages_node include/linux/gfp.h:460 [inline] [<000000000a9a71f4>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<000000000a9a71f4>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000f62b950c>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f62b950c>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f62b950c>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000262de840>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000fa9d61cc>] do_replace.isra.0+0x111/0x480 net/ipv4/netfilter/arp_tables.c:979 [<0000000097e5bfc3>] do_arpt_set_ctl+0x108/0x150 net/ipv4/netfilter/arp_tables.c:1469 [<000000003d151a31>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000003d151a31>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000026f85153>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000026f85153>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000f21ef252>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000074844752>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000008f84c47a>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000008f84c47a>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000085e5590>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000000beed5a2>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb oom_reaper: reaped process 2071 (syz-executor025), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor025 invoked oom-killer: gfp_mask=0x24002c2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_NOWARN), nodemask=0, order=0, oom_score_adj=1000 CPU: 0 PID: 2072 Comm: syz-executor025 Tainted: G W 4.9.185+ #8 ffff8801c565f6b0 ffffffff81b5a081 ffff8801c565fa08 ffffffff833f11b0 00000000000003e8 ffff8801c565fa20 0000000000000000 ffff8801c565f730 ffffffff8150548b 0000000000000000 00000000000003e8 ffffffff8281c265 Call Trace: [<00000000aa241538>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000aa241538>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000e6054690>] dump_header.isra.0+0x142/0x74c mm/oom_kill.c:417 [<00000000143496c4>] oom_kill_process.cold+0xd/0xa74 mm/oom_kill.c:852 [<00000000300712de>] out_of_memory mm/oom_kill.c:1069 [inline] [<00000000300712de>] out_of_memory+0x29b/0xea0 mm/oom_kill.c:1009 [<00000000f6dd238b>] __alloc_pages_may_oom mm/page_alloc.c:3136 [inline] [<00000000f6dd238b>] __alloc_pages_slowpath mm/page_alloc.c:3750 [inline] [<00000000f6dd238b>] __alloc_pages_nodemask+0x1730/0x1a80 mm/page_alloc.c:3861 [<000000000a9a71f4>] __alloc_pages include/linux/gfp.h:433 [inline] [<000000000a9a71f4>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<000000000a9a71f4>] alloc_pages_node include/linux/gfp.h:460 [inline] [<000000000a9a71f4>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<000000000a9a71f4>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000f62b950c>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f62b950c>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f62b950c>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000262de840>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000fa9d61cc>] do_replace.isra.0+0x111/0x480 net/ipv4/netfilter/arp_tables.c:979 [<0000000097e5bfc3>] do_arpt_set_ctl+0x108/0x150 net/ipv4/netfilter/arp_tables.c:1469 [<000000003d151a31>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000003d151a31>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000026f85153>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000026f85153>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000f21ef252>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000074844752>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000008f84c47a>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000008f84c47a>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000085e5590>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000000beed5a2>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb syz-executor025: vmalloc: allocation failure, allocated 1275981824 of 3747430400 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 1 PID: 2071 Comm: syz-executor025 Tainted: G W 4.9.185+ #8 ffff8801ce457988 ffffffff81b5a081 1ffff10039c8af33 dffffc0000000000 ffffffff82aaa9c0 0000000000000000 0000000000400000 ffff8801ce457ab0 ffffffff81506743 0000000041b58ab3 ffffffff82e3a470 ffffffff81430320 Call Trace: [<00000000aa241538>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000aa241538>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000009e567279>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000003e6caf77>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000003e6caf77>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000f62b950c>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f62b950c>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f62b950c>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000262de840>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000fa9d61cc>] do_replace.isra.0+0x111/0x480 net/ipv4/netfilter/arp_tables.c:979 [<0000000097e5bfc3>] do_arpt_set_ctl+0x108/0x150 net/ipv4/netfilter/arp_tables.c:1469 [<000000003d151a31>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000003d151a31>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000026f85153>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000026f85153>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000f21ef252>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000074844752>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000008f84c47a>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000008f84c47a>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000085e5590>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000000beed5a2>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3212 inactive_anon:40 isolated_anon:0 active_file:23 inactive_file:28 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4256 slab_unreclaimable:56352 mapped:7 shmem:48 pagetables:351 bounce:0 free:0 free_pcp:161 free_cma:0 Node 0 active_anon:12848kB inactive_anon:160kB active_file:92kB inactive_file:112kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:28kB dirty:0kB writeback:0kB 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:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:0kB min:5580kB low:9168kB high:12756kB active_anon:12848kB inactive_anon:160kB active_file:92kB inactive_file:112kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17024kB slab_unreclaimable:225408kB kernel_stack:3456kB pagetables:1404kB bounce:0kB free_pcp:644kB local_pcp:24kB free_cma:0kB DMA32: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB Mem-Info: active_anon:3212 inactive_anon:40 isolated_anon:0 active_file:23 inactive_file:28 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4256 slab_unreclaimable:56352 mapped:7 shmem:48 pagetables:351 bounce:0 free:0 free_pcp:161 free_cma:0 Node 0 active_anon:12848kB inactive_anon:160kB active_file:92kB inactive_file:112kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:28kB dirty:0kB writeback:0kB 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:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB = 0kB 0*64kB 00*128kB 00*256kB 00*512kB 0*1024kB DMA32: 0*2048kB 0*4kB 0*4096kB 0*8kB = 0kB 0*32kB 0 pages in swap cache 0*64kB Swap cache stats: add 0, delete 0, find 0/0 0*128kB Free swap = 0kB 0*256kB Total swap = 0kB 0*512kB 1965979 pages RAM 0*1024kB 0 pages HighMem/MovableOnly 0*2048kB 313625 pages reserved 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 176 15 3 0 -1000 udevd [ 563] 0 563 5364 167 14 3 0 -1000 udevd [ 564] 0 564 5364 168 14 3 0 -1000 udevd [ 1760] 0 1760 2492 574 7 3 0 0 dhclient [ 1899] 0 1899 14231 108 23 3 0 0 rsyslogd [ 1954] 0 1954 4724 50 14 3 0 0 cron [ 1972] 0 1972 3735 45 11 3 0 0 mcstransd [ 1974] 0 1974 12926 1228 26 3 0 0 restorecond [ 2000] 0 2000 12489 152 28 3 0 -1000 sshd [ 2030] 0 2030 3648 41 13 3 0 0 getty [ 2055] 0 2055 3648 42 13 3 0 0 getty [ 2056] 0 2056 3648 43 13 3 0 0 getty [ 2057] 0 2057 3648 42 13 3 0 0 getty [ 2058] 0 2058 3648 43 13 3 0 0 getty [ 2059] 0 2059 3648 43 13 3 0 0 getty [ 2060] 0 2060 3648 43 13 3 0 0 getty [ 2061] 0 2061 17820 197 39 3 0 0 sshd [ 2063] 0 2063 4380 1 4 2 0 0 syz-executor025 [ 2064] 0 2064 4380 11 4 2 0 0 syz-executor025 [ 2065] 0 2065 4380 11 4 2 0 0 syz-executor025 [ 2066] 0 2066 4380 0 5 2 0 1000 syz-executor025 [ 2067] 0 2067 4380 11 4 2 0 0 syz-executor025 [ 2068] 0 2068 4380 11 4 2 0 0 syz-executor025 [ 2069] 0 2069 4380 11 4 2 0 0 syz-executor025 [ 2070] 0 2070 4380 11 4 2 0 0 syz-executor025 [ 2071] 0 2071 4380 0 5 2 0 1000 syz-executor025 [ 2072] 0 2072 4380 11 5 2 0 1000 syz-executor025 [ 2073] 0 2073 4380 11 5 2 0 1000 syz-executor025 [ 2074] 0 2074 4380 11 5 2 0 1000 syz-executor025 [ 2075] 0 2075 4380 11 5 2 0 1000 syz-executor025 Out of memory: Kill process 2072 (syz-executor025) score 999 or sacrifice child Killed process 2072 (syz-executor025) total-vm:17520kB, anon-rss:44kB, file-rss:0kB, shmem-rss:0kB oom_reaper: reaped process 2072 (syz-executor025), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor025: vmalloc: allocation failure, allocated 1147297792 of 3747430400 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 0 PID: 2072 Comm: syz-executor025 Tainted: G W 4.9.185+ #8 ffff8801c565f988 ffffffff81b5a081 1ffff10038acbf33 dffffc0000000000 ffffffff82aaa9c0 0000000000000000 0000000000400000 ffff8801c565fab0 ffffffff81506743 0000000041b58ab3 ffffffff82e3a470 ffffffff81430320 Call Trace: [<00000000aa241538>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000aa241538>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000009e567279>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000003e6caf77>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000003e6caf77>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000f62b950c>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f62b950c>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f62b950c>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000262de840>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000fa9d61cc>] do_replace.isra.0+0x111/0x480 net/ipv4/netfilter/arp_tables.c:979 [<0000000097e5bfc3>] do_arpt_set_ctl+0x108/0x150 net/ipv4/netfilter/arp_tables.c:1469 [<000000003d151a31>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000003d151a31>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000026f85153>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000026f85153>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000f21ef252>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000074844752>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000008f84c47a>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000008f84c47a>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000085e5590>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000000beed5a2>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3212 inactive_anon:40 isolated_anon:0 active_file:23 inactive_file:28 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4256 slab_unreclaimable:56352 mapped:7 shmem:48 pagetables:351 bounce:0 free:7 free_pcp:13 free_cma:0 Node 0 active_anon:12848kB inactive_anon:160kB active_file:92kB inactive_file:112kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:28kB dirty:0kB writeback:0kB 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:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:28kB min:5580kB low:9168kB high:12756kB active_anon:12848kB inactive_anon:160kB active_file:92kB inactive_file:112kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17024kB slab_unreclaimable:225408kB kernel_stack:3456kB pagetables:1404kB bounce:0kB free_pcp:52kB 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 CPU: 1 PID: 1902 Comm: rsyslogd Tainted: G W 4.9.185+ #8 ffff8801d387f6f0 ffffffff81b5a081 ffff8801d387fa48 ffffffff833f11b0 0000000000000000 ffff8801d387fa60 0000000000000000 ffff8801d387f770 ffffffff8150548b 0000000000000000 0000000000000000 ffffffff8281c265 Call Trace: [<00000000aa241538>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000aa241538>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000e6054690>] dump_header.isra.0+0x142/0x74c mm/oom_kill.c:417 [<00000000143496c4>] oom_kill_process.cold+0xd/0xa74 mm/oom_kill.c:852 [<00000000300712de>] out_of_memory mm/oom_kill.c:1069 [inline] [<00000000300712de>] out_of_memory+0x29b/0xea0 mm/oom_kill.c:1009 [<00000000f6dd238b>] __alloc_pages_may_oom mm/page_alloc.c:3136 [inline] [<00000000f6dd238b>] __alloc_pages_slowpath mm/page_alloc.c:3750 [inline] [<00000000f6dd238b>] __alloc_pages_nodemask+0x1730/0x1a80 mm/page_alloc.c:3861 [<000000001688e8b2>] __alloc_pages include/linux/gfp.h:433 [inline] [<000000001688e8b2>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<000000001688e8b2>] alloc_pages_node include/linux/gfp.h:460 [inline] [<000000001688e8b2>] __page_cache_alloc include/linux/pagemap.h:208 [inline] [<000000001688e8b2>] pagecache_get_page+0x248/0x740 mm/filemap.c:1367 [<000000008926acb9>] filemap_fault+0xb1f/0x1360 mm/filemap.c:2331 [<00000000723b5100>] ext4_filemap_fault+0x72/0xa0 fs/ext4/inode.c:5854 [<000000001428f658>] __do_fault+0x2a8/0x6c0 mm/memory.c:2855 [<00000000ce84604a>] do_read_fault mm/memory.c:3202 [inline] [<00000000ce84604a>] do_fault mm/memory.c:3338 [inline] [<00000000ce84604a>] handle_pte_fault mm/memory.c:3547 [inline] [<00000000ce84604a>] __handle_mm_fault mm/memory.c:3634 [inline] [<00000000ce84604a>] handle_mm_fault+0x11bc/0x2420 mm/memory.c:3671 [<00000000603aa2d6>] __do_page_fault+0x3f0/0xa60 arch/x86/mm/fault.c:1404 [<000000004d22c84d>] do_page_fault+0x28/0x30 arch/x86/mm/fault.c:1467 [<000000001028262c>] page_fault+0x25/0x30 arch/x86/entry/entry_64.S:953 Mem-Info: active_anon:3212 inactive_anon:40 isolated_anon:0 active_file:23 inactive_file:28 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4256 slab_unreclaimable:56352 mapped:7 shmem:48 pagetables:351 bounce:0 free:1032 free_pcp:162 free_cma:0 Node 0 active_anon:12848kB inactive_anon:160kB active_file:92kB inactive_file:112kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:28kB dirty:0kB writeback:0kB 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:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:4328kB min:5580kB low:9168kB high:12756kB active_anon:12848kB inactive_anon:160kB active_file:92kB inactive_file:112kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17024kB slab_unreclaimable:225408kB kernel_stack:3456kB pagetables:1404kB bounce:0kB free_pcp:744kB 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 176 15 3 0 -1000 udevd [ 563] 0 563 5364 167 14 3 0 -1000 udevd [ 564] 0 564 5364 168 14 3 0 -1000 udevd [ 1760] 0 1760 2492 574 7 3 0 0 dhclient [ 1899] 0 1899 14231 108 23 3 0 0 rsyslogd [ 1954] 0 1954 4724 50 14 3 0 0 cron [ 1972] 0 1972 3735 45 11 3 0 0 mcstransd [ 1974] 0 1974 12926 1228 26 3 0 0 restorecond [ 2000] 0 2000 12489 152 28 3 0 -1000 sshd [ 2030] 0 2030 3648 41 13 3 0 0 getty [ 2055] 0 2055 3648 42 13 3 0 0 getty [ 2056] 0 2056 3648 43 13 3 0 0 getty [ 2057] 0 2057 3648 42 13 3 0 0 getty [ 2058] 0 2058 3648 43 13 3 0 0 getty [ 2059] 0 2059 3648 43 13 3 0 0 getty [ 2060] 0 2060 3648 43 13 3 0 0 getty [ 2061] 0 2061 17820 197 39 3 0 0 sshd [ 2063] 0 2063 4380 1 4 2 0 0 syz-executor025 [ 2064] 0 2064 4380 11 4 2 0 0 syz-executor025 [ 2065] 0 2065 4380 11 4 2 0 0 syz-executor025 [ 2066] 0 2066 4380 0 5 2 0 1000 syz-executor025 [ 2067] 0 2067 4380 11 4 2 0 0 syz-executor025 [ 2068] 0 2068 4380 11 4 2 0 0 syz-executor025 [ 2069] 0 2069 4380 11 4 2 0 0 syz-executor025 [ 2070] 0 2070 4380 11 4 2 0 0 syz-executor025 [ 2071] 0 2071 4380 0 5 2 0 1000 syz-executor025 [ 2072] 0 2072 4380 0 5 2 0 1000 syz-executor025 [ 2073] 0 2073 4380 11 5 2 0 1000 syz-executor025 [ 2074] 0 2074 4380 11 5 2 0 1000 syz-executor025 [ 2075] 0 2075 4380 11 5 2 0 1000 syz-executor025 Out of memory: Kill process 2073 (syz-executor025) score 999 or sacrifice child Killed process 2073 (syz-executor025) total-vm:17520kB, anon-rss:44kB, file-rss:0kB, shmem-rss:0kB 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 2073 (syz-executor025), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor025: vmalloc: allocation failure, allocated 1075310592 of 3747430400 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 0 PID: 2073 Comm: syz-executor025 Tainted: G W 4.9.185+ #8 ffff8801cf067988 ffffffff81b5a081 1ffff10039e0cf33 dffffc0000000000 ffffffff82aaa9c0 0000000000000000 0000000000400000 ffff8801cf067ab0 ffffffff81506743 0000000041b58ab3 ffffffff82e3a470 ffffffff81430320 Call Trace: [<00000000aa241538>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000aa241538>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000009e567279>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000003e6caf77>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000003e6caf77>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000f62b950c>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f62b950c>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f62b950c>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000262de840>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000fa9d61cc>] do_replace.isra.0+0x111/0x480 net/ipv4/netfilter/arp_tables.c:979 [<0000000097e5bfc3>] do_arpt_set_ctl+0x108/0x150 net/ipv4/netfilter/arp_tables.c:1469 [<000000003d151a31>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000003d151a31>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000026f85153>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000026f85153>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000f21ef252>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000074844752>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000008f84c47a>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000008f84c47a>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000085e5590>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000000beed5a2>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3187 inactive_anon:40 isolated_anon:0 active_file:23 inactive_file:28 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4256 slab_unreclaimable:56352 mapped:7 shmem:48 pagetables:351 bounce:0 free:19 free_pcp:37 free_cma:0 Node 0 active_anon:12748kB inactive_anon:160kB active_file:92kB inactive_file:112kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:28kB dirty:0kB writeback:0kB 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:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:76kB min:5580kB low:9168kB high:12756kB active_anon:12748kB inactive_anon:160kB active_file:92kB inactive_file:112kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17024kB slab_unreclaimable:225408kB kernel_stack:3456kB pagetables:1404kB bounce:0kB free_pcp:148kB 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 lowmemorykiller: Killing 'syz-executor025' (2074) (tgid 2074), adj 1000, to free 44kB on behalf of 'syz-executor025' (2075) because cache 136kB is below limit 6144kB for oom_score_adj 0 Free memory is -13372kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 2075, name: syz-executor025 INFO: lockdep is turned off. Preemption disabled at: [<0000000042cc5f9a>] spin_lock include/linux/spinlock.h:302 [inline] [<0000000042cc5f9a>] task_lock include/linux/sched.h:3217 [inline] [<0000000042cc5f9a>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 CPU: 1 PID: 2075 Comm: syz-executor025 Tainted: G W 4.9.185+ #8 ffff8801c539f388 ffffffff81b5a081 0000000000000000 0000000000000001 ffff8801d0452f80 ffffffff810d0ca0 ffff8801d0452f80 ffff8801c539f3c0 ffffffff814002fc ffff8801d0452f80 ffffffff82a39940 0000000000000387 Call Trace: [<00000000aa241538>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000aa241538>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000004f5eb4de>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<00000000272eb92c>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<000000002b89f181>] mmput+0x28/0x370 kernel/fork.c:903 [<0000000047b020ab>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<000000001b4e7464>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<000000000f6041bc>] do_shrink_slab mm/vmscan.c:399 [inline] [<000000000f6041bc>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000b52493c9>] shrink_slab mm/vmscan.c:466 [inline] [<00000000b52493c9>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<0000000017e7e593>] shrink_zones mm/vmscan.c:2751 [inline] [<0000000017e7e593>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<0000000017e7e593>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<00000000c7f96643>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<00000000c7f96643>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<00000000c7f96643>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<00000000c7f96643>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<000000000a9a71f4>] __alloc_pages include/linux/gfp.h:433 [inline] [<000000000a9a71f4>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<000000000a9a71f4>] alloc_pages_node include/linux/gfp.h:460 [inline] [<000000000a9a71f4>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<000000000a9a71f4>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000f62b950c>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000f62b950c>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000f62b950c>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<00000000262de840>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000fa9d61cc>] do_replace.isra.0+0x111/0x480 net/ipv4/netfilter/arp_tables.c:979 [<0000000097e5bfc3>] do_arpt_set_ctl+0x108/0x150 net/ipv4/netfilter/arp_tables.c:1469 [<000000003d151a31>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000003d151a31>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000026f85153>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000026f85153>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000f21ef252>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<0000000074844752>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000008f84c47a>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000008f84c47a>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000085e5590>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000000beed5a2>] entry_SYSCALL_6