[12396] 0 12396 17601 8454 24 4 0 1000 syz-executor0 [12461] 0 12428 17667 8443 25 4 0 1000 syz-executor0 Out of memory: Kill process 5000 (syz-executor0) score 1005 or sacrifice child Killed process 5000 (syz-executor0) total-vm:70800kB, anon-rss:4300kB, file-rss:32768kB, shmem-rss:0kB INFO: task syz-executor0:12466 blocked for more than 140 seconds. Not tainted 4.14.93+ #8 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D29080 12466 1845 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3490 __lock_sock+0x12b/0x220 net/core/sock.c:2237 lock_sock_nested+0xe1/0x100 net/core/sock.c:2761 lock_sock include/net/sock.h:1456 [inline] packet_setsockopt+0x395/0x2830 net/packet/af_packet.c:3675 rs:main Q:Reg invoked oom-killer: gfp_mask=0x1c200ca(GFP_HIGHUSER_MOVABLE|__GFP_WRITE), nodemask=(null) , order=0, oom_score_adj=0 CPU: 0 PID: 1627 Comm: rs:main Q:Reg Not tainted 4.14.93+ #8 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xb9/0x10e lib/dump_stack.c:53 dump_header+0x16f/0x775 mm/oom_kill.c:422 oom_kill_process.cold+0x10/0xc29 mm/oom_kill.c:861 Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: ( tasklist_lock ){.+.+} , at: [] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4541 2 locks held by getty/1757: #0: ( &tty->ldisc_sem ){++++} , at: [] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:275 #1: ( &ldata->atomic_read_lock ){+.+.} , at: [] n_tty_read+0x1f7/0x1700 drivers/tty/n_tty.c:2156 2 locks held by syz-fuzzer/1782: #0: ( &mm->mmap_sem ){++++}, at: [] __do_page_fault+0x271/0xb80 arch/x86/mm/fault.c:1354 #1: (&ei->i_mmap_sem){++++}, at: [] ext4_filemap_fault+0x7c/0xb0 fs/ext4/inode.c:6183 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 23 Comm: khungtaskd Not tainted 4.14.93+ #8 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xb9/0x10e lib/dump_stack.c:53 nmi_cpu_backtrace.cold+0x47/0x86 lib/nmi_backtrace.c:101 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1629 Comm: rsyslogd Not tainted 4.14.93+ #8 task: ffff8881d4451780 task.stack: ffff8881d4538000 RIP: 0010:__read_once_size include/linux/compiler.h:183 [inline] RIP: 0010:compound_head include/linux/page-flags.h:147 [inline] RIP: 0010:PageLRU include/linux/page-flags.h:273 [inline] RIP: 0010:putback_inactive_pages+0x150/0xd50 mm/vmscan.c:1701 RSP: 0000:ffff8881d453f218 EFLAGS: 00000046 RAX: 1ffffd4000ea6c14 RBX: ffffea00075360a0 RCX: ffff8881d453f3b8 RDX: 0000000000000000 RSI: ffff8881da95d220 RDI: ffffea000731de1c RBP: 0000000000000001 R08: 1ffff1103b52ba59 R09: 0000000000000430 R10: ffff8881d4452028 R11: 0000000000000001 R12: ffffea0007160020 R13: ffffea0007536080 R14: 0000000000000002 R15: dffffc0000000000 FS: 00007f7f555ce700(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7f56bfedb4 CR3: 00000001d2fc2002 CR4: 00000000001606b0 DR0: ffffffffffffffff DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: shrink_inactive_list+0x4ae/0x1170 mm/vmscan.c:1833 shrink_list mm/vmscan.c:2175 [inline] shrink_node_memcg+0x5f9/0x1320 mm/vmscan.c:2440 shrink_node+0x2fa/0xbf0 mm/vmscan.c:2632 shrink_zones mm/vmscan.c:2814 [inline] do_try_to_free_pages+0x350/0xd80 mm/vmscan.c:2876 try_to_free_pages+0x20a/0x6c0 mm/vmscan.c:3082 __perform_reclaim mm/page_alloc.c:3593 [inline] __alloc_pages_direct_reclaim mm/page_alloc.c:3614 [inline] __alloc_pages_slowpath mm/page_alloc.c:4001 [inline] __alloc_pages_nodemask+0xac8/0x22e0 mm/page_alloc.c:4210 __alloc_pages include/linux/gfp.h:461 [inline] __alloc_pages_node include/linux/gfp.h:474 [inline] alloc_pages_node include/linux/gfp.h:488 [inline] __page_cache_alloc include/linux/pagemap.h:226 [inline] page_cache_read mm/filemap.c:2286 [inline] filemap_fault+0x900/0x14a0 mm/filemap.c:2470 ext4_filemap_fault+0x84/0xb0 fs/ext4/inode.c:6184 __do_fault+0x80/0x210 mm/memory.c:3194 do_read_fault mm/memory.c:3604 [inline] do_fault mm/memory.c:3730 [inline] handle_pte_fault mm/memory.c:3960 [inline] __handle_mm_fault+0x9a0/0x2640 mm/memory.c:4084 handle_mm_fault+0x2e0/0x6c9 mm/memory.c:4121 __do_page_fault+0x466/0xb80 arch/x86/mm/fault.c:1425 page_fault+0x42/0x50 arch/x86/entry/entry_64.S:1104 RIP: 555ce9c0:0x7f7f58673040 RSP: 14644b0:0000000000000000 EFLAGS: 0065e420 Code: d7 87 e9 ff 48 8b 44 24 40 80 38 00 0f 85 c7 09 00 00 48 8b 44 24 10 48 8b 58 08 4c 8d 6b e0 48 89 d8 48 c1 e8 03 42 80 3c 38 00 <0f> 85 9b 09 00 00 4c 8b 23 4c 89 ed 41 f6 c4 01 0f 85 b3 08 00