Free memory is -12924kB above reserved lowmemorykiller: Killing 'syz-executor.1' (6397) (tgid 6397), adj 1000, to free 36028kB on behalf of 'syz-executor.5' (32430) because cache 58596kB is below limit 65536kB for oom_score_adj 12 Free memory is -12924kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:905 in_atomic(): 0, irqs_disabled(): 0, pid: 32430, name: syz-executor.5 2 locks held by syz-executor.5/32430: #0: (shrinker_rwsem){++++..}, at: [<0000000038be7d43>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #1: (rcu_read_lock){......}, at: [<00000000203bb38a>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 Preemption disabled at: [<00000000d687f8d8>] spin_lock include/linux/spinlock.h:302 [inline] [<00000000d687f8d8>] task_lock include/linux/sched.h:3217 [inline] [<00000000d687f8d8>] get_task_mm+0x20/0xc0 kernel/fork.c:1012 CPU: 0 PID: 32430 Comm: syz-executor.5 Not tainted 4.9.189+ #22 ffff8801c65f7310 ffffffff81b65c01 0000000000000000 0000000000000001 ffff8801a91fdf00 ffffffff810d1010 ffff8801a91fdf00 ffff8801c65f7348 ffffffff814018f3 ffff8801a91fdf00 ffffffff82a39fc0 0000000000000389 Call Trace: [<0000000052e1cabe>] __dump_stack lib/dump_stack.c:15 [inline] [<0000000052e1cabe>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000d35f93b6>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<000000000c441ce6>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<000000002a381475>] mmput+0x28/0x370 kernel/fork.c:905 [<00000000905cde00>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<0000000010541118>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<0000000096045909>] do_shrink_slab mm/vmscan.c:399 [inline] [<0000000096045909>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000de5c42cc>] shrink_slab mm/vmscan.c:466 [inline] [<00000000de5c42cc>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<0000000081f82102>] shrink_zones mm/vmscan.c:2751 [inline] [<0000000081f82102>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<0000000081f82102>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<0000000010252327>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<0000000010252327>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<0000000010252327>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<0000000010252327>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<00000000b86a943e>] __alloc_pages include/linux/gfp.h:433 [inline] [<00000000b86a943e>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<00000000b86a943e>] alloc_pages_node include/linux/gfp.h:460 [inline] [<00000000b86a943e>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<00000000b86a943e>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<000000008fd729ab>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<000000008fd729ab>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<000000008fd729ab>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000007c06df06>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<000000001002f13f>] do_replace.isra.0+0x111/0x480 net/ipv4/netfilter/arp_tables.c:979 [<000000001f3d2690>] do_arpt_set_ctl+0x108/0x150 net/ipv4/netfilter/arp_tables.c:1469 [<00000000bdc58fb2>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<00000000bdc58fb2>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<00000000f3c49882>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<00000000f3c49882>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000993340ea>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<00000000a0828c59>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<00000000fb9623b2>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<00000000fb9623b2>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<00000000b1ba9518>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<00000000d92d0edf>] SYSC_setsockopt net/socket.c:1786 [inline] [<00000000d92d0edf>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<0000000068ffc778>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000d51bb41d>] entry_SYSCALL_64_a