Free memory is -13340kB above reserved lowmemorykiller: Killing 'syz-executor5' (19236) (tgid 19232), adj 1000, to free 42376kB on behalf of 'kworker/u4:10' (31387) because cache 128kB is below limit 6144kB for oom_score_adj 0 Free memory is -13340kB above reserved INFO: task syz-executor1:19258 blocked for more than 140 seconds. Not tainted 4.9.141+ #23 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor1 D29816 19258 2114 0x20020004 ffff880149b65f00 ffff880179f3d800 ffff880102d53700 ffff8801a8fd17c0 ffff8801db721018 ffff8801b0c77a88 ffffffff828075c2 ffff8801b0c77b08 ffff880149b65f00 ffffffff810efada 00fffc0000000000 ffff8801db7218f0 Call Trace: [] schedule+0x7f/0x1b0 kernel/sched/core.c:3553 [] __lock_sock+0x13c/0x250 net/core/sock.c:2035 [] lock_sock_nested+0xf6/0x120 net/core/sock.c:2505 [] lock_sock include/net/sock.h:1404 [inline] [] packet_setsockopt+0x5ec/0x2630 net/packet/af_packet.c:3777 lowmemorykiller: Killing 'syz-executor5' (19236) (tgid 19232), adj 1000, to free 42376kB on behalf of 'kswapd0' (33) because cache 128kB is below limit 6144kB for oom_score_adj 0 Free memory is -13340kB above reserved [] compat_packet_setsockopt+0xe1/0x140 net/packet/af_packet.c:4016 [] C_SYSC_setsockopt net/compat.c:399 [inline] [] compat_SyS_setsockopt+0x169/0x550 net/compat.c:382 [] do_syscall_32_irqs_on arch/x86/entry/common.c:328 [inline] [] do_fast_syscall_32+0x2f1/0xa10 arch/x86/entry/common.c:390 [] entry_SYSENTER_compat+0x90/0xa2 arch/x86/entry/entry_64_compat.S:137 Showing all locks held in the system: lowmemorykiller: Killing 'syz-executor5' (19236) (tgid 19232), adj 1000, to free 42376kB on behalf of 'syz-executor1' (19261) because cache 128kB is below limit 6144kB for oom_score_adj 0 Free memory is -13340kB above reserved 2 locks held by khungtaskd/24: #0: (rcu_read_lock){......}, at: [] rcu_read_unlock include/linux/rcupdate.h:927 [inline] #0: (rcu_read_lock){......}, at: [] rcu_lock_break kernel/hung_task.c:143 [inline] #0: (rcu_read_lock){......}, at: [] check_hung_uninterruptible_tasks kernel/hung_task.c:177 [inline] #0: (rcu_read_lock){......}, at: [] watchdog+0x310/0xa20 kernel/hung_task.c:239 #1: (tasklist_lock){.+.?..}, at: [] debug_show_all_locks+0x79/0x218 kernel/locking/lockdep.c:4336 2 locks held by getty/2051: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367 #1: (&ldata->atomic_read_lock){+.+...}, at: [] n_tty_read+0x202/0x16e0 drivers/tty/n_tty.c:2142 1 lock held by syz-executor0/19269: #0: (&mm->mmap_sem){++++++}, at: [] __do_page_fault+0x7db/0xa60 arch/x86/mm/fault.c:1342 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 24 Comm: khungtaskd Not tainted 4.9.141+ #23 ffff8801d9907d08 ffffffff81b42e79 0000000000000000 0000000000000001 0000000000000001 0000000000000001 ffffffff810983b0 ffff8801d9907d40 ffffffff81b4df89 0000000000000001 0000000000000000 0000000000000003 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] nmi_cpu_backtrace.cold.0+0x48/0x87 lib/nmi_backtrace.c:99 [] nmi_trigger_cpumask_backtrace+0x12c/0x151 lib/nmi_backtrace.c:60 [] arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37 [] trigger_all_cpu_backtrace include/linux/nmi.h:58 [inline] [] check_hung_task kernel/hung_task.c:125 [inline] [] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline] [] watchdog+0x6ad/0xa20 kernel/hung_task.c:239 [] kthread+0x26d/0x300 kernel/kthread.c:211 [] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:373 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 19261 Comm: syz-executor1 Not tainted 4.9.141+ #23 task: ffff8801aba5c740 task.stack: ffff88010cb88000 RIP: 0010:[] c [] lowmem_scan+0x323/0xaf0 drivers/staging/android/lowmemorykiller.c:131 RSP: 0018:ffff88010cb8f338 EFLAGS: 00000a03 RAX: 1ffff1003914f5f4 RBX: ffff8801c8a7af80 RCX: ffffc90002b58000 RDX: 0000000000000000 RSI: ffffffff821effa3 RDI: ffff8801c8a7afa4 RBP: ffff88010cb8f3d8 R08: ffff8801aba5d088 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: dffffc0000000000 R13: ffff8801c8a7b398 R14: ffff880110165f00 R15: 0000000000000600 FS: 0000000000000000(0000) GS:ffff8801db600000(0063) knlGS:00000000f5550b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000004236d0 CR3: 00000001b33f0000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff821efedec ffff880100004b3dc 0000000000000080c 0000000000000246c ffff8801aba5c740c ffffffff830cc2e0c ffff88010cb8f4b0c fffffbfff0601200c 0000222a0cb8f3a0c ffff8801101666c0c 0000000003e80080c ffff8801a1c34740c Call Trace: [] do_shrink_slab mm/vmscan.c:398 [inline] [] shrink_slab.part.8+0x3c6/0xa00 mm/vmscan.c:501 [] shrink_slab mm/vmscan.c:465 [inline] [] shrink_node+0x1ed/0x740 mm/vmscan.c:2602 [] shrink_zones mm/vmscan.c:2749 [inline] [] do_try_to_free_pages mm/vmscan.c:2791 [inline] [] try_to_free_pages+0x377/0xb80 mm/vmscan.c:3002 [] __perform_reclaim mm/page_alloc.c:3324 [inline] [] __alloc_pages_direct_reclaim mm/page_alloc.c:3345 [inline] [] __alloc_pages_slowpath mm/page_alloc.c:3697 [inline] [] __alloc_pages_nodemask+0x981/0x1bd0 mm/page_alloc.c:3862 [] __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] [] __vmalloc_area_node mm/vmalloc.c:1644 [inline] [] __vmalloc_node_range+0x25b/0x600 mm/vmalloc.c:1702 [] __vmalloc_node mm/vmalloc.c:1745 [inline] [] __vmalloc_node_flags mm/vmalloc.c:1759 [inline] [] vzalloc+0x5b/0x70 mm/vmalloc.c:1791 [] alloc_one_pg_vec_page net/packet/af_packet.c:4208 [inline] [] alloc_pg_vec net/packet/af_packet.c:4233 [inline] [] packet_set_ring+0x51e/0x1810 net/packet/af_packet.c:4323 [] packet_setsockopt+0xfa3/0x2630 net/packet/af_packet.c:3685 [] compat_packet_setsockopt+0xe1/0x140 net/packet/af_packet.c:4016 [] C_SYSC_setsockopt net/compat.c:399 [inline] [] compat_SyS_setsockopt+0x169/0x550 net/compat.c:382 [] do_syscall_32_irqs_on arch/x86/entry/common.c:328 [inline] [] do_fast_syscall_32+0x2f1/0xa10 arch/x86/entry/common.c:390 [] entry_SYSENTER_compat+0x90/0xa2 arch/x86/entry/entry_64_compat.S:137 Code: c00 c00 c49 c8d c9d ce8 cfb cff cff c48 c81 cfb c80 c91 c02 c83 c0f c84 c3d c02 c00 c00 ce8 cbd cba c12 cff c48 c8d c7b c24 c48 c89 cf8 c48 cc1 ce8 c03 c42 c0f cb6 c14 c20 c<48> c89 cf8 c83 ce0 c07 c83 cc0 c03 c38 cd0 c7c c08 c84 cd2 c0f c85 c53 c06 c00 c00 c lowmemorykiller: Killing 'syz-executor5' (19236) (tgid 19232), adj 1000, to free 42376kB on behalf of 'kworker/u4:10' (31387) because cache 128kB is below limit 6144kB for oom_score_adj 0 Free memory is -13340kB above reserved lowmemorykiller: Killing 'syz-executor5' (19236) (tgid 19232), adj 1000, to free 42376kB on behalf of 'rs:main Q:Reg' (1920) because cache 128kB is below limit 6144kB for oom_score_adj 0 Free memory is -13340kB above reserved lowmemorykiller: Killing 'syz-executor5' (19236) (tgid 19232), adj 1000, to free 42376kB on behalf of 'syz-fuzzer' (2076) because cache 128kB is below limit 6144kB for oom_score_adj 0 Free memory is -13340kB above reserved lowmemorykiller: Killing 'syz-executor5' (19236) (tgid 19232), adj 1000, to free 42376kB on behalf of 'init' (19303) because cache 128kB is below limit 6144kB for oom_score_adj 0 Free memory is -13340kB above reserved lowmemorykiller: Killing 'syz-executor5' (19236) (tgid 19232), adj 1000, to free 42376kB on behalf of 'kworker/u4:10' (31387) because cache 128kB is below limit 6144kB for oom_score_adj 0 Free memory is -13340kB above reserved lowmemorykiller: Killing 'syz-executor5' (19236) (tgid 19232), adj 1000, to free 42376kB on behalf of 'kswapd0' (33) because cache 128kB is below limit 6144kB for oom_score_adj 0 Free memory is -13340kB above reserved