Free memory is -13256kB above reserved lowmemorykiller: Killing 'syz-executor.4' (14157) (tgid 14157), adj 1000, to free 35980kB on behalf of 'blkid' (10653) because cache 63168kB is below limit 65536kB for oom_score_adj 12 Free memory is -13056kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:905 in_atomic(): 0, irqs_disabled(): 0, pid: 10653, name: blkid 3 locks held by blkid/10653: #0: (&mm->mmap_sem){++++++}, at: [<0000000004d43b8a>] __do_page_fault+0x25e/0xa60 arch/x86/mm/fault.c:1333 #1: (shrinker_rwsem){++++..}, at: [<000000009991306f>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #2: (rcu_read_lock){......}, at: [<000000008e32011d>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 Preemption disabled at: [<00000000fe12c80d>] spin_lock include/linux/spinlock.h:302 [inline] [<00000000fe12c80d>] task_lock include/linux/sched.h:3217 [inline] [<00000000fe12c80d>] get_task_mm+0x20/0xc0 kernel/fork.c:1012 CPU: 0 PID: 10653 Comm: blkid Not tainted 4.9.189+ #22 ffff8801cc84f5d8 ffffffff81b65c01 0000000000000000 0000000000000001 ffff8801cb358000 ffffffff810d1010 ffff8801cb358000 ffff8801cc84f610 ffffffff814018f3 ffff8801cb358000 ffffffff82a39fc0 0000000000000389 Call Trace: [<000000002753b6c0>] __dump_stack lib/dump_stack.c:15 [inline] [<000000002753b6c0>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<0000000012590af4>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<000000006cad67a1>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<000000000b8fb2d6>] mmput+0x28/0x370 kernel/fork.c:905 [<000000003ecef295>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<00000000c932b6e8>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000e5c2615f>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000e5c2615f>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<0000000060c84b23>] shrink_slab mm/vmscan.c:466 [inline] [<0000000060c84b23>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<0000000016a1b03f>] shrink_zones mm/vmscan.c:2751 [inline] [<0000000016a1b03f>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<0000000016a1b03f>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<0000000051bf2588>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<0000000051bf2588>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<0000000051bf2588>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<0000000051bf2588>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<00000000bdcf1aae>] __alloc_pages include/linux/gfp.h:433 [inline] [<00000000bdcf1aae>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<00000000bdcf1aae>] alloc_pages_node include/linux/gfp.h:460 [inline] [<00000000bdcf1aae>] alloc_zeroed_user_highpage_movable include/linux/highmem.h:183 [inline] [<00000000bdcf1aae>] do_anonymous_page mm/memory.c:2761 [inline] [<00000000bdcf1aae>] handle_pte_fault mm/memory.c:3545 [inline] [<00000000bdcf1aae>] __handle_mm_fault mm/memory.c:3634 [inline] [<00000000bdcf1aae>] handle_mm_fault+0x12e1/0x2420 mm/memory.c:3671 [<00000000d6ce3644>] __do_page_fault+0x3f0/0xa60 arch/x86/mm/fault.c:1404 [<0000000017828122>] do_page_fault+0x28/0x30 arch/x86/mm/fault.c:1467 [<000000002ff9c43f>] page_fault+0x25/0x30 arch/x86/entry/entry_64.S:956 ================================= [ INFO: inconsistent lock state ] 4.9.189+ #22 Tainted: G W --------------------------------- inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-R} usage. blkid/10653 [HC0[0]:SC0[0]:HE1:SE1] takes: (&mm->mmap_sem){+++++?}, at: [<000000007d4362be>] 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: 11914131 hardirqs last enabled at (11914131): [<000000003ce12a93>] dump_stack+0x100/0x120 lib/dump_stack.c:56 hardirqs last disabled at (11914130): [<00000000355205fc>] dump_stack+0x2c/0x120 lib/dump_stack.c:38 softirqs last enabled at (11913538): [<00000000d9715852>] __do_softirq+0x474/0x964 kernel/softirq.c:314 softirqs last disabled at (11913531): [<00000000e1c70caa>] invoke_softirq kernel/softirq.c:368 [inline] softirqs last disabled at (11913531): [<00000000e1c70caa>] 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 blkid/10653: #0: (&mm->mmap_sem){+++++?}, at: [<0000000004d43b8a>] __do_page_fault+0x25e/0xa60 arch/x86/mm/fault.c:1333 #1: (shrinker_rwsem){++++..}, at: [<000000009991306f>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #2: (rcu_read_lock){......}, at: [<000000008e32011d>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 #3: (lmk_event_lock){+.+.-.}, at: [<00000000ce07ba55>] spin_lock include/linux/spinlock.h:302 [inline] #3: (lmk_event_lock){+.+.-.}, at: [<00000000ce07ba55>] handle_lmk_event+0xfb/0x8a0 drivers/staging/android/lowmemorykiller.c:114 stack backtrace: CPU: 0 PID: 10653 Comm: blkid Tainted: G W 4.9.189+ #22 ffff8801cc84f320 ffffffff81b65c01 00000000000000f0 ffff8801cb358000 ffffffff83caf950 ffff8801cb358970 ffffffff84250fc0 ffff8801cc84f398 ffffffff81408330 0000000000000000 ffffffff00000001 0000000000000001 Call Trace: [<000000002753b6c0>] __dump_stack lib/dump_stack.c:15 [inline] [<000000002753b6c0>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<0000000026acbc27>] print_usage_bug kernel/locking/lockdep.c:2387 [inline] [<0000000026acbc27>] print_usage_bug.cold+0x452/0x5a2 kernel/locking/lockdep.c:2354 [<00000000a8ea29f7>] valid_state kernel/locking/lockdep.c:2400 [inline] [<00000000a8ea29f7>] mark_lock_irq kernel/locking/lockdep.c:2602 [inline] [<00000000a8ea29f7>] mark_lock+0x6c7/0x12e0 kernel/locking/lockdep.c:3065 [<00000000c0b8f423>] mark_irqflags kernel/locking/lockdep.c:2958 [inline] [<00000000c0b8f423>] __lock_acquire+0x5be/0x4390 kernel/locking/lockdep.c:3302 [<000000002881e236>] lock_acquire+0x133/0x3d0 kernel/locking/lockdep.c:3756 [<000000006977c22c>] down_read+0x44/0xb0 kernel/locking/rwsem.c:22 [<000000007d4362be>] get_cmdline+0xa3/0x2d0 mm/util.c:641 [<000000000afbfc9d>] handle_lmk_event+0x13c/0x8a0 drivers/staging/android/lowmemorykiller.c:128 [<00000000c932b6e8>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000e5c2615f>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000e5c2615f>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<0000000060c84b23>] shrink_slab mm/vmscan.c:466 [inline] [<0000000060c84b23>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<0000000016a1b03f>] shrink_zones mm/vmscan.c:2751 [inline] [<0000000016a1b03f>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<0000000016a1b03f>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<0000000051bf2588>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<0000000051bf2588>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<0000000051bf2588>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<0000000051bf2588>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<00000000bdcf1aae>] __alloc_pages include/linux/gfp.h:433 [inline] [<00000000bdcf1aae>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<00000000bdcf1aae>] alloc_pages_node include/linux/gfp.h:460 [inline] [<00000000bdcf1aae>] alloc_zeroed_user_highpage_movable include/linux/highmem.h:183 [inline] [<00000000bdcf1aae>] do_anonymous_page mm/memory.c:2761 [inline] [<00000000bdcf1aae>] handle_pte_fault mm/memory.c:3545 [inline] [<00000000bdcf1aae>] __handle_mm_fault mm/memory.c:3634 [inline] [<00000000bdcf1aae>] handle_mm_fault+0x12e1/0x2420 mm/memory.c:3671 [<00000000d6ce3644>] __do_page_fault+0x3f0/0xa60 arch/x86/mm/fault.c:1404 [<0000000017828122>] do_page_fault+0x28/0x30 arch/x86/mm/fault.c:1467 [<000000002ff9c43f>] page_fault+0x25/0x30 arch/x86/entry/entry_64.S:956 lowmemorykiller: Killing 'syz-executor.4' (14392) (tgid 14392), adj 1000, to free 35980kB on behalf of 'blkid' (10653) because cache 62868kB is below limit 65536kB for oom_score_adj 12 Free memory is -13348kB above reserved lowmemorykiller: Killing 'syz-executor.1' (32674) (tgid 32674), adj 1000, to free 35980kB on behalf of 'blkid' (10653) because cache 61968kB is below limit 65536kB for oom_score_adj 12 Free memory is -13360kB above reserved lowmemorykiller: Killing 'syz-executor.1' (402) (tgid 402), adj 1000, to free 35980kB on behalf of 'syz-fuzzer' (2054) because cache 61568kB is below limit 65536kB for oom_score_adj 12 Free memory is -13304kB above reserved lowmemorykiller: Killing 'syz-executor.4' (30239) (tgid 30239), adj 1000, to free 35976kB on behalf of 'blkid' (10653) because cache 61516kB is below limit 65536kB for oom_score_adj 12 Free memory is -13384kB above reserved lowmemorykiller: Killing 'syz-executor.4' (30541) (tgid 30541), adj 1000, to free 35976kB on behalf of 'blkid' (10653) because cache 61416kB is below limit 65536kB for oom_score_adj 12 Free memory is -13384kB above reserved lowmemorykiller: Killing 'syz-executor.4' (3296) (tgid 3296), adj 1000, to free 35976kB on behalf of 'blkid' (10653) because cache 61316kB is below limit 65536kB for oom_score_adj 12 Free memory is -13388kB above reserved lowmemorykiller: Killing 'syz-executor.4' (4133) (tgid 4133), adj 1000, to free 35976kB on behalf of 'syz-fuzzer' (2054) because cache 61116kB is below limit 65536kB for oom_score_adj 12 Free memory is -13372kB above reserved lowmemorykiller: Killing 'syz-executor.4' (11741) (tgid 11741), adj 1000, to free 35976kB on behalf of 'syz-fuzzer' (2054) because cache 60716kB is below limit 65536kB for oom_score_adj 12 Free memory is -13328kB above reserved lowmemorykiller: Killing 'syz-executor.4' (30392) (tgid 30392), adj 1000, to free 35976kB on behalf of 'syz-fuzzer' (2054) because cache 60716kB is below limit 65536kB for oom_score_adj 12 Free memory is -13328kB above reserved lowmemorykiller: Killing 'syz-executor.4' (11741) (tgid 11741), adj 1000, to free 35976kB on behalf of 'syz-fuzzer' (2040) because cache 60716kB is below limit 65536kB for oom_score_adj 12 Free memory is -13328kB above reserved lowmemorykiller: Killing 'syz-executor.1' (1142) (tgid 1142), adj 1000, to free 35972kB on behalf of 'syz-fuzzer' (2040) because cache 60616kB is below limit 65536kB for oom_score_adj 12 Free memory is -12828kB above reserved lowmemorykiller: Killing 'syz-executor.4' (7080) (tgid 7080), adj 1000, to free 35968kB on behalf of 'syz-fuzzer' (2040) because cache 60616kB is below limit 65536kB for oom_score_adj 12 Free memory is -12828kB above reserved lowmemorykiller: Killing 'syz-executor.1' (32153) (tgid 32153), adj 1000, to free 35968kB on behalf of 'syz-executor.2' (2091) because cache 60316kB is below limit 65536kB for oom_score_adj 12 Free memory is -13084kB above reserved lowmemorykiller: Killing 'syz-executor.5' (31182) (tgid 31182), adj 1000, to free 35964kB on behalf of 'syz-executor.2' (2091) because cache 60316kB is below limit 65536kB for oom_score_adj 12 Free memory is -12984kB above reserved lowmemorykiller: Killing 'syz-executor.4' (7086) (tgid 7086), adj 1000, to free 35968kB on behalf of 'blkid' (10653) because cache 60516kB is below limit 65536kB for oom_score_adj 12 Free memory is -13384kB above reserved lowmemorykiller: Killing 'syz-executor.5' (31391) (tgid 31391), adj 1000, to free 35964kB on behalf of 'blkid' (10653) because cache 60316kB is below limit 65536kB for oom_score_adj 12 Free memory is -12672kB above reserved lowmemorykiller: Killing 'syz-executor.4' (2576) (tgid 2576), adj 1000, to free 35964kB on behalf of 'blkid' (10653) because cache 60216kB is below limit 65536kB for oom_score_adj 12 Free memory is -13392kB above reserved lowmemorykiller: Killing 'syz-executor.5' (28447) (tgid 28447), adj 1000, to free 35964kB on behalf of 'blkid' (10653) because cache 60116kB is below limit 65536kB for oom_score_adj 12 Free memory is -13392kB above reserved lowmemorykiller: Killing 'syz-executor.1' (29354) (tgid 29354), adj 1000, to free 35964kB on behalf of 'syz-fuzzer' (2040) because cache 60016kB is below limit 65536kB for oom_score_adj 12 Free memory is -13288kB above reserved lowmemorykiller: Killing 'syz-executor.1' (978) (tgid 978), adj 1000, to free 35964kB on behalf of 'blkid' (10653) because cache 59864kB is below limit 65536kB for oom_score_adj 12 Free memory is -13400kB above reserved lowmemorykiller: Killing 'syz-executor.5' (11989) (tgid 11989), adj 1000, to free 35964kB on behalf of 'blkid' (10653) because cache 59664kB is below limit 65536kB for oom_score_adj 12 Free memory is -13300kB above reserved lowmemorykiller: Killing 'syz-executor.5' (11998) (tgid 11998), adj 1000, to free 35964kB on behalf of 'blkid' (10653) because cache 59464kB is below limit 65536kB for oom_score_adj 12 Free memory is -13304kB above reserved lowmemorykiller: Killing 'syz-executor.4' (30315) (tgid 30315), adj 1000, to free 35960kB on behalf of 'blkid' (10653) because cache 59464kB is below limit 65536kB for oom_score_adj 12 Free memory is -13344kB above reserved lowmemorykiller: Killing 'syz-executor.4' (30743) (tgid 30743), adj 1000, to free 35960kB on behalf of 'blkid' (10653) because cache 59364kB is below limit 65536kB for oom_score_adj 12 Free memory is -13144kB above reserved lowmemorykiller: Killing 'syz-executor.4' (2888) (tgid 2888), adj 1000, to free 35960kB on behalf of 'blkid' (10653) because cache 59364kB is below limit 65536kB for oom_score_adj 12 Free memory is -12944kB above reserved lowmemorykiller: Killing 'syz-executor.1' (5841) (tgid 5841), adj 1000, to free 35960kB on behalf of 'blkid' (10653) because cache 59064kB is below limit 65536kB for oom_score_adj 12 Free memory is -13376kB above reserved lowmemorykiller: Killing 'syz-executor.5' (13503) (tgid 13503), adj 1000, to free 35960kB on behalf of 'blkid' (10653) because cache 58764kB is below limit 65536kB for oom_score_adj 12 Free memory is -13320kB above reserved lowmemorykiller: Killing 'syz-executor.4' (16394) (tgid 16394), adj 1000, to free 35956kB on behalf of 'syz-fuzzer' (2054) because cache 58312kB is below limit 65536kB for oom_score_adj 12 Free memory is -13352kB above reserved lowmemorykiller: Killing 'syz-executor.4' (16407) (tgid 16407), adj 1000, to free 35956kB on behalf of 'syz-fuzzer' (2054) because cache 58312kB is below limit 65536kB for oom_score_adj 12 Free memory is -13352kB above reserved lowmemorykiller: Killing 'syz-executor.4' (16394) (tgid 16394), adj 1000, to free 35956kB on behalf of 'syz-fuzzer' (2040) because cache 58312kB is below limit 65536kB for oom_score_adj 12 Free memory is -13352kB above reserved lowmemorykiller: Killing 'syz-executor.4' (16412) (tgid 16412), adj 1000, to free 35956kB on behalf of 'syz-fuzzer' (2040) because cache 58360kB is below limit 65536kB for oom_score_adj 12 Free memory is -13268kB above reserved lowmemorykiller: Killing 'syz-executor.4' (16416) (tgid 16416), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 57960kB is below limit 65536kB for oom_score_adj 12 Free memory is -13300kB above reserved lowmemorykiller: Killing 'syz-executor.4' (16420) (tgid 16420), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 57660kB is below limit 65536kB for oom_score_adj 12 Free memory is -13304kB above reserved lowmemorykiller: Killing 'syz-executor.4' (16427) (tgid 16427), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 57660kB is below limit 65536kB for oom_score_adj 12 Free memory is -13304kB above reserved lowmemorykiller: Killing 'syz-executor.4' (16641) (tgid 16641), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 57660kB is below limit 65536kB for oom_score_adj 12 Free memory is -13304kB above reserved lowmemorykiller: Killing 'syz-executor.4' (16659) (tgid 16659), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 57560kB is below limit 65536kB for oom_score_adj 12 Free memory is -13340kB above reserved lowmemorykiller: Killing 'syz-executor.1' (22662) (tgid 22662), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 57360kB is below limit 65536kB for oom_score_adj 12 Free memory is -13328kB above reserved lowmemorykiller: Killing 'syz-executor.4' (23567) (tgid 23567), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 57160kB is below limit 65536kB for oom_score_adj 12 Free memory is -12344kB above reserved lowmemorykiller: Killing 'syz-executor.4' (23579) (tgid 23579), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 57208kB is below limit 65536kB for oom_score_adj 12 Free memory is -13364kB above reserved lowmemorykiller: Killing 'syz-executor.4' (23589) (tgid 23589), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 57108kB is below limit 65536kB for oom_score_adj 12 Free memory is -13296kB above reserved lowmemorykiller: Killing 'syz-executor.4' (23602) (tgid 23602), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 57008kB is below limit 65536kB for oom_score_adj 12 Free memory is -13296kB above reserved lowmemorykiller: Killing 'syz-executor.4' (23702) (tgid 23702), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 57008kB is below limit 65536kB for oom_score_adj 12 Free memory is -13196kB above reserved lowmemorykiller: Killing 'syz-executor.4' (23747) (tgid 23747), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 57008kB is below limit 65536kB for oom_score_adj 12 Free memory is -13336kB above reserved lowmemorykiller: Killing 'syz-executor.4' (23758) (tgid 23758), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 56908kB is below limit 65536kB for oom_score_adj 12 Free memory is -13336kB above reserved lowmemorykiller: Killing 'syz-executor.4' (23770) (tgid 23770), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 56956kB is below limit 65536kB for oom_score_adj 12 Free memory is -13352kB above reserved lowmemorykiller: Killing 'syz-executor.4' (23779) (tgid 23779), adj 1000, to free 35956kB on behalf of 'syz-fuzzer' (2037) because cache 56756kB is below limit 65536kB for oom_score_adj 12 Free memory is -13360kB above reserved lowmemorykiller: Killing 'syz-executor.4' (23779) (tgid 23779), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 56756kB is below limit 65536kB for oom_score_adj 12 Free memory is -13360kB above reserved lowmemorykiller: Killing 'syz-executor.4' (30214) (tgid 30214), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 56604kB is below limit 65536kB for oom_score_adj 12 Free memory is -13368kB above reserved lowmemorykiller: Killing 'syz-executor.4' (31008) (tgid 31008), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 56504kB is below limit 65536kB for oom_score_adj 12 Free memory is -13368kB above reserved lowmemorykiller: Killing 'syz-executor.4' (3674) (tgid 3674), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 56504kB is below limit 65536kB for oom_score_adj 12 Free memory is -13368kB above reserved lowmemorykiller: Killing 'syz-executor.4' (3758) (tgid 3758), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 56504kB is below limit 65536kB for oom_score_adj 12 Free memory is -13268kB above reserved lowmemorykiller: Killing 'syz-executor.4' (4566) (tgid 4566), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 56452kB is below limit 65536kB for oom_score_adj 12 Free memory is -13320kB above reserved lowmemorykiller: Killing 'syz-executor.4' (5429) (tgid 5429), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 56352kB is below limit 65536kB for oom_score_adj 12 Free memory is -13328kB above reserved lowmemorykiller: Killing 'syz-executor.5' (27902) (tgid 27902), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 56252kB is below limit 65536kB for oom_score_adj 12 Free memory is -13328kB above reserved lowmemorykiller: Killing 'syz-executor.5' (11708) (tgid 11708), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 56020kB is below limit 65536kB for oom_score_adj 12 Free memory is -13388kB above reserved lowmemorykiller: Killing 'syz-executor.5' (11736) (tgid 11736), adj 1000, to free 35956kB on behalf of 'syz-fuzzer' (2037) because cache 55368kB is below limit 65536kB for oom_score_adj 12 Free memory is -12652kB above reserved lowmemorykiller: Killing 'syz-executor.5' (11736) (tgid 11736), adj 1000, to free 35956kB on behalf of 'blkid' (10653) because cache 55620kB is below limit 65536kB for oom_score_adj 12 Free memory is -13344kB above reserved lowmemorykiller: Killing 'syz-executor.1' (19430) (tgid 19430), adj 1000, to free 35952kB on behalf of 'blkid' (10653) because cache 55516kB is below limit 65536kB for oom_score_adj 12 Free memory is -13320kB above reserved lowmemorykiller: Killing 'syz-executor.1' (24255) (tgid 24255), adj 1000, to free 35952kB on behalf of 'syz-fuzzer' (2037) because cache 55116kB is below limit 65536kB for oom_score_adj 12 Free memory is -13436kB above reserved lowmemorykiller: Killing 'syz-executor.4' (24560) (tgid 24560), adj 1000, to free 35952kB on behalf of 'syz-fuzzer' (2037) because cache 55116kB is below limit 65536kB for oom_score_adj 12 Free memory is -13436kB above reserved lowmemorykiller: Killing 'syz-executor.1' (24254) (tgid 24254), adj 1000, to free 35952kB on behalf of 'blkid' (10653) because cache 55216kB is below limit 65536kB for oom_score_adj 12 Free memory is -13436kB above reserved lowmemorykiller: Killing 'syz-executor.5' (27878) (tgid 27878), adj 1000, to free 35952kB on behalf of 'blkid' (10653) because cache 55164kB is below limit 65536kB for oom_score_adj 12 Free memory is -12744kB above reserved lowmemorykiller: Killing 'syz-executor.1' (3860) (tgid 3860), adj 1000, to free 35952kB on behalf of 'blkid' (10653) because cache 55012kB is below limit 65536kB for oom_score_adj 12 Free memory is -13316kB above reserved lowmemorykiller: Killing 'syz-executor.5' (12052) (tgid 12052), adj 1000, to free 35952kB on behalf of 'blkid' (10653) because cache 54960kB is below limit 65536kB for oom_score_adj 12 Free memory is -13428kB above reserved lowmemorykiller: Killing 'syz-executor.5' (4595) (tgid 4595), adj 1000, to free 35948kB on behalf of 'blkid' (10653) because cache 54608kB is below limit 65536kB for oom_score_adj 12 Free memory is -13316kB above reserved lowmemorykiller: Killing 'syz-executor.1' (19554) (tgid 19554), adj 1000, to free 35944kB on behalf of 'blkid' (10653) because cache 53756kB is below limit 65536kB for oom_score_adj 12 Free memory is -13320kB above reserved lowmemorykiller: Killing 'syz-executor.1' (23244) (tgid 23244), adj 1000, to free 35944kB on behalf of 'blkid' (10653) because cache 53656kB is below limit 65536kB for oom_score_adj 12 Free memory is -13320kB above reserved lowmemorykiller: Killing 'syz-executor.4' (29179) (tgid 29179), adj 1000, to free 35944kB on behalf of 'blkid' (10653) because cache 53556kB is below limit 65536kB for oom_score_adj 12 Free memory is -13236kB above reserved lowmemorykiller: Killing 'syz-executor.5' (10707) (tgid 10707), adj 1000, to free 35944kB on behalf of 'blkid' (10653) because cache 53456kB is below limit 65536kB for oom_score_adj 12 Free memory is -13136kB above reserved lowmemorykiller: Killing 'syz-executor.1' (32392) (tgid 32392), adj 1000, to free 35940kB on behalf of 'syz-fuzzer' (2037) because cache 53204kB is below limit 65536kB for oom_score_adj 12 Free memory is -13296kB above reserved lowmemorykiller: Killing 'syz-executor.1' (22366) (tgid 22366), adj 1000, to free 35940kB on behalf of 'blkid' (10653) because cache 53304kB is below limit 65536kB for oom_score_adj 12 Free memory is -13296kB above reserved lowmemorykiller: Killing 'syz-executor.1' (1357) (tgid 1357), adj 1000, to free 35012kB on behalf of 'syz-fuzzer' (2037) because cache 53104kB is below limit 65536kB for oom_score_adj 12 Free memory is -13268kB above reserved lowmemorykiller: Killing 'syz-executor.4' (16647) (tgid 16647), adj 1000, to free 35924kB on behalf of 'blkid' (10653) because cache 53204kB is below limit 65536kB for oom_score_adj 12 Free memory is -13268kB above reserved lowmemorykiller: Killing 'syz-executor.1' (1371) (tgid 1371), adj 1000, to free 35012kB on behalf of 'blkid' (10653) because cache 53252kB is below limit 65536kB for oom_score_adj 12 Free memory is -12768kB above reserved lowmemorykiller: Killing 'syz-executor.5' (6541) (tgid 6541), adj 1000, to free 35012kB on behalf of 'blkid' (10653) because cache 53252kB is below limit 65536kB for oom_score_adj 12 Free memory is -12468kB above reserved lowmemorykiller: Killing 'syz-executor.5' (6548) (tgid 6548), adj 1000, to free 35012kB on behalf of 'syz-fuzzer' (2037) because cache 52852kB is below limit 65536kB for oom_score_adj 12 Free memory is -13212kB above reserved lowmemorykiller: Killing 'syz-executor.3' (8302) (tgid 8302), adj 1000, to free 35012kB on behalf of 'blkid' (10653) because cache 52852kB is below limit 65536kB for oom_score_adj 12 Free memory is -13180kB above reserved lowmemorykiller: Killing 'syz-executor.1' (1344) (tgid 1344), adj 1000, to free 35004kB on behalf of 'blkid' (10653) because cache 52852kB is below limit 65536kB for oom_score_adj 12 Free memory is -13180kB above reserved lowmemorykiller: Killing 'syz-executor.1' (1501) (tgid 1501), adj 1000, to free 35004kB on behalf of 'blkid' (10653) because cache 52752kB is below limit 65536kB for oom_score_adj 12 Free memory is -13264kB above reserved lowmemorykiller: Killing 'syz-executor.5' (6536) (tgid 6536), adj 1000, to free 35004kB on behalf of 'blkid' (10653) because cache 52352kB is below limit 65536kB for oom_score_adj 12 Free memory is -13324kB above reserved lowmemorykiller: Killing 'syz-executor.3' (8297) (tgid 8297), adj 1000, to free 35004kB on behalf of 'blkid' (10653) because cache 52252kB is below limit 65536kB for oom_score_adj 12 Free memory is -13324kB above reserved lowmemorykiller: Killing 'syz-executor.5' (12246) (tgid 12246), adj 1000, to free 35004kB on behalf of 'syz-fuzzer' (2040) because cache 52248kB is below limit 65536kB for oom_score_adj 12 Free memory is -13260kB above reserved lowmemorykiller: Killing 'syz-executor.4' (30406) (tgid 30406), adj 1000, to free 34996kB on behalf of 'syz-executor.1' (13771) because cache 51896kB is below limit 65536kB for oom_score_adj 12 Free memory is -12932kB above reserved lowmemorykiller: Killing 'syz-executor.5' (28129) (tgid 28129), adj 1000, to free 35000kB on behalf of 'blkid' (10653) because cache 52096kB is below limit 65536kB for oom_score_adj 12 Free memory is -13316kB above reserved lowmemorykiller: Killing 'syz-executor.3' (8286) (tgid 8286), adj 1000, to free 34996kB on behalf of 'syz-fuzzer' (2037) because cache 51744kB is below limit 65536kB for oom_score_adj 12 Free memory is -13388kB above reserved lowmemorykiller: Killing 'syz-executor.5' (28129) (tgid 28129), adj 1000, to free 35000kB on behalf of 'syz-executor.3' (7851) because cache 51996kB is below limit 65536kB for oom_score_adj 12 Free memory is -13316kB above reserved lowmemorykiller: Killing 'syz-executor.4' (20552) (tgid 20552), adj 1000, to free 34988kB on behalf of 'syz-executor.3' (7851) because cache 51444kB is below limit 65536kB for oom_score_adj 12 Free memory is -13324kB above reserved lowmemorykiller: Killing 'syz-executor.4' (20574) (tgid 20574), adj 1000, to free 34988kB on behalf of 'syz-executor.3' (7851) because cache 51444kB is below limit 65536kB for oom_score_adj 12 Free memory is -13324kB above reserved lowmemorykiller: Killing 'syz-executor.4' (20528) (tgid 20528), adj 1000, to free 34988kB on behalf of 'blkid' (10653) because cache 51444kB is below limit 65536kB for oom_score_adj 12 Free memory is -13188kB above reserved lowmemorykiller: Killing 'syz-executor.4' (29963) (tgid 29963), adj 1000, to free 34988kB on behalf of 'blkid' (10653) because cache 51592kB is below limit 65536kB for oom_score_adj 12 Free memory is -13428kB above reserved lowmemorykiller: Killing 'syz-executor.4' (424) (tgid 424), adj 1000, to free 34988kB on behalf of 'syz-executor.0' (13552) because cache 51040kB is below limit 65536kB for oom_score_adj 12 Free memory is -12940kB above reserved lowmemorykiller: Killing 'syz-executor.4' (749) (tgid 749), adj 1000, to free 34988kB on behalf of 'syz-executor.0' (13552) because cache 51040kB is below limit 65536kB for oom_score_adj 12 Free memory is -12940kB above reserved lowmemorykiller: Killing 'syz-executor.4' (30766) (tgid 30766), adj 1000, to free 34988kB on behalf of 'syz-executor.3' (13774) because cache 51292kB is below limit 65536kB for oom_score_adj 12 Free memory is -13428kB above reserved lowmemorykiller: Killing 'syz-executor.4' (2589) (tgid 2589), adj 1000, to free 34988kB on behalf of 'syz-executor.3' (13774) because cache 50640kB is below limit 65536kB for oom_score_adj 12 Free memory is -11844kB above reserved lowmemorykiller: Killing 'syz-executor.4' (2638) (tgid 2638), adj 1000, to free 34988kB on behalf of 'syz-executor.3' (13774) because cache 50640kB is below limit 65536kB for oom_score_adj 12 Free memory is -11868kB above reserved lowmemorykiller: Killing 'syz-executor.5' (28109) (tgid 28109), adj 1000, to free 34988kB on behalf of 'syz-executor.3' (13774) because cache 50640kB is below limit 65536kB for oom_score_adj 12 Free memory is -11868kB above reserved lowmemorykiller: Killing 'syz-executor.5' (12239) (tgid 12239), adj 1000, to free 34988kB on behalf of 'syz-executor.0' (13779) because cache 50936kB is below limit 65536kB for oom_score_adj 12 Free memory is -13148kB above reserved lowmemorykiller: Killing 'syz-executor.4' (14223) (tgid 14223), adj 1000, to free 34980kB on behalf of 'syz-executor.0' (13779) because cache 50536kB is below limit 65536kB for oom_score_adj 12 Free memory is -13328kB above reserved lowmemorykiller: Killing 'syz-executor.1' (24820) (tgid 24820), adj 1000, to free 34980kB on behalf of 'syz-executor.0' (13779) because cache 50536kB is below limit 65536kB for oom_score_adj 12 Free memory is -12376kB above reserved lowmemorykiller: Killing 'syz-executor.4' (11115) (tgid 11115), adj 1000, to free 34980kB on behalf of 'kworker/u4:48' (6288) because cache 50536kB is below limit 65536kB for oom_score_adj 12 Free memory is -13028kB above reserved lowmemorykiller: Killing 'syz-executor.4' (30400) (tgid 30400), adj 1000, to free 34980kB on behalf of 'kworker/u4:48' (6288) because cache 50436kB is below limit 65536kB for oom_score_adj 12 Free memory is -13028kB above reserved lowmemorykiller: Killing 'syz-executor.4' (30591) (tgid 30591), adj 1000, to free 34980kB on behalf of 'syz-executor.0' (13783) because cache 50232kB is below limit 65536kB for oom_score_adj 12 Free memory is -13056kB above reserved lowmemorykiller: Killing 'syz-executor.1' (6144) (tgid 6144), adj 1000, to free 34980kB on behalf of 'syz-executor.0' (13783) because cache 50232kB is below limit 65536kB for oom_score_adj 12 Free memory is -12856kB above reserved lowmemorykiller: Killing 'syz-executor.5' (6517) (tgid 6517), adj 1000, to free 34980kB on behalf of 'syz-executor.0' (13783) because cache 50232kB is below limit 65536kB for oom_score_adj 12 Free memory is -12556kB above reserved lowmemorykiller: Killing 'syz-executor.1' (1341) (tgid 1341), adj 1000, to free 34976kB on behalf of 'blkid' (10653) because cache 50432kB is below limit 65536kB for oom_score_adj 12 Free memory is -13356kB above reserved lowmemorykiller: Killing 'syz-executor.1' (1484) (tgid 1484), adj 1000, to free 34976kB on behalf of 'blkid' (10653) because cache 50132kB is below limit 65536kB for oom_score_adj 12 Free memory is -12256kB above reserved lowmemorykiller: Killing 'syz-executor.3' (8287) (tgid 8287), adj 1000, to free 34976kB on behalf of 'blkid' (10653) because cache 50132kB is below limit 65536kB for oom_score_adj 12 Free memory is -12056kB above reserved lowmemorykiller: Killing 'syz-executor.5' (10004) (tgid 10004), adj 1000, to free 34968kB on behalf of 'blkid' (10653) because cache 50280kB is below limit 65536kB for oom_score_adj 12 Free memory is -11880kB above reserved binder: 13779:13783 ioctl 54a0 0 returned -22 lowmemorykiller: Killing 'syz-executor.1' (6141) (tgid 6141), adj 1000, to free 34944kB on behalf of 'blkid' (10653) because cache 50328kB is below limit 65536kB for oom_score_adj 12 Free memory is -13360kB above reserved lowmemorykiller: Killing 'syz-executor.1' (24634) (tgid 24634), adj 1000, to free 34936kB on behalf of 'syz-executor.4' (2105) because cache 50128kB is below limit 65536kB for oom_score_adj 12 Free memory is -13436kB above reserved binder: 13779:13783 ioctl 8904 20000140 returned -22 lowmemorykiller: Killing 'syz-executor.5' (9998) (tgid 9998), adj 1000, to free 34932kB on behalf of 'blkid' (10653) because cache 49828kB is below limit 65536kB for oom_score_adj 12 Free memory is -13292kB above reserved lowmemorykiller: Killing 'syz-executor.1' (13771) (tgid 13771), adj 1000, to free 34932kB on behalf of 'syz-executor.4' (13785) because cache 47828kB is below limit 65536kB for oom_score_adj 12 Free memory is -12896kB above reserved binder: 13779:13783 ioctl 54a0 0 returned -22 binder: 13779:13783 ioctl 8904 20000140 returned -22 binder: 13792:13794 ioctl 54a0 0 returned -22 binder: 13792:13794 ioctl 8904 20000140 returned -22 binder: 13796:13798 ioctl 54a0 0 returned -22 binder: 13796:13798 ioctl 8904 20000140 returned -22 binder: 13803:13805 ioctl 54a0 0 returned -22 binder: 13803:13805 ioctl 8904 20000140 returned -22 lowmemorykiller: Killing 'syz-executor.1' (13771) (tgid 13771), adj 1000, to free 34936kB on behalf of 'syz-executor.4' (13785) because cache 10636kB is below limit 16384kB for oom_score_adj 6 Free memory is -13420kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:905 in_atomic(): 0, irqs_disabled(): 0, pid: 13785, name: syz-executor.4 INFO: lockdep is turned off. Preemption disabled at: [<00000000fe12c80d>] spin_lock include/linux/spinlock.h:302 [inline] [<00000000fe12c80d>] task_lock include/linux/sched.h:3217 [inline] [<00000000fe12c80d>] get_task_mm+0x20/0xc0 kernel/fork.c:1012 CPU: 0 PID: 13785 Comm: syz-executor.4 Tainted: G W 4.9.189+ #22 ffff8801d19674b8 ffffffff81b65c01 0000000000000000 0000000000000001 ffff8801cad1af80 ffffffff810d1010 ffff8801cad1af80 ffff8801d19674f0 ffffffff814018f3 ffff8801cad1af80 ffffffff82a39fc0 0000000000000389 Call Trace: [<000000002753b6c0>] __dump_stack lib/dump_stack.c:15 [inline] [<000000002753b6c0>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<0000000012590af4>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<000000006cad67a1>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<000000000b8fb2d6>] mmput+0x28/0x370 kernel/fork.c:905 [<000000003ecef295>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<00000000c932b6e8>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000e5c2615f>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000e5c2615f>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<0000000060c84b23>] shrink_slab mm/vmscan.c:466 [inline] [<0000000060c84b23>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<0000000016a1b03f>] shrink_zones mm/vmscan.c:2751 [inline] [<0000000016a1b03f>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<0000000016a1b03f>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<0000000051bf2588>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<0000000051bf2588>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<0000000051bf2588>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<0000000051bf2588>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<00000000baa72f05>] __alloc_pages include/linux/gfp.h:433 [inline] [<00000000baa72f05>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<00000000baa72f05>] alloc_pages_node include/linux/gfp.h:460 [inline] [<00000000baa72f05>] alloc_thread_stack_node kernel/fork.c:214 [inline] [<00000000baa72f05>] dup_task_struct kernel/fork.c:494 [inline] [<00000000baa72f05>] copy_process.part.0+0x2da/0x6690 kernel/fork.c:1640 [<0000000080ad1bcd>] copy_process kernel/fork.c:1586 [inline] [<0000000080ad1bcd>] _do_fork+0x1c1/0xd50 kernel/fork.c:2111 [<00000000909829a3>] SYSC_clone kernel/fork.c:2223 [inline] [<00000000909829a3>] SyS_clone+0x37/0x50 kernel/fork.c:2217 [<00000000873a1eee>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000a2c1e9af>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb oom_reaper: reaped process 13771 (syz-executor.1), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB BUG: Bad rss-counter state mm:00000000215f6618 idx:0 val:1 binder: 13885:13894 ioctl 54a0 0 returned -22 binder: 13885:13894 ioctl 8904 20000140 returned -22 binder: 13896:13898 ioctl 54a0 0 returned -22 binder: 13896:13898 ioctl 8904 20000140 returned -22 binder: 13901:13905 ioctl 54a0 0 returned -22 binder: 13901:13905 ioctl 8904 20000140 returned -22 binder: 13909:13910 ioctl 54a0 0 returned -22 binder: 13909:13910 ioctl 8904 20000140 returned -22 binder: 13945:13950 ioctl 54a0 0 returned -22 binder: 13945:13950 ioctl 8904 20000140 returned -22 binder: 13965:13968 ioctl 54a0 0 returned -22 binder: 13965:13968 ioctl 8904 20000140 returned -22 binder: 13985:13988 ioctl 54a0 0 returned -22 binder: 13985:13988 ioctl 8904 20000140 returned -22 binder: 13997:14001 ioctl 54a0 0 returned -22 binder: 13997:14001 ioctl 8904 20000140 returned -22 binder: 14009:14011 ioctl 54a0 0 returned -22 binder: 14009:14011 ioctl 8904 20000140 returned -22 binder: 14017:14020 ioctl 54a0 0 returned -22 binder: 14017:14020 ioctl 8904 20000140 returned -22 binder: 14027:14029 ioctl 54a0 0 returned -22 binder: 14027:14029 ioctl 8904 20000140 returned -22 binder: 14057:14070 ioctl 54a0 0 returned -22 binder: 14057:14070 ioctl 8904 20000140 returned -22 binder: 14077:14080 ioctl 54a0 0 returned -22 binder: 14077:14080 ioctl 8904 20000140 returned -22 binder: 14092:14094 ioctl 54a0 0 returned -22 binder: 14092:14094 ioctl 8904 20000140 returned -22 binder: 14097:14100 ioctl 54a0 0 returned -22 binder: 14097:14100 ioctl 8904 20000140 returned -22 binder: 14146:14150 ioctl 54a0 0 returned -22 binder: 14156:14164 ioctl 54a0 0 returned -22 binder: 14173:14176 ioctl 54a0 0 returned -22 binder: 14186:14190 ioctl 54a0 0 returned -22 binder: 14196:14199 ioctl 54a0 0 returned -22