Free memory is 45444kB above reserved lowmemorykiller: Killing 'syz-executor451' (2132) (tgid 2132), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3233) because cache 22604kB is below limit 65536kB for oom_score_adj 12 Free memory is 60044kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 3233, name: syz-executor451 3 locks held by syz-executor451/3233: #0: (&mm->mmap_sem){++++++}, at: [<00000000eb2424c4>] __mm_populate+0x20c/0x300 mm/gup.c:1134 #1: (shrinker_rwsem){++++..}, at: [<000000004da3bc10>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #2: (rcu_read_lock){......}, at: [<00000000ab446061>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 Preemption disabled at: [<00000000a4b4f341>] spin_lock include/linux/spinlock.h:302 [inline] [<00000000a4b4f341>] task_lock include/linux/sched.h:3217 [inline] [<00000000a4b4f341>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 CPU: 1 PID: 3233 Comm: syz-executor451 Not tainted 4.9.180+ #4 ffff8801cb7cf440 ffffffff81b577f1 0000000000000000 0000000000000001 ffff8801c52faf80 ffffffff810d0c30 ffff8801c52faf80 ffff8801cb7cf478 ffffffff8140008c ffff8801c52faf80 ffffffff82a39900 0000000000000387 Call Trace: [<00000000cbe7c0e4>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000cbe7c0e4>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000d1ce270b>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<00000000cdc39025>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<000000003f8005c7>] mmput+0x28/0x370 kernel/fork.c:903 [<000000006f51273f>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<00000000085c7220>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000df9fa897>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000df9fa897>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<000000002b86e8c2>] shrink_slab mm/vmscan.c:466 [inline] [<000000002b86e8c2>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000edd2f81d>] shrink_zones mm/vmscan.c:2751 [inline] [<00000000edd2f81d>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<00000000edd2f81d>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<0000000005b98c17>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<0000000005b98c17>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<0000000005b98c17>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<0000000005b98c17>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<0000000091c4dcc8>] __alloc_pages include/linux/gfp.h:433 [inline] [<0000000091c4dcc8>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<0000000091c4dcc8>] alloc_pages_node include/linux/gfp.h:460 [inline] [<0000000091c4dcc8>] alloc_zeroed_user_highpage_movable include/linux/highmem.h:183 [inline] [<0000000091c4dcc8>] do_anonymous_page mm/memory.c:2761 [inline] [<0000000091c4dcc8>] handle_pte_fault mm/memory.c:3545 [inline] [<0000000091c4dcc8>] __handle_mm_fault mm/memory.c:3634 [inline] [<0000000091c4dcc8>] handle_mm_fault+0x12e1/0x2420 mm/memory.c:3671 [<00000000d4598384>] faultin_page mm/gup.c:386 [inline] [<00000000d4598384>] __get_user_pages+0x3c7/0x1060 mm/gup.c:588 [<000000002f3abc98>] populate_vma_page_range+0x19a/0x230 mm/gup.c:1106 [<00000000a4265b17>] __mm_populate+0x1b9/0x300 mm/gup.c:1154 [<000000007e3fed3f>] mm_populate include/linux/mm.h:2052 [inline] [<000000007e3fed3f>] SYSC_mlockall mm/mlock.c:817 [inline] [<000000007e3fed3f>] SyS_mlockall+0x405/0x530 mm/mlock.c:791 [<0000000053163df3>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<0000000056e5c7dd>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb ================================= [ INFO: inconsistent lock state ] 4.9.180+ #4 Tainted: G W --------------------------------- inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-R} usage. syz-executor451/3233 [HC0[0]:SC0[0]:HE1:SE1] takes: (&mm->mmap_sem){+++++?}, at: [<0000000028339549>] 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:1597 [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: 16585 hardirqs last enabled at (16585): [<000000002d4cf13a>] dump_stack+0x100/0x120 lib/dump_stack.c:56 hardirqs last disabled at (16584): [<000000004eaa6d78>] dump_stack+0x2c/0x120 lib/dump_stack.c:38 softirqs last enabled at (16212): [<0000000013879303>] __do_softirq+0x474/0x964 kernel/softirq.c:314 softirqs last disabled at (16191): [<00000000014f5ba1>] invoke_softirq kernel/softirq.c:368 [inline] softirqs last disabled at (16191): [<00000000014f5ba1>] 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 *** 4 locks held by syz-executor451/3233: #0: (&mm->mmap_sem){+++++?}, at: [<00000000eb2424c4>] __mm_populate+0x20c/0x300 mm/gup.c:1134 #1: (shrinker_rwsem){++++..}, at: [<000000004da3bc10>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #2: (rcu_read_lock){......}, at: [<00000000ab446061>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 #3: (lmk_event_lock){+.+.-.}, at: [<000000005c1d27a6>] spin_lock include/linux/spinlock.h:302 [inline] #3: (lmk_event_lock){+.+.-.}, at: [<000000005c1d27a6>] handle_lmk_event+0xfb/0x8a0 drivers/staging/android/lowmemorykiller.c:114 stack backtrace: CPU: 1 PID: 3233 Comm: syz-executor451 Tainted: G W 4.9.180+ #4 ffff8801cb7cf180 ffffffff81b577f1 00000000000000f0 ffff8801c52faf80 ffffffff83cad760 ffff8801c52fb8f0 ffffffff8424eec0 ffff8801cb7cf1f8 ffffffff81406ac9 0000000000000000 ffffffff00000001 0000000000000001 Call Trace: [<00000000cbe7c0e4>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000cbe7c0e4>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000005047568b>] print_usage_bug kernel/locking/lockdep.c:2387 [inline] [<000000005047568b>] print_usage_bug.cold+0x452/0x5a2 kernel/locking/lockdep.c:2354 [<00000000ea776a3b>] valid_state kernel/locking/lockdep.c:2400 [inline] [<00000000ea776a3b>] mark_lock_irq kernel/locking/lockdep.c:2602 [inline] [<00000000ea776a3b>] mark_lock+0x6c7/0x12e0 kernel/locking/lockdep.c:3065 [<00000000a616ceb9>] mark_irqflags kernel/locking/lockdep.c:2958 [inline] [<00000000a616ceb9>] __lock_acquire+0x5c3/0x4350 kernel/locking/lockdep.c:3302 [<000000008a6e5ae2>] lock_acquire+0x133/0x3d0 kernel/locking/lockdep.c:3756 [<0000000007a85765>] down_read+0x44/0xb0 kernel/locking/rwsem.c:22 [<0000000028339549>] get_cmdline+0xa3/0x2d0 mm/util.c:641 [<000000001bcb5b1c>] handle_lmk_event+0x13c/0x8a0 drivers/staging/android/lowmemorykiller.c:128 [<00000000085c7220>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000df9fa897>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000df9fa897>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<000000002b86e8c2>] shrink_slab mm/vmscan.c:466 [inline] [<000000002b86e8c2>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000edd2f81d>] shrink_zones mm/vmscan.c:2751 [inline] [<00000000edd2f81d>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<00000000edd2f81d>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<0000000005b98c17>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<0000000005b98c17>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<0000000005b98c17>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<0000000005b98c17>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<0000000091c4dcc8>] __alloc_pages include/linux/gfp.h:433 [inline] [<0000000091c4dcc8>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<0000000091c4dcc8>] alloc_pages_node include/linux/gfp.h:460 [inline] [<0000000091c4dcc8>] alloc_zeroed_user_highpage_movable include/linux/highmem.h:183 [inline] [<0000000091c4dcc8>] do_anonymous_page mm/memory.c:2761 [inline] [<0000000091c4dcc8>] handle_pte_fault mm/memory.c:3545 [inline] [<0000000091c4dcc8>] __handle_mm_fault mm/memory.c:3634 [inline] [<0000000091c4dcc8>] handle_mm_fault+0x12e1/0x2420 mm/memory.c:3671 [<00000000d4598384>] faultin_page mm/gup.c:386 [inline] [<00000000d4598384>] __get_user_pages+0x3c7/0x1060 mm/gup.c:588 [<000000002f3abc98>] populate_vma_page_range+0x19a/0x230 mm/gup.c:1106 [<00000000a4265b17>] __mm_populate+0x1b9/0x300 mm/gup.c:1154 [<000000007e3fed3f>] mm_populate include/linux/mm.h:2052 [inline] [<000000007e3fed3f>] SYSC_mlockall mm/mlock.c:817 [inline] [<000000007e3fed3f>] SyS_mlockall+0x405/0x530 mm/mlock.c:791 [<0000000053163df3>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<0000000056e5c7dd>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb lowmemorykiller: Killing 'syz-executor451' (3235) (tgid 3235), adj 1000, to free 16832kB on behalf of 'syz-executor451' (3252) because cache 24048kB is below limit 65536kB for oom_score_adj 12 Free memory is -13208kB above reserved lowmemorykiller: Killing 'syz-executor451' (2135) (tgid 2135), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3252) because cache 23948kB is below limit 65536kB for oom_score_adj 12 Free memory is 3192kB above reserved lowmemorykiller: Killing 'syz-executor451' (2138) (tgid 2138), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3252) because cache 23948kB is below limit 65536kB for oom_score_adj 12 Free memory is 17392kB above reserved lowmemorykiller: Killing 'syz-executor451' (2141) (tgid 2141), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3261) because cache 23980kB is below limit 65536kB for oom_score_adj 12 Free memory is -13304kB above reserved lowmemorykiller: Killing 'syz-executor451' (2144) (tgid 2144), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3261) because cache 23880kB is below limit 65536kB for oom_score_adj 12 Free memory is 4248kB above reserved lowmemorykiller: Killing 'syz-executor451' (2147) (tgid 2147), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3267) because cache 22712kB is below limit 65536kB for oom_score_adj 12 Free memory is -13312kB above reserved lowmemorykiller: Killing 'syz-executor451' (2150) (tgid 2150), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3267) because cache 22612kB is below limit 65536kB for oom_score_adj 12 Free memory is 3288kB above reserved lowmemorykiller: Killing 'syz-executor451' (2153) (tgid 2153), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3267) because cache 22612kB is below limit 65536kB for oom_score_adj 12 Free memory is 20080kB above reserved lowmemorykiller: Killing 'syz-executor451' (2156) (tgid 2156), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3276) because cache 22544kB is below limit 65536kB for oom_score_adj 12 Free memory is -13244kB above reserved lowmemorykiller: Killing 'syz-executor451' (2159) (tgid 2159), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3276) because cache 22444kB is below limit 65536kB for oom_score_adj 12 Free memory is 3340kB above reserved lowmemorykiller: Killing 'syz-executor451' (2162) (tgid 2162), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3282) because cache 22376kB is below limit 65536kB for oom_score_adj 12 Free memory is -13276kB above reserved lowmemorykiller: Killing 'syz-executor451' (2165) (tgid 2165), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3282) because cache 22276kB is below limit 65536kB for oom_score_adj 12 Free memory is 2824kB above reserved lowmemorykiller: Killing 'syz-executor451' (2168) (tgid 2168), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3282) because cache 22276kB is below limit 65536kB for oom_score_adj 12 Free memory is 17220kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 3282, name: syz-executor451 INFO: lockdep is turned off. Preemption disabled at: [<00000000a4b4f341>] spin_lock include/linux/spinlock.h:302 [inline] [<00000000a4b4f341>] task_lock include/linux/sched.h:3217 [inline] [<00000000a4b4f341>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 CPU: 1 PID: 3282 Comm: syz-executor451 Tainted: G W 4.9.180+ #4 ffff8801cb8ff440 ffffffff81b577f1 0000000000000000 0000000000000001 ffff8801cbae17c0 ffffffff810d0c30 ffff8801cbae17c0 ffff8801cb8ff478 ffffffff8140008c ffff8801cbae17c0 ffffffff82a39900 0000000000000387 Call Trace: [<00000000cbe7c0e4>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000cbe7c0e4>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000d1ce270b>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<00000000cdc39025>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<000000003f8005c7>] mmput+0x28/0x370 kernel/fork.c:903 [<000000006f51273f>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<00000000085c7220>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000df9fa897>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000df9fa897>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<000000002b86e8c2>] shrink_slab mm/vmscan.c:466 [inline] [<000000002b86e8c2>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000edd2f81d>] shrink_zones mm/vmscan.c:2751 [inline] [<00000000edd2f81d>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<00000000edd2f81d>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<0000000005b98c17>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<0000000005b98c17>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<0000000005b98c17>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<0000000005b98c17>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<0000000091c4dcc8>] __alloc_pages include/linux/gfp.h:433 [inline] [<0000000091c4dcc8>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<0000000091c4dcc8>] alloc_pages_node include/linux/gfp.h:460 [inline] [<0000000091c4dcc8>] alloc_zeroed_user_highpage_movable include/linux/highmem.h:183 [inline] [<0000000091c4dcc8>] do_anonymous_page mm/memory.c:2761 [inline] [<0000000091c4dcc8>] handle_pte_fault mm/memory.c:3545 [inline] [<0000000091c4dcc8>] __handle_mm_fault mm/memory.c:3634 [inline] [<0000000091c4dcc8>] handle_mm_fault+0x12e1/0x2420 mm/memory.c:3671 [<00000000d4598384>] faultin_page mm/gup.c:386 [inline] [<00000000d4598384>] __get_user_pages+0x3c7/0x1060 mm/gup.c:588 [<000000002f3abc98>] populate_vma_page_range+0x19a/0x230 mm/gup.c:1106 [<00000000a4265b17>] __mm_populate+0x1b9/0x300 mm/gup.c:1154 [<000000007e3fed3f>] mm_populate include/linux/mm.h:2052 [inline] [<000000007e3fed3f>] SYSC_mlockall mm/mlock.c:817 [inline] [<000000007e3fed3f>] SyS_mlockall+0x405/0x530 mm/mlock.c:791 [<0000000053163df3>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<0000000056e5c7dd>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb lowmemorykiller: Killing 'syz-executor451' (2171) (tgid 2171), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3282) because cache 22276kB is below limit 65536kB for oom_score_adj 12 Free memory is 37304kB above reserved lowmemorykiller: Killing 'syz-executor451' (3284) (tgid 3284), adj 1000, to free 16832kB on behalf of 'syz-executor451' (3295) because cache 21496kB is below limit 65536kB for oom_score_adj 12 Free memory is -13264kB above reserved lowmemorykiller: Killing 'syz-executor451' (2174) (tgid 2174), adj 1000, to free 16824kB on behalf of 'kworker/u4:1' (64) because cache 21496kB is below limit 65536kB for oom_score_adj 12 Free memory is -13264kB above reserved lowmemorykiller: Killing 'syz-executor451' (2177) (tgid 2177), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3301) because cache 21292kB is below limit 65536kB for oom_score_adj 12 Free memory is -13276kB above reserved lowmemorykiller: Killing 'syz-executor451' (2180) (tgid 2180), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3301) because cache 21292kB is below limit 65536kB for oom_score_adj 12 Free memory is 724kB above reserved lowmemorykiller: Killing 'syz-executor451' (2183) (tgid 2183), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3301) because cache 21192kB is below limit 65536kB for oom_score_adj 12 Free memory is 20312kB above reserved lowmemorykiller: Killing 'syz-executor451' (2186) (tgid 2186), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3301) because cache 21192kB is below limit 65536kB for oom_score_adj 12 Free memory is 37104kB above reserved lowmemorykiller: Killing 'syz-executor451' (2189) (tgid 2189), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3301) because cache 21192kB is below limit 65536kB for oom_score_adj 12 Free memory is 54004kB above reserved lowmemorykiller: Killing 'syz-executor451' (3303) (tgid 3303), adj 1000, to free 16832kB on behalf of 'syz-executor451' (3317) because cache 21028kB is below limit 65536kB for oom_score_adj 12 Free memory is -13280kB above reserved lowmemorykiller: Killing 'syz-executor451' (2192) (tgid 2192), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3317) because cache 20928kB is below limit 65536kB for oom_score_adj 12 Free memory is 3948kB above reserved lowmemorykiller: Killing 'syz-executor451' (2195) (tgid 2195), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3317) because cache 20928kB is below limit 65536kB for oom_score_adj 12 Free memory is 20948kB above reserved lowmemorykiller: Killing 'syz-executor451' (2198) (tgid 2198), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 22972kB is below limit 65536kB for oom_score_adj 12 Free memory is 2376kB above reserved lowmemorykiller: Killing 'syz-executor451' (2201) (tgid 2201), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 23368kB is below limit 65536kB for oom_score_adj 12 Free memory is -9708kB above reserved lowmemorykiller: Killing 'syz-executor451' (2204) (tgid 2204), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 23164kB is below limit 65536kB for oom_score_adj 12 Free memory is -9804kB above reserved lowmemorykiller: Killing 'syz-executor451' (2207) (tgid 2207), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3332) because cache 19364kB is below limit 65536kB for oom_score_adj 12 Free memory is -11784kB above reserved lowmemorykiller: Killing 'syz-executor451' (2210) (tgid 2210), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3332) because cache 19308kB is below limit 65536kB for oom_score_adj 12 Free memory is 20804kB above reserved lowmemorykiller: Killing 'syz-executor451' (2213) (tgid 2213), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3332) because cache 19308kB is below limit 65536kB for oom_score_adj 12 Free memory is 37948kB above reserved lowmemorykiller: Killing 'syz-executor451' (2216) (tgid 2216), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3332) because cache 19308kB is below limit 65536kB for oom_score_adj 12 Free memory is 54844kB above reserved lowmemorykiller: Killing 'syz-executor451' (3335) (tgid 3335), adj 1000, to free 16832kB on behalf of 'kswapd0' (33) because cache 22708kB is below limit 65536kB for oom_score_adj 12 Free memory is -8720kB above reserved lowmemorykiller: Killing 'syz-executor451' (3348) (tgid 3348), adj 1000, to free 17008kB on behalf of 'syz-executor451' (3349) because cache 18208kB is below limit 65536kB for oom_score_adj 12 Free memory is -11868kB above reserved lowmemorykiller: Killing 'syz-executor451' (3349) (tgid 3348), adj 1000, to free 17528kB on behalf of 'syz-executor451' (3349) because cache 18208kB is below limit 65536kB for oom_score_adj 12 Free memory is -11868kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 3349, name: syz-executor451 INFO: lockdep is turned off. Preemption disabled at: [<00000000a4b4f341>] spin_lock include/linux/spinlock.h:302 [inline] [<00000000a4b4f341>] task_lock include/linux/sched.h:3217 [inline] [<00000000a4b4f341>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 CPU: 1 PID: 3349 Comm: syz-executor451 Tainted: G W 4.9.180+ #4 ffff8801cfb7f4c8 ffffffff81b577f1 0000000000000000 0000000000000001 ffff8801c5755f00 ffffffff810d0c30 ffff8801c5755f00 ffff8801cfb7f500 ffffffff8140008c ffff8801c5755f00 ffffffff82a39900 0000000000000387 Call Trace: [<00000000cbe7c0e4>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000cbe7c0e4>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000d1ce270b>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<00000000cdc39025>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<000000003f8005c7>] mmput+0x28/0x370 kernel/fork.c:903 [<000000006f51273f>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<00000000085c7220>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000df9fa897>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000df9fa897>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<000000002b86e8c2>] shrink_slab mm/vmscan.c:466 [inline] [<000000002b86e8c2>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000edd2f81d>] shrink_zones mm/vmscan.c:2751 [inline] [<00000000edd2f81d>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<00000000edd2f81d>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<0000000005b98c17>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<0000000005b98c17>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<0000000005b98c17>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<0000000005b98c17>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<00000000e67b2e33>] __alloc_pages include/linux/gfp.h:433 [inline] [<00000000e67b2e33>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<00000000e67b2e33>] alloc_pages_node include/linux/gfp.h:460 [inline] [<00000000e67b2e33>] alloc_thread_stack_node kernel/fork.c:212 [inline] [<00000000e67b2e33>] dup_task_struct kernel/fork.c:492 [inline] [<00000000e67b2e33>] copy_process.part.0+0x286/0x63f0 kernel/fork.c:1534 [<00000000c545c10b>] copy_process kernel/fork.c:1505 [inline] [<00000000c545c10b>] _do_fork+0x1b8/0xd40 kernel/fork.c:1985 [<000000008033822e>] SYSC_clone kernel/fork.c:2097 [inline] [<000000008033822e>] SyS_clone+0x37/0x50 kernel/fork.c:2091 [<0000000053163df3>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<0000000056e5c7dd>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb lowmemorykiller: Killing 'syz-executor451' (2219) (tgid 2219), adj 1000, to free 16824kB on behalf of 'syz-executor451' (2084) because cache 35608kB is below limit 65536kB for oom_score_adj 12 Free memory is -13288kB above reserved lowmemorykiller: Killing 'syz-executor451' (2222) (tgid 2222), adj 1000, to free 16824kB on behalf of 'syz-executor451' (2084) because cache 32208kB is below limit 65536kB for oom_score_adj 12 Free memory is -10288kB above reserved lowmemorykiller: Killing 'syz-executor451' (2225) (tgid 2225), adj 1000, to free 16824kB on behalf of 'syz-executor451' (2084) because cache 32208kB is below limit 65536kB for oom_score_adj 12 Free memory is 22740kB above reserved lowmemorykiller: Killing 'syz-executor451' (3363) (tgid 3363), adj 1000, to free 17008kB on behalf of 'syz-executor451' (3364) because cache 14608kB is below limit 16384kB for oom_score_adj 6 Free memory is -9668kB above reserved lowmemorykiller: Killing 'syz-executor451' (3364) (tgid 3363), adj 1000, to free 17528kB on behalf of 'syz-executor451' (3364) because cache 14608kB is below limit 16384kB for oom_score_adj 6 Free memory is -9668kB above reserved lowmemorykiller: Killing 'syz-executor451' (2228) (tgid 2228), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3370) because cache 25908kB is below limit 65536kB for oom_score_adj 12 Free memory is -13328kB above reserved lowmemorykiller: Killing 'syz-executor451' (2233) (tgid 2233), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3370) because cache 24308kB is below limit 65536kB for oom_score_adj 12 Free memory is -13180kB above reserved lowmemorykiller: Killing 'syz-executor451' (2237) (tgid 2237), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3370) because cache 24308kB is below limit 65536kB for oom_score_adj 12 Free memory is -11880kB above reserved lowmemorykiller: Killing 'syz-executor451' (2243) (tgid 2243), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3379) because cache 24708kB is below limit 65536kB for oom_score_adj 12 Free memory is -13276kB above reserved lowmemorykiller: Killing 'syz-executor451' (2246) (tgid 2246), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3379) because cache 24708kB is below limit 65536kB for oom_score_adj 12 Free memory is 3248kB above reserved lowmemorykiller: Killing 'syz-executor451' (2249) (tgid 2249), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3379) because cache 24708kB is below limit 65536kB for oom_score_adj 12 Free memory is 20144kB above reserved lowmemorykiller: Killing 'syz-executor451' (2252) (tgid 2252), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3379) because cache 24708kB is below limit 65536kB for oom_score_adj 12 Free memory is 34244kB above reserved lowmemorykiller: Killing 'syz-executor451' (2255) (tgid 2255), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3379) because cache 24708kB is below limit 65536kB for oom_score_adj 12 Free memory is 54060kB above reserved lowmemorykiller: Killing 'syz-executor451' (3381) (tgid 3381), adj 1000, to free 16832kB on behalf of 'kswapd0' (33) because cache 12908kB is below limit 65536kB for oom_score_adj 12 Free memory is 25836kB above reserved lowmemorykiller: Killing 'syz-executor451' (3394) (tgid 3394), adj 1000, to free 17008kB on behalf of 'kswapd0' (33) because cache 12644kB is below limit 16384kB for oom_score_adj 6 Free memory is -7668kB above reserved lowmemorykiller: Killing 'syz-executor451' (3395) (tgid 3394), adj 1000, to free 17528kB on behalf of 'kswapd0' (33) because cache 12644kB is below limit 16384kB for oom_score_adj 6 Free memory is -7668kB above reserved lowmemorykiller: Killing 'syz-executor451' (2258) (tgid 2258), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 30244kB is below limit 65536kB for oom_score_adj 12 Free memory is -7668kB above reserved lowmemorykiller: Killing 'syz-executor451' (2261) (tgid 2261), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 30240kB is below limit 65536kB for oom_score_adj 12 Free memory is 25656kB above reserved lowmemorykiller: Killing 'syz-executor451' (2264) (tgid 2264), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 13240kB is below limit 65536kB for oom_score_adj 12 Free memory is 25656kB above reserved lowmemorykiller: Killing 'syz-executor451' (2267) (tgid 2267), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 30340kB is below limit 65536kB for oom_score_adj 12 Free memory is 42244kB above reserved lowmemorykiller: Killing 'syz-executor451' (2270) (tgid 2270), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 13240kB is below limit 65536kB for oom_score_adj 12 Free memory is 42540kB above reserved lowmemorykiller: Killing 'syz-executor451' (3412) (tgid 3412), adj 1000, to free 17008kB on behalf of 'kswapd0' (33) because cache 12652kB is below limit 16384kB for oom_score_adj 6 Free memory is -6820kB above reserved lowmemorykiller: Killing 'syz-executor451' (3413) (tgid 3412), adj 1000, to free 17528kB on behalf of 'kswapd0' (33) because cache 12652kB is below limit 16384kB for oom_score_adj 6 Free memory is -6976kB above reserved lowmemorykiller: Killing 'syz-executor451' (2273) (tgid 2273), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 30252kB is below limit 65536kB for oom_score_adj 12 Free memory is -6976kB above reserved lowmemorykiller: Killing 'syz-executor451' (2276) (tgid 2276), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 30348kB is below limit 65536kB for oom_score_adj 12 Free memory is 26256kB above reserved lowmemorykiller: Killing 'syz-executor451' (2279) (tgid 2279), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 12648kB is below limit 65536kB for oom_score_adj 12 Free memory is 27844kB above reserved lowmemorykiller: Killing 'syz-executor451' (2282) (tgid 2282), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 13448kB is below limit 65536kB for oom_score_adj 12 Free memory is 44152kB above reserved lowmemorykiller: Killing 'syz-executor451' (3427) (tgid 3427), adj 1000, to free 17008kB on behalf of 'kswapd0' (33) because cache 12660kB is below limit 16384kB for oom_score_adj 6 Free memory is -5920kB above reserved lowmemorykiller: Killing 'syz-executor451' (3428) (tgid 3427), adj 1000, to free 17528kB on behalf of 'kswapd0' (33) because cache 12660kB is below limit 16384kB for oom_score_adj 6 Free memory is -5888kB above reserved lowmemorykiller: Killing 'syz-executor451' (2285) (tgid 2285), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 30260kB is below limit 65536kB for oom_score_adj 12 Free memory is -6076kB above reserved lowmemorykiller: Killing 'syz-executor451' (2288) (tgid 2288), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 30260kB is below limit 65536kB for oom_score_adj 12 Free memory is 26700kB above reserved lowmemorykiller: Killing 'syz-executor451' (3430) (tgid 3430), adj 1000, to free 17008kB on behalf of 'kswapd0' (33) because cache 13060kB is below limit 65536kB for oom_score_adj 12 Free memory is 27652kB above reserved lowmemorykiller: Killing 'syz-executor451' (2291) (tgid 2291), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 30260kB is below limit 65536kB for oom_score_adj 12 Free memory is 27356kB above reserved lowmemorykiller: Killing 'syz-executor451' (2294) (tgid 2294), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 30260kB is below limit 65536kB for oom_score_adj 12 Free memory is 60388kB above reserved lowmemorykiller: Killing 'syz-executor451' (2297) (tgid 2297), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 30364kB is below limit 65536kB for oom_score_adj 12 Free memory is -6396kB above reserved lowmemorykiller: Killing 'syz-executor451' (2300) (tgid 2300), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3448) because cache 22164kB is below limit 65536kB for oom_score_adj 12 Free memory is -13264kB above reserved lowmemorykiller: Killing 'syz-executor451' (2303) (tgid 2303), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 22164kB is below limit 65536kB for oom_score_adj 12 Free memory is 15712kB above reserved lowmemorykiller: Killing 'syz-executor451' (2306) (tgid 2306), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 22164kB is below limit 65536kB for oom_score_adj 12 Free memory is 35912kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 33, name: kswapd0 INFO: lockdep is turned off. Preemption disabled at: [<00000000a4b4f341>] spin_lock include/linux/spinlock.h:302 [inline] [<00000000a4b4f341>] task_lock include/linux/sched.h:3217 [inline] [<00000000a4b4f341>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 CPU: 1 PID: 33 Comm: kswapd0 Tainted: G W 4.9.180+ #4 ffff8801d8ddf7c0 ffffffff81b577f1 0000000000000000 0000000000000001 ffff8801d9c45f00 ffffffff810d0c30 ffff8801d9c45f00 ffff8801d8ddf7f8 ffffffff8140008c ffff8801d9c45f00 ffffffff82a39900 0000000000000387 Call Trace: [<00000000cbe7c0e4>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000cbe7c0e4>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000d1ce270b>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<00000000cdc39025>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<000000003f8005c7>] mmput+0x28/0x370 kernel/fork.c:903 [<000000006f51273f>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<00000000085c7220>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000df9fa897>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000df9fa897>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<000000002b86e8c2>] shrink_slab mm/vmscan.c:466 [inline] [<000000002b86e8c2>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<0000000071f25fa9>] kswapd_shrink_node mm/vmscan.c:3209 [inline] [<0000000071f25fa9>] balance_pgdat mm/vmscan.c:3329 [inline] [<0000000071f25fa9>] kswapd+0x7f8/0x13b0 mm/vmscan.c:3523 [<0000000019ba0f66>] kthread+0x278/0x310 kernel/kthread.c:211 [<000000002b71b1f5>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:375 lowmemorykiller: Killing 'syz-executor451' (2309) (tgid 2309), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3448) because cache 22092kB is below limit 65536kB for oom_score_adj 12 Free memory is 53420kB above reserved lowmemorykiller: Killing 'syz-executor451' (3460) (tgid 3460), adj 1000, to free 17008kB on behalf of 'kswapd0' (33) because cache 12156kB is below limit 16384kB for oom_score_adj 6 Free memory is -5936kB above reserved lowmemorykiller: Killing 'syz-executor451' (3461) (tgid 3460), adj 1000, to free 17528kB on behalf of 'kswapd0' (33) because cache 12156kB is below limit 16384kB for oom_score_adj 6 Free memory is -6124kB above reserved lowmemorykiller: Killing 'syz-executor451' (3450) (tgid 3450), adj 1000, to free 16832kB on behalf of 'kswapd0' (33) because cache 29756kB is below limit 65536kB for oom_score_adj 12 Free memory is -6124kB above reserved lowmemorykiller: Killing 'syz-executor451' (2312) (tgid 2312), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 29852kB is below limit 65536kB for oom_score_adj 12 Free memory is 27204kB above reserved lowmemorykiller: Killing 'syz-executor451' (2315) (tgid 2315), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 29852kB is below limit 65536kB for oom_score_adj 12 Free memory is 44036kB above reserved lowmemorykiller: Killing 'syz-executor451' (2318) (tgid 2318), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 12752kB is below limit 65536kB for oom_score_adj 12 Free memory is 43936kB above reserved lowmemorykiller: Killing 'syz-executor451' (2321) (tgid 2321), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 29852kB is below limit 65536kB for oom_score_adj 12 Free memory is 60336kB above reserved lowmemorykiller: Killing 'syz-executor451' (3478) (tgid 3478), adj 1000, to free 17008kB on behalf of 'kswapd0' (33) because cache 12208kB is below limit 16384kB for oom_score_adj 6 Free memory is -6500kB above reserved lowmemorykiller: Killing 'syz-executor451' (3479) (tgid 3478), adj 1000, to free 17528kB on behalf of 'kswapd0' (33) because cache 12208kB is below limit 16384kB for oom_score_adj 6 Free memory is -6500kB above reserved lowmemorykiller: Killing 'syz-executor451' (2324) (tgid 2324), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 29808kB is below limit 65536kB for oom_score_adj 12 Free memory is -6656kB above reserved lowmemorykiller: Killing 'syz-executor451' (2327) (tgid 2327), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 29904kB is below limit 65536kB for oom_score_adj 12 Free memory is 26568kB above reserved lowmemorykiller: Killing 'syz-executor451' (2330) (tgid 2330), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 12804kB is below limit 65536kB for oom_score_adj 12 Free memory is 26880kB above reserved lowmemorykiller: Killing 'syz-executor451' (2333) (tgid 2333), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 29904kB is below limit 65536kB for oom_score_adj 12 Free memory is 43304kB above reserved lowmemorykiller: Killing 'syz-executor451' (2336) (tgid 2336), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 29968kB is below limit 65536kB for oom_score_adj 12 Free memory is -6676kB above reserved lowmemorykiller: Killing 'syz-executor451' (2339) (tgid 2339), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3497) because cache 21968kB is below limit 65536kB for oom_score_adj 12 Free memory is -13360kB above reserved lowmemorykiller: Killing 'syz-executor451' (2342) (tgid 2342), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 21968kB is below limit 65536kB for oom_score_adj 12 Free memory is 18616kB above reserved lowmemorykiller: Killing 'syz-executor451' (2345) (tgid 2345), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 21968kB is below limit 65536kB for oom_score_adj 12 Free memory is 36384kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 33, name: kswapd0 INFO: lockdep is turned off. Preemption disabled at: [<00000000a4b4f341>] spin_lock include/linux/spinlock.h:302 [inline] [<00000000a4b4f341>] task_lock include/linux/sched.h:3217 [inline] [<00000000a4b4f341>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 CPU: 0 PID: 33 Comm: kswapd0 Tainted: G W 4.9.180+ #4 ffff8801d8ddf7c0 ffffffff81b577f1 0000000000000000 0000000000000001 ffff8801d9c45f00 ffffffff810d0c30 ffff8801d9c45f00 ffff8801d8ddf7f8 ffffffff8140008c ffff8801d9c45f00 ffffffff82a39900 0000000000000387 Call Trace: [<00000000cbe7c0e4>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000cbe7c0e4>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000d1ce270b>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<00000000cdc39025>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<000000003f8005c7>] mmput+0x28/0x370 kernel/fork.c:903 [<000000006f51273f>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<00000000085c7220>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000df9fa897>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000df9fa897>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<000000002b86e8c2>] shrink_slab mm/vmscan.c:466 [inline] [<000000002b86e8c2>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<0000000071f25fa9>] kswapd_shrink_node mm/vmscan.c:3209 [inline] [<0000000071f25fa9>] balance_pgdat mm/vmscan.c:3329 [inline] [<0000000071f25fa9>] kswapd+0x7f8/0x13b0 mm/vmscan.c:3523 [<0000000019ba0f66>] kthread+0x278/0x310 kernel/kthread.c:211 [<000000002b71b1f5>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:375 lowmemorykiller: Killing 'syz-executor451' (2348) (tgid 2348), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3497) because cache 21972kB is below limit 65536kB for oom_score_adj 12 Free memory is 53964kB above reserved lowmemorykiller: Killing 'syz-executor451' (3509) (tgid 3509), adj 1000, to free 17008kB on behalf of 'kswapd0' (33) because cache 11864kB is below limit 16384kB for oom_score_adj 6 Free memory is -5652kB above reserved lowmemorykiller: Killing 'syz-executor451' (3510) (tgid 3509), adj 1000, to free 17528kB on behalf of 'kswapd0' (33) because cache 11864kB is below limit 16384kB for oom_score_adj 6 Free memory is -5840kB above reserved lowmemorykiller: Killing 'syz-executor451' (3499) (tgid 3499), adj 1000, to free 16832kB on behalf of 'kswapd0' (33) because cache 29464kB is below limit 65536kB for oom_score_adj 12 Free memory is -3340kB above reserved lowmemorykiller: Killing 'syz-executor451' (2351) (tgid 2351), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 29560kB is below limit 65536kB for oom_score_adj 12 Free memory is 27488kB above reserved lowmemorykiller: Killing 'syz-executor451' (2354) (tgid 2354), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 12460kB is below limit 65536kB for oom_score_adj 12 Free memory is 27352kB above reserved lowmemorykiller: Killing 'syz-executor451' (2357) (tgid 2357), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 27460kB is below limit 65536kB for oom_score_adj 12 Free memory is 43100kB above reserved lowmemorykiller: Killing 'syz-executor451' (2360) (tgid 2360), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 12560kB is below limit 65536kB for oom_score_adj 12 Free memory is 44376kB above reserved lowmemorykiller: Killing 'syz-executor451' (2363) (tgid 2363), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 23980kB is below limit 65536kB for oom_score_adj 12 Free memory is -9680kB above reserved lowmemorykiller: Killing 'syz-executor451' (2366) (tgid 2366), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 13180kB is below limit 16384kB for oom_score_adj 6 Free memory is -4876kB above reserved lowmemorykiller: Killing 'syz-executor451' (2369) (tgid 2369), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 29580kB is below limit 65536kB for oom_score_adj 12 Free memory is 11464kB above reserved lowmemorykiller: Killing 'syz-executor451' (3533) (tgid 3533), adj 1000, to free 17008kB on behalf of 'kswapd0' (33) because cache 11980kB is below limit 16384kB for oom_score_adj 6 Free memory is 11912kB above reserved lowmemorykiller: Killing 'syz-executor451' (2372) (tgid 2372), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 26480kB is below limit 65536kB for oom_score_adj 12 Free memory is 11664kB above reserved lowmemorykiller: Killing 'syz-executor451' (2375) (tgid 2375), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 29580kB is below limit 65536kB for oom_score_adj 12 Free memory is 45164kB above reserved lowmemorykiller: Killing 'syz-executor451' (2378) (tgid 2378), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 12480kB is below limit 65536kB for oom_score_adj 12 Free memory is 45732kB above reserved lowmemorykiller: Killing 'syz-executor451' (2381) (tgid 2381), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 23988kB is below limit 65536kB for oom_score_adj 12 Free memory is -9716kB above reserved lowmemorykiller: Killing 'syz-executor451' (2384) (tgid 2384), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 12188kB is below limit 16384kB for oom_score_adj 6 Free memory is -4912kB above reserved lowmemorykiller: Killing 'syz-executor451' (2387) (tgid 2387), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 25888kB is below limit 65536kB for oom_score_adj 12 Free memory is 11688kB above reserved lowmemorykiller: Killing 'syz-executor451' (2390) (tgid 2390), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 12188kB is below limit 16384kB for oom_score_adj 6 Free memory is 12456kB above reserved lowmemorykiller: Killing 'syz-executor451' (2393) (tgid 2393), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 23788kB is below limit 65536kB for oom_score_adj 12 Free memory is 28856kB above reserved lowmemorykiller: Killing 'syz-executor451' (2396) (tgid 2396), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 12088kB is below limit 65536kB for oom_score_adj 12 Free memory is 29352kB above reserved lowmemorykiller: Killing 'syz-executor451' (2399) (tgid 2399), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 22188kB is below limit 65536kB for oom_score_adj 12 Free memory is 45752kB above reserved lowmemorykiller: Killing 'syz-executor451' (2402) (tgid 2402), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 23344kB is below limit 65536kB for oom_score_adj 12 Free memory is -9620kB above reserved lowmemorykiller: Killing 'syz-executor451' (2405) (tgid 2405), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3573) because cache 18544kB is below limit 65536kB for oom_score_adj 12 Free memory is -13264kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 3573, name: syz-executor451 INFO: lockdep is turned off. Preemption disabled at: [<00000000a4b4f341>] spin_lock include/linux/spinlock.h:302 [inline] [<00000000a4b4f341>] task_lock include/linux/sched.h:3217 [inline] [<00000000a4b4f341>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 CPU: 1 PID: 3573 Comm: syz-executor451 Tainted: G W 4.9.180+ #4 ffff8801ca80f440 ffffffff81b577f1 0000000000000000 0000000000000001 ffff8801ca8517c0 ffffffff810d0c30 ffff8801ca8517c0 ffff8801ca80f478 ffffffff8140008c ffff8801ca8517c0 ffffffff82a39900 0000000000000387 Call Trace: [<00000000cbe7c0e4>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000cbe7c0e4>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000d1ce270b>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<00000000cdc39025>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<000000003f8005c7>] mmput+0x28/0x370 kernel/fork.c:903 [<000000006f51273f>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<00000000085c7220>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000df9fa897>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000df9fa897>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<000000002b86e8c2>] shrink_slab mm/vmscan.c:466 [inline] [<000000002b86e8c2>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000edd2f81d>] shrink_zones mm/vmscan.c:2751 [inline] [<00000000edd2f81d>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<00000000edd2f81d>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<0000000005b98c17>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<0000000005b98c17>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<0000000005b98c17>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<0000000005b98c17>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<0000000091c4dcc8>] __alloc_pages include/linux/gfp.h:433 [inline] [<0000000091c4dcc8>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<0000000091c4dcc8>] alloc_pages_node include/linux/gfp.h:460 [inline] [<0000000091c4dcc8>] alloc_zeroed_user_highpage_movable include/linux/highmem.h:183 [inline] [<0000000091c4dcc8>] do_anonymous_page mm/memory.c:2761 [inline] [<0000000091c4dcc8>] handle_pte_fault mm/memory.c:3545 [inline] [<0000000091c4dcc8>] __handle_mm_fault mm/memory.c:3634 [inline] [<0000000091c4dcc8>] handle_mm_fault+0x12e1/0x2420 mm/memory.c:3671 [<00000000d4598384>] faultin_page mm/gup.c:386 [inline] [<00000000d4598384>] __get_user_pages+0x3c7/0x1060 mm/gup.c:588 [<000000002f3abc98>] populate_vma_page_range+0x19a/0x230 mm/gup.c:1106 [<00000000a4265b17>] __mm_populate+0x1b9/0x300 mm/gup.c:1154 [<000000007e3fed3f>] mm_populate include/linux/mm.h:2052 [inline] [<000000007e3fed3f>] SYSC_mlockall mm/mlock.c:817 [inline] [<000000007e3fed3f>] SyS_mlockall+0x405/0x530 mm/mlock.c:791 [<0000000053163df3>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<0000000056e5c7dd>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb lowmemorykiller: Killing 'syz-executor451' (2408) (tgid 2408), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3579) because cache 18932kB is below limit 65536kB for oom_score_adj 12 Free memory is -13220kB above reserved lowmemorykiller: Killing 'syz-executor451' (2411) (tgid 2411), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3579) because cache 18932kB is below limit 65536kB for oom_score_adj 12 Free memory is 3180kB above reserved lowmemorykiller: Killing 'syz-executor451' (2414) (tgid 2414), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3585) because cache 18532kB is below limit 65536kB for oom_score_adj 12 Free memory is -13280kB above reserved lowmemorykiller: Killing 'syz-executor451' (2417) (tgid 2417), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3585) because cache 18532kB is below limit 65536kB for oom_score_adj 12 Free memory is 804kB above reserved lowmemorykiller: Killing 'syz-executor451' (2420) (tgid 2420), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3585) because cache 18532kB is below limit 65536kB for oom_score_adj 12 Free memory is 18204kB above reserved lowmemorykiller: Killing 'syz-executor451' (2423) (tgid 2423), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3585) because cache 18532kB is below limit 65536kB for oom_score_adj 12 Free memory is 37004kB above reserved lowmemorykiller: Killing 'syz-executor451' (2426) (tgid 2426), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3585) because cache 18532kB is below limit 65536kB for oom_score_adj 12 Free memory is 53932kB above reserved lowmemorykiller: Killing 'syz-executor451' (3587) (tgid 3587), adj 1000, to free 16832kB on behalf of 'syz-executor451' (3601) because cache 18580kB is below limit 65536kB for oom_score_adj 12 Free memory is -13240kB above reserved lowmemorykiller: Killing 'syz-executor451' (2429) (tgid 2429), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3601) because cache 17380kB is below limit 65536kB for oom_score_adj 12 Free memory is -13312kB above reserved lowmemorykiller: Killing 'syz-executor451' (2432) (tgid 2432), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3601) because cache 17380kB is below limit 65536kB for oom_score_adj 12 Free memory is 19288kB above reserved lowmemorykiller: Killing 'syz-executor451' (2435) (tgid 2435), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3601) because cache 17380kB is below limit 65536kB for oom_score_adj 12 Free memory is 19412kB above reserved lowmemorykiller: Killing 'syz-executor451' (2438) (tgid 2438), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3601) because cache 17380kB is below limit 65536kB for oom_score_adj 12 Free memory is 53108kB above reserved lowmemorykiller: Killing 'syz-executor451' (2441) (tgid 2441), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 10980kB is below limit 65536kB for oom_score_adj 12 Free memory is 30508kB above reserved lowmemorykiller: Killing 'syz-executor451' (2444) (tgid 2444), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 24580kB is below limit 65536kB for oom_score_adj 12 Free memory is 46908kB above reserved lowmemorykiller: Killing 'syz-executor451' (2447) (tgid 2447), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 28416kB is below limit 65536kB for oom_score_adj 12 Free memory is 63852kB above reserved lowmemorykiller: Killing 'syz-executor451' (2450) (tgid 2450), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 11316kB is below limit 65536kB for oom_score_adj 12 Free memory is 64284kB above reserved lowmemorykiller: Killing 'syz-executor451' (2453) (tgid 2453), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 20820kB is below limit 65536kB for oom_score_adj 12 Free memory is -9656kB above reserved lowmemorykiller: Killing 'syz-executor451' (2456) (tgid 2456), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 11120kB is below limit 16384kB for oom_score_adj 6 Free memory is -2712kB above reserved lowmemorykiller: Killing 'syz-executor451' (2459) (tgid 2459), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 28384kB is below limit 65536kB for oom_score_adj 12 Free memory is 13820kB above reserved lowmemorykiller: Killing 'syz-executor451' (2462) (tgid 2462), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 28424kB is below limit 65536kB for oom_score_adj 12 Free memory is 30676kB above reserved lowmemorykiller: Killing 'syz-executor451' (2465) (tgid 2465), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 11324kB is below limit 65536kB for oom_score_adj 12 Free memory is 30708kB above reserved lowmemorykiller: Killing 'syz-executor451' (2468) (tgid 2468), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 28424kB is below limit 65536kB for oom_score_adj 12 Free memory is 46984kB above reserved lowmemorykiller: Killing 'syz-executor451' (2471) (tgid 2471), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 28424kB is below limit 65536kB for oom_score_adj 12 Free memory is 64104kB above reserved lowmemorykiller: Killing 'syz-executor451' (2474) (tgid 2474), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 11224kB is below limit 65536kB for oom_score_adj 12 Free memory is 64484kB above reserved lowmemorykiller: Killing 'syz-executor451' (2477) (tgid 2477), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 20928kB is below limit 65536kB for oom_score_adj 12 Free memory is -9716kB above reserved lowmemorykiller: Killing 'syz-executor451' (2480) (tgid 2480), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 11128kB is below limit 16384kB for oom_score_adj 6 Free memory is -3020kB above reserved lowmemorykiller: Killing 'syz-executor451' (2483) (tgid 2483), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 27828kB is below limit 65536kB for oom_score_adj 12 Free memory is 13380kB above reserved lowmemorykiller: Killing 'syz-executor451' (2486) (tgid 2486), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 11328kB is below limit 16384kB for oom_score_adj 6 Free memory is 13340kB above reserved lowmemorykiller: Killing 'syz-executor451' (2489) (tgid 2489), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 28428kB is below limit 65536kB for oom_score_adj 12 Free memory is 30052kB above reserved lowmemorykiller: Killing 'syz-executor451' (2492) (tgid 2492), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 11228kB is below limit 65536kB for oom_score_adj 12 Free memory is 30280kB above reserved lowmemorykiller: Killing 'syz-executor451' (2495) (tgid 2495), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 28428kB is below limit 65536kB for oom_score_adj 12 Free memory is 46648kB above reserved lowmemorykiller: Killing 'syz-executor451' (2498) (tgid 2498), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 20228kB is below limit 65536kB for oom_score_adj 12 Free memory is -9668kB above reserved lowmemorykiller: Killing 'syz-executor451' (2501) (tgid 2501), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3673) because cache 15828kB is below limit 16384kB for oom_score_adj 6 Free memory is -13364kB above reserved lowmemorykiller: Killing 'syz-executor451' (2504) (tgid 2504), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 15828kB is below limit 65536kB for oom_score_adj 12 Free memory is 18528kB above reserved lowmemorykiller: Killing 'syz-executor451' (2507) (tgid 2507), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 15828kB is below limit 65536kB for oom_score_adj 12 Free memory is 34828kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 33, name: kswapd0 INFO: lockdep is turned off. Preemption disabled at: [<00000000a4b4f341>] spin_lock include/linux/spinlock.h:302 [inline] [<00000000a4b4f341>] task_lock include/linux/sched.h:3217 [inline] [<00000000a4b4f341>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 CPU: 1 PID: 33 Comm: kswapd0 Tainted: G W 4.9.180+ #4 ffff8801d8ddf7c0 ffffffff81b577f1 0000000000000000 0000000000000001 ffff8801d9c45f00 ffffffff810d0c30 ffff8801d9c45f00 ffff8801d8ddf7f8 ffffffff8140008c ffff8801d9c45f00 ffffffff82a39900 0000000000000387 Call Trace: [<00000000cbe7c0e4>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000cbe7c0e4>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000d1ce270b>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<00000000cdc39025>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<000000003f8005c7>] mmput+0x28/0x370 kernel/fork.c:903 [<000000006f51273f>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<00000000085c7220>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000df9fa897>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000df9fa897>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<000000002b86e8c2>] shrink_slab mm/vmscan.c:466 [inline] [<000000002b86e8c2>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<0000000071f25fa9>] kswapd_shrink_node mm/vmscan.c:3209 [inline] [<0000000071f25fa9>] balance_pgdat mm/vmscan.c:3329 [inline] [<0000000071f25fa9>] kswapd+0x7f8/0x13b0 mm/vmscan.c:3523 [<0000000019ba0f66>] kthread+0x278/0x310 kernel/kthread.c:211 [<000000002b71b1f5>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:375 lowmemorykiller: Killing 'syz-executor451' (2510) (tgid 2510), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3673) because cache 15828kB is below limit 65536kB for oom_score_adj 12 Free memory is 53268kB above reserved lowmemorykiller: Killing 'syz-executor451' (3675) (tgid 3675), adj 1000, to free 16832kB on behalf of 'kswapd0' (33) because cache 19536kB is below limit 65536kB for oom_score_adj 12 Free memory is -9820kB above reserved lowmemorykiller: Killing 'syz-executor451' (2513) (tgid 2513), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3689) because cache 15436kB is below limit 16384kB for oom_score_adj 6 Free memory is -13312kB above reserved lowmemorykiller: Killing 'syz-executor451' (2516) (tgid 2516), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 15436kB is below limit 65536kB for oom_score_adj 12 Free memory is 19164kB above reserved lowmemorykiller: Killing 'syz-executor451' (2519) (tgid 2519), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 15436kB is below limit 65536kB for oom_score_adj 12 Free memory is 35940kB above reserved lowmemorykiller: Killing 'syz-executor451' (2522) (tgid 2522), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3689) because cache 15568kB is below limit 65536kB for oom_score_adj 12 Free memory is 53132kB above reserved lowmemorykiller: Killing 'syz-executor451' (3691) (tgid 3691), adj 1000, to free 16832kB on behalf of 'kswapd0' (33) because cache 19176kB is below limit 65536kB for oom_score_adj 12 Free memory is -9668kB above reserved lowmemorykiller: Killing 'syz-executor451' (2525) (tgid 2525), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3705) because cache 14976kB is below limit 16384kB for oom_score_adj 6 Free memory is -13420kB above reserved lowmemorykiller: Killing 'syz-executor451' (2528) (tgid 2528), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 24784kB is below limit 65536kB for oom_score_adj 12 Free memory is 12872kB above reserved lowmemorykiller: Killing 'syz-executor451' (2531) (tgid 2531), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 9684kB is below limit 16384kB for oom_score_adj 6 Free memory is 15320kB above reserved lowmemorykiller: Killing 'syz-executor451' (2534) (tgid 2534), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 9812kB is below limit 16384kB for oom_score_adj 6 Free memory is 15352kB above reserved lowmemorykiller: Killing 'syz-executor451' (2537) (tgid 2537), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 9912kB is below limit 65536kB for oom_score_adj 12 Free memory is 31876kB above reserved lowmemorykiller: Killing 'syz-executor451' (2540) (tgid 2540), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 22312kB is below limit 65536kB for oom_score_adj 12 Free memory is 48676kB above reserved lowmemorykiller: Killing 'syz-executor451' (2543) (tgid 2543), adj 1000, to free 16824kB on behalf of 'kswapd0' (33) because cache 17896kB is below limit 65536kB for oom_score_adj 12 Free memory is -9796kB above reserved lowmemorykiller: Killing 'syz-executor451' (2546) (tgid 2546), adj 1000, to free 16824kB on behalf of 'syz-executor451' (3726) because cache 13796kB is below limit 16384kB for oom_score_adj 6 Free memory is -13300kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 3726, name: syz-executor451 INFO: lockdep is turned off. Preemption disabled at: [<00000000a4b4f341>] spin_lock include/linux/spinlock.h:302 [inline] [<00000000a4b4f341>] task_lock include/linux/sched.h:3217 [inline] [<00000000a4b4f341>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 CPU: 0 PID: 3726 Comm: syz-executor451 Tainted: G W 4.9.180+ #4 ffff8801cab0f440 ffffffff81b577f1 0000000000000000 0000000000000001 ffff8801ca90df00 ffffffff810d0c30 ffff8801ca90df00 ffff8801cab0f478 ffffffff8140008c ffff8801ca90df00 ffffffff82a39900 0000000000000387 Call Trace: [<00000000cbe7c0e4>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000cbe7c0e4>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000d1ce270b>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<00000000cdc39025>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<000000003f8005c7>] mmput+0x28/0x370 kernel/fork.c:903 [<000000006f51273f>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<00000000085c7220>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000df9fa897>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000df9fa897>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<000000002b86e8c2>] shrink_slab mm/vmscan.c:466 [inline] [<000000002b86e8c2>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000edd2f81d>] shrink_zones mm/vmscan.c:2751 [inline] [<00000000edd2f81d>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<00000000edd2f81d>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<0000000005b98c17>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<0000000005b98c17>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<0000000005b98c17>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<0000000005b98c17>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<0000000091c4dcc8>] __alloc_pages include/linux/gfp.h:433 [inline] [<0000000091c4dcc8>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<0000000091c4dcc8>] alloc_pages_node include/linux/gfp.h:460 [inline] [<0000000091c4dcc8>] alloc_zeroed_user_highpage_movable include/linux/highmem.h:183 [inline] [<0000000091c4dcc8>] do_anonymous_page mm/memory.c:2761 [inline] [<0000000091c4dcc8>] handle_pte_fault mm/memory.c:3545 [inline] [<0000000091c4dcc8>] __handle_mm_fault mm/memory.c:3634 [inline] [<0000000091c4dcc8>] handle_mm_fault+0x12e1/0x2420 mm/memory.c:3671 [<00000000d4598384>] faultin_page mm/gup.c:386 [inline] [<00000000d4598384>] __get_user_pages+0x3c7/0x1060 mm/gup.c:588 [<000000002f3abc98>] populate_vma_page_range+0x19a/0x230 mm/gup.c:1106 [<00000000a4265b17>] __mm_populate+0x1b9/0x300 mm/gup.c:1154