cache 62456kB is below limit 65536kB for oom_score_adj 12 Free memory is 1456kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:905 in_atomic(): 0, irqs_disabled(): 0, pid: 21773, name: syz-executor.0 3 locks held by syz-executor.0/21773: #0: (&mm->mmap_sem){++++++}, at: [<000000005a89876b>] __mm_populate+0x20c/0x300 mm/gup.c:1143 #1: (shrinker_rwsem){++++..}, at: [<0000000036314f7b>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #2: (rcu_read_lock){......}, at: [<00000000570bb703>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 Preemption disabled at: [<0000000085900535>] spin_lock include/linux/spinlock.h:302 [inline] [<0000000085900535>] task_lock include/linux/sched.h:3217 [inline] [<0000000085900535>] get_task_mm+0x20/0xc0 kernel/fork.c:1012 CPU: 0 PID: 21773 Comm: syz-executor.0 Not tainted 4.9.189+ #1 ffff8800b06b7018 ffffffff81b65c01 0000000000000000 0000000000000001 ffff88005ccd0000 ffffffff810d1010 ffff88005ccd0000 ffff8800b06b7050 ffffffff814018f3 ffff88005ccd0000 ffffffff82a39fc0 0000000000000389 Call Trace: [<00000000c16c6c78>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000c16c6c78>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000000ccd314d>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<000000006fdc172f>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<000000001cedc642>] mmput+0x28/0x370 kernel/fork.c:905 [<00000000540f609e>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<000000004607a238>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<000000006e694e52>] do_shrink_slab mm/vmscan.c:399 [inline] [<000000006e694e52>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000a8597955>] shrink_slab mm/vmscan.c:466 [inline] [<00000000a8597955>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<0000000016c5a9c1>] shrink_zones mm/vmscan.c:2751 [inline] [<0000000016c5a9c1>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<0000000016c5a9c1>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<00000000fc63829e>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<00000000fc63829e>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<00000000fc63829e>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<00000000fc63829e>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<0000000004b84769>] __alloc_pages include/linux/gfp.h:433 [inline] [<0000000004b84769>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<0000000004b84769>] alloc_pages_node include/linux/gfp.h:460 [inline] [<0000000004b84769>] shmem_alloc_page mm/shmem.c:1437 [inline] [<0000000004b84769>] shmem_alloc_and_acct_page mm/shmem.c:1462 [inline] [<0000000004b84769>] shmem_getpage_gfp+0x3f3/0x1b00 mm/shmem.c:1734 [<000000006e50e1c7>] shmem_fault+0x216/0x6b0 mm/shmem.c:1966 [<00000000a953a7a7>] __do_fault+0x2a8/0x6c0 mm/memory.c:2855 [<0000000009f19682>] do_read_fault mm/memory.c:3202 [inline] [<0000000009f19682>] do_fault mm/memory.c:3338 [inline] [<0000000009f19682>] handle_pte_fault mm/memory.c:3547 [inline] [<0000000009f19682>] __handle_mm_fault mm/memory.c:3634 [inline] [<0000000009f19682>] handle_mm_fault+0x11bc/0x2420 mm/memory.c:3671 [<00000000311e9a94>] faultin_page mm/gup.c:395 [inline] [<00000000311e9a94>] __get_user_pages+0x3c7/0x10b0 mm/gup.c:597 [<0000000064e48d64>] populate_vma_page_range+0x19a/0x230 mm/gup.c:1115 [<000000006a0418be>] __mm_populate+0x1b9/0x300 mm/gup.c:1163 [<0000000091fd0d4d>] mm_populate include/linux/mm.h:2080 [inline] [<0000000091fd0d4d>] vm_mmap_pgoff+0x1aa/0x1c0 mm/util.c:333 [<0000000020e644c1>] SYSC_mmap_pgoff mm/mmap.c:1555 [inline] [<0000000020e644c1>] SyS_mmap_pgoff+0x14d/0x1b0 mm/mmap.c:1513 [<000000007dc9e065>] SYSC_mmap arch/x86/kernel/sys_x86_64.c:96 [inline] [<000000007dc9e065>] SyS_mmap+0x16/0x20 arch/x86/kernel/sys_x86_64.c:87 [<00000000faa4a2fc>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<0000000055cc62e7>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb lowmemorykiller: Killing 'syz-executor.2' (17810) (tgid 17810), adj 1000, to free 47488kB on behalf of 'syz-executor.2' (21796) because cache 61656kB is below limit 65536kB for oom_score_adj 12 Free memory is 10656kB above reserved lowmemorykiller: Killing 'syz-executor.1' (4069) (tgid 4069), adj 1000, to free 47484kB on behalf of 'kswapd0' (33) because cache 61356kB is below limit 65536kB for oom_score_adj 12 Free memory is 16856kB above reserved lowmemorykiller: Killing 'syz-executor.2' (16750) (tgid 16750), adj 1000, to free 47468kB on behalf of 'kswapd0' (33) because cache 61356kB is below limit 65536kB for oom_score_adj 12 Free memory is 15900kB above reserved lowmemorykiller: Killing 'syz-executor.2' (16750) (tgid 16750), adj 1000, to free 47468kB on behalf of 'syz-executor.0' (21773) because cache 61256kB is below limit 65536kB for oom_score_adj 12 Free memory is 19228kB above reserved lowmemorykiller: Killing 'syz-executor.1' (2054) (tgid 2054), adj 1000, to free 47468kB on behalf of 'kswapd0' (33) because cache 61256kB is below limit 65536kB for oom_score_adj 12 Free memory is 18784kB above reserved ================================= [ INFO: inconsistent lock state ] 4.9.189+ #1 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: [<000000005c8c52bc>] get_cmdline+0xa3/0x2d0 mm/util.c:641 mark_held_locks+0xb1/0x100 kernel/locking/lockdep.c:2660 __lockdep_trace_alloc kernel/locking/lockdep.c:2882 [inline] lockdep_trace_alloc+0x18c/0x2b0 kernel/locking/lockdep.c:2897 __alloc_pages_nodemask+0x143/0x1a80 mm/page_alloc.c:3803 __alloc_pages include/linux/gfp.h:433 [inline] __alloc_pages_node include/linux/gfp.h:446 [inline] alloc_pages_node include/linux/gfp.h:460 [inline] pmd_alloc_one arch/x86/include/asm/pgalloc.h:88 [inline] __pmd_alloc+0x4a/0x330 mm/memory.c:3742 pmd_alloc include/linux/mm.h:1625 [inline] alloc_new_pmd mm/mremap.c:64 [inline] move_page_tables+0xadb/0xd60 mm/mremap.c:212 shift_arg_pages+0x1ae/0x470 fs/exec.c:642 setup_arg_pages+0x60d/0x7c0 fs/exec.c:754 load_elf_binary+0xa84/0x4a90 fs/binfmt_elf.c:860 search_binary_handler fs/exec.c:1621 [inline] search_binary_handler+0x14f/0x700 fs/exec.c:1599 exec_binprm fs/exec.c:1663 [inline] do_execveat_common.isra.0+0xf81/0x1db0 fs/exec.c:1785 do_execve+0x3a/0x50 fs/exec.c:1829 run_init_process+0x33/0x37 init/main.c:904 try_to_run_init_process+0x18/0x48 init/main.c:913 kernel_init+0xf2/0x163 init/main.c:984 ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:375 irq event stamp: 277611 hardirqs last enabled at (277611): [<000000000cb5c39d>] vprintk_emit+0x25c/0x6f0 kernel/printk/printk.c:1897 hardirqs last disabled at (277610): [<000000005d32b9db>] vprintk_emit+0x6d/0x6f0 kernel/printk/printk.c:1801 softirqs last enabled at (277570): [<000000000617ac1e>] __do_softirq+0x474/0x964 kernel/softirq.c:314 softirqs last disabled at (277529): [<00000000b15a11ef>] invoke_softirq kernel/softirq.c:368 [inline] softirqs last disabled at (277529): [<00000000b15a11ef>] 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: [<0000000036314f7b>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #1: (rcu_read_lock){......}, at: [<00000000570bb703>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 #2: (lmk_event_lock){+.+.-.}, at: [<00000000031b66da>] spin_lock include/linux/spinlock.h:302 [inline] #2: (lmk_event_lock){+.+.-.}, at: [<00000000031b66da>] handle_lmk_event+0xfb/0x8a0 drivers/staging/android/lowmemorykiller.c:114 stack backtrace: CPU: 1 PID: 33 Comm: kswapd0 Tainted: G W 4.9.189+ #1 ffff8801d8407500 ffffffff81b65c01 00000000000000f0 ffff8801d98f97c0 ffffffff83caf5f0 ffff8801d98fa108 ffffffff84250fc0 ffff8801d8407578 ffffffff81408330 0000000000000000 ffffffff00000001 0000000000000001 Call Trace: [<00000000c16c6c78>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000c16c6c78>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000229a43b6>] print_usage_bug kernel/locking/lockdep.c:2387 [inline] [<00000000229a43b6>] print_usage_bug.cold+0x452/0x5a2 kernel/locking/lockdep.c:2354 [<000000009a5f3078>] valid_state kernel/locking/lockdep.c:2400 [inline] [<000000009a5f3078>] mark_lock_irq kernel/locking/lockdep.c:2602 [inline] [<000000009a5f3078>] mark_lock+0x6c7/0x12e0 kernel/locking/lockdep.c:3065 [<00000000a8b1f47b>] mark_irqflags kernel/locking/lockdep.c:2958 [inline] [<00000000a8b1f47b>] __lock_acquire+0x5be/0x4390 kernel/locking/lockdep.c:3302 [<00000000b20ac9b3>] lock_acquire+0x133/0x3d0 kernel/locking/lockdep.c:3756 [<00000000fa08eb4d>] down_read+0x44/0xb0 kernel/locking/rwsem.c:22 [<000000005c8c52bc>] get_cmdline+0xa3/0x2d0 mm/util.c:641 [<00000000ef67188b>] handle_lmk_event+0x13c/0x8a0 drivers/staging/android/lowmemorykiller.c:128 [<000000004607a238>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<000000006e694e52>] do_shrink_slab mm/vmscan.c:399 [inline] [<000000006e694e52>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000a8597955>] shrink_slab mm/vmscan.c:466 [inline] [<00000000a8597955>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000b37525cb>] kswapd_shrink_node mm/vmscan.c:3209 [inline] [<00000000b37525cb>] balance_pgdat mm/vmscan.c:3329 [inline] [<00000000b37525cb>] kswapd+0x7f8/0x13b0 mm/vmscan.c:3523 [<00000000f9230d1b>] kthread+0x278/0x310 kernel/kthread.c:211 [<0000000086f7c39c>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:375 lowmemorykiller: Killing 'syz-executor.1' (2054) (tgid 2054), adj 1000, to free 47468kB on behalf of 'syz-executor.0' (21773) because cache 61256kB is below limit 65536kB for oom_score_adj 12 Free memory is 26484kB above reserved lowmemorykiller: Killing 'syz-executor.1' (15801) (tgid 15801), adj 1000, to free 47464kB on behalf of 'syz-executor.0' (21773) because cache 61256kB is below limit 65536kB for oom_score_adj 12 Free memory is 27336kB above reserved lowmemorykiller: Killing 'syz-executor.1' (15801) (tgid 15801), adj 1000, to free 47464kB on behalf of 'kswapd0' (33) because cache 61256kB is below limit 65536kB for oom_score_adj 12 Free memory is 26692kB above reserved F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop3): Invalid segment count (0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop3): Invalid segment count (0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x70001) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x70001) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop3): Invalid segment count (0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop3): Invalid segment count (0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock lowmemorykiller: Killing 'syz-executor.1' (19382) (tgid 19382), adj 1000, to free 47464kB on behalf of 'kswapd0' (33) because cache 63532kB is below limit 65536kB for oom_score_adj 12 Free memory is -6772kB above reserved F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop3): Invalid segment count (0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock lowmemorykiller: Killing 'syz-executor.1' (25361) (tgid 25361), adj 1000, to free 47464kB on behalf of 'kswapd0' (33) because cache 63432kB is below limit 65536kB for oom_score_adj 12 Free memory is -6756kB above reserved F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop3): Invalid segment count (0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop3): Invalid segment count (0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop3): Invalid segment count (0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop3): Invalid segment count (0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop3): Invalid segment count (0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock lowmemorykiller: Killing 'syz-executor.1' (25397) (tgid 25397), adj 1000, to free 47464kB on behalf of 'kswapd0' (33) because cache 63552kB is below limit 65536kB for oom_score_adj 12 Free memory is -6748kB above reserved lowmemorykiller: Killing 'syz-executor.1' (25425) (tgid 25425), adj 1000, to free 47464kB on behalf of 'kswapd0' (33) because cache 63352kB is below limit 65536kB for oom_score_adj 12 Free memory is -12100kB above reserved lowmemorykiller: Killing 'syz-executor.1' (25466) (tgid 25466), adj 1000, to free 47464kB on behalf of 'kswapd0' (33) because cache 54452kB is below limit 65536kB for oom_score_adj 12 Free memory is 3336kB above reserved F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop3): Invalid segment count (0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop3): Invalid segment count (0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop3): Invalid segment count (0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop3): Invalid segment count (0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) lowmemorykiller: Killing 'syz-executor.1' (25702) (tgid 25702), adj 1000, to free 47464kB on behalf of 'kswapd0' (33) because cache 59668kB is below limit 65536kB for oom_score_adj 12 Free memory is -6776kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:905 in_atomic(): 0, irqs_disabled(): 0, pid: 33, name: kswapd0 INFO: lockdep is turned off. Preemption disabled at: [<0000000085900535>] spin_lock include/linux/spinlock.h:302 [inline] [<0000000085900535>] task_lock include/linux/sched.h:3217 [inline] [<0000000085900535>] get_task_mm+0x20/0xc0 kernel/fork.c:1012 CPU: 0 PID: 33 Comm: kswapd0 Tainted: G W 4.9.189+ #1 ffff8801d84077c0 ffffffff81b65c01 0000000000000000 0000000000000001 ffff8801d98f97c0 ffffffff810d1010 ffff8801d98f97c0 ffff8801d84077f8 ffffffff814018f3 ffff8801d98f97c0 ffffffff82a39fc0 0000000000000389 Call Trace: [<00000000c16c6c78>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000c16c6c78>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000000ccd314d>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<000000006fdc172f>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<000000001cedc642>] mmput+0x28/0x370 kernel/fork.c:905 [<00000000540f609e>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<000000004607a238>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<000000006e694e52>] do_shrink_slab mm/vmscan.c:399 [inline] [<000000006e694e52>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000a8597955>] shrink_slab mm/vmscan.c:466 [inline] [<00000000a8597955>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000b37525cb>] kswapd_shrink_node mm/vmscan.c:3209 [inline] [<00000000b37525cb>] balance_pgdat mm/vmscan.c:3329 [inline] [<00000000b37525cb>] kswapd+0x7f8/0x13b0 mm/vmscan.c:3523 [<00000000f9230d1b>] kthread+0x278/0x310 kernel/kthread.c:211 [<0000000086f7c39c>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:375 lowmemorykiller: Killing 'syz-executor.1' (26011) (tgid 26011), adj 1000, to free 47464kB on behalf of 'kswapd0' (33) because cache 58868kB is below limit 65536kB for oom_score_adj 12 Free memory is -6696kB above reserved lowmemorykiller: Killing 'syz-executor.1' (2101) (tgid 2101), adj 1000, to free 47464kB on behalf of 'kswapd0' (33) because cache 58816kB is below limit 65536kB for oom_score_adj 12 Free memory is -5656kB above reserved lowmemorykiller: Killing 'syz-executor.1' (2623) (tgid 2623), adj 1000, to free 47464kB on behalf of 'kswapd0' (33) because cache 59060kB is below limit 65536kB for oom_score_adj 12 Free memory is 13600kB above reserved lowmemorykiller: Killing 'syz-executor.1' (15919) (tgid 15919), adj 1000, to free 47460kB on behalf of 'kswapd0' (33) because cache 59060kB is below limit 65536kB for oom_score_adj 12 Free memory is 16200kB above reserved lowmemorykiller: Killing 'syz-executor.1' (17510) (tgid 17510), adj 1000, to free 47460kB on behalf of 'kswapd0' (33) because cache 59160kB is below limit 65536kB for oom_score_adj 12 Free memory is 20444kB above reserved lowmemorykiller: Killing 'syz-executor.1' (18929) (tgid 18929), adj 1000, to free 47460kB on behalf of 'kswapd0' (33) because cache 59060kB is below limit 65536kB for oom_score_adj 12 Free memory is 18180kB above reserved lowmemorykiller: Killing 'syz-executor.1' (25020) (tgid 25020), adj 1000, to free 47460kB on behalf of 'kswapd0' (33) because cache 59160kB is below limit 65536kB for oom_score_adj 12 Free memory is 46228kB above reserved lowmemorykiller: Killing 'syz-executor.1' (3262) (tgid 3262), adj 1000, to free 47460kB on behalf of 'kswapd0' (33) because cache 59060kB is below limit 65536kB for oom_score_adj 12 Free memory is 48024kB above reserved lowmemorykiller: Killing 'syz-executor.2' (21415) (tgid 21415), adj 1000, to free 47456kB on behalf of 'kswapd0' (33) because cache 59160kB is below limit 65536kB for oom_score_adj 12 Free memory is 47404kB above reserved lowmemorykiller: Killing 'syz-executor.1' (27102) (tgid 27102), adj 1000, to free 47444kB on behalf of 'kswapd0' (33) because cache 59160kB is below limit 65536kB for oom_score_adj 12 Free memory is 59932kB above reserved F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop3): Invalid segment count (0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop3): Invalid segment count (0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop3): Invalid segment count (0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x626443aa) F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop3): Invalid segment count (0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock lowmemorykiller: Killing 'syz-executor.2' (12393) (tgid 12393), adj 1000, to free 47444kB on behalf of 'kswapd0' (33) because cache 58736kB is below limit 65536kB for oom_score_adj 12 Free memory is -6756kB above reserved lowmemorykiller: Killing 'syz-executor.2' (12408) (tgid 12408), adj 1000, to free 47444kB on behalf of 'syz-executor.3' (22917) because cache 58536kB is below limit 65536kB for oom_score_adj 12 Free memory is -13196kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:905 in_atomic(): 0, irqs_disabled(): 0, pid: 22917, name: syz-executor.3 INFO: lockdep is turned off. Preemption disabled at: [<0000000085900535>] spin_lock include/linux/spinlock.h:302 [inline] [<0000000085900535>] task_lock include/linux/sched.h:3217 [inline] [<0000000085900535>] get_task_mm+0x20/0xc0 kernel/fork.c:1012 CPU: 0 PID: 22917 Comm: syz-executor.3 Tainted: G W 4.9.189+ #1 ffff8800abddf5d8 ffffffff81b65c01 0000000000000000 0000000000000001 ffff8801c874af80 ffffffff810d1010 ffff8801c874af80 ffff8800abddf610 ffffffff814018f3 ffff8801c874af80 ffffffff82a39fc0 0000000000000389 Call Trace: [<00000000c16c6c78>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000c16c6c78>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000000ccd314d>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<000000006fdc172f>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<000000001cedc642>] mmput+0x28/0x370 kernel/fork.c:905 [<00000000540f609e>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<000000004607a238>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<000000006e694e52>] do_shrink_slab mm/vmscan.c:399 [inline] [<000000006e694e52>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000a8597955>] shrink_slab mm/vmscan.c:466 [inline] [<00000000a8597955>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<0000000016c5a9c1>] shrink_zones mm/vmscan.c:2751 [inline] [<0000000016c5a9c1>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<0000000016c5a9c1>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<00000000fc63829e>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<00000000fc63829e>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<00000000fc63829e>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<00000000fc63829e>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<000000004a9bcf95>] __alloc_pages include/linux/gfp.h:433 [inline] [<000000004a9bcf95>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<000000004a9bcf95>] alloc_pages_node include/linux/gfp.h:460 [inline] [<000000004a9bcf95>] alloc_zeroed_user_highpage_movable include/linux/highmem.h:183 [inline] [<000000004a9bcf95>] do_anonymous_page mm/memory.c:2761 [inline] [<000000004a9bcf95>] handle_pte_fault mm/memory.c:3545 [inline] [<000000004a9bcf95>] __handle_mm_fault mm/memory.c:3634 [inline] [<000000004a9bcf95>] handle_mm_fault+0x12e1/0x2420 mm/memory.c:3671 [<00000000d9ee1a50>] __do_page_fault+0x3f0/0xa60 arch/x86/mm/fault.c:1404 [<000000006a60f394>] do_page_fault+0x28/0x30 arch/x86/mm/fault.c:1467 [<00000000f25eb332>] page_fault+0x25/0x30 arch/x86/entry/entry_64.S:956 lowmemorykiller: Killing 'syz-executor.2' (17961) (tgid 17961), adj 1000, to free 47440kB on behalf of 'syz-executor.3' (22921) because cache 57836kB is below limit 65536kB for oom_score_adj 12 Free memory is -13268kB above reserved