[18807] 0 18807 17634 12723 31 3 0 1000 syz-executor2 [18856] 0 18856 17601 8456 24 3 0 0 syz-executor1 [18865] 0 18865 17634 12723 31 3 0 1000 syz-executor2 [18869] 0 18869 17700 8462 31 3 0 0 [18919] 0 18919 17634 12723 31 3 0 1000 syz-executor2 INFO: task syz-executor4:32347 blocked for more than 140 seconds. Not tainted 4.14.91+ #30 [19008] 0 19008 17634 12723 31 3 0 1000 syz-executor2 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [19069] 0 19069 17634 8236 25 3 0 0 syz-executor5 [19075] 0 19075 17667 8238 25 3 0 0 syz-executor5 syz-executor4 D30200 32347 23732 0x00000004 Call Trace: [19092] 0 19092 17634 12723 31 3 0 1000 syz-executor2 [19153] 0 19153 17634 12723 31 3 0 1000 syz-executor2 schedule+0x7f/0x1b0 kernel/sched/core.c:3490 __lock_sock+0x11d/0x210 net/core/sock.c:2237 [19201] 0 19201 17634 12723 31 3 0 1000 syz-executor2 [19252] 0 19252 17634 8460 26 4 0 0 syz-executor5 lock_sock_nested+0xe3/0x100 net/core/sock.c:2758 lock_sock include/net/sock.h:1452 [inline] packet_setsockopt+0x4d8/0x2680 net/packet/af_packet.c:3671 [19264] 0 19264 17634 12723 31 3 0 1000 syz-executor2 [19270] 0 19270 17634 12723 31 3 0 0 syz-executor3 [19300] 0 19300 17601 8221 23 3 0 0 syz-executor5 SYSC_setsockopt net/socket.c:1864 [inline] SyS_setsockopt+0x132/0x220 net/socket.c:1843 [19304] 0 19304 17601 8230 24 3 0 0 syz-executor5 [19314] 0 19314 17696 12815 31 3 0 0 syz-executor3 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 [19320] 0 19320 17634 12723 31 3 0 1000 syz-executor2 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x457ec9 RSP: 002b:00007f76595b5c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [19344] 0 19344 17601 8223 23 3 0 0 syz-executor3 [19352] 0 19352 17601 8232 24 3 0 0 syz-executor3 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000457ec9 RDX: 0000000000000005 RSI: 0000000000000107 RDI: 0000000000000003 [19355] 0 19355 17601 8233 24 3 0 0 syz-executor3 RBP: 000000000073bfa0 R08: 0000000000000010 R09: 0000000000000000 [19369] 0 19369 17634 8235 24 3 0 0 syz-executor3 R10: 0000000020000080 R11: 0000000000000246 R12: 00007f76595b66d4 [19408] 0 19408 17634 12723 31 3 0 1000 syz-executor2 R13: 00000000004c5c68 R14: 00000000004da4e8 R15: 00000000ffffffff Showing all locks held in the system: [19474] 0 19474 17634 12723 31 3 0 1000 syz-executor2 [19512] 0 19512 17634 12723 31 3 0 1000 syz-executor2 2 locks held by init/1: #0: (&mm->mmap_sem){++++}, at: [] __do_page_fault+0x26d/0xb60 arch/x86/mm/fault.c:1354 #1: (&ei->i_mmap_sem){++++}, at: [] ext4_filemap_fault+0x75/0xb0 fs/ext4/inode.c:6178 1 lock held by khungtaskd/23: #0: (tasklist_lock){.+.+}, at: [] debug_show_all_locks+0x74/0x20f kernel/locking/lockdep.c:4541 2 locks held by rs:main Q:Reg/1624: #0: (&mm->mmap_sem){++++}, at: [] __do_page_fault+0x26d/0xb60 arch/x86/mm/fault.c:1354 #1: (&ei->i_mmap_sem){++++}, at: [] ext4_filemap_fault+0x75/0xb0 fs/ext4/inode.c:6178 2 locks held by getty/1754: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x20/0x80 drivers/tty/tty_ldisc.c:275 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1ff/0x1700 drivers/tty/n_tty.c:2156 2 locks held by syz-fuzzer/1781: #0: (&mm->mmap_sem){++++}, at: [] __do_page_fault+0x26d/0xb60 arch/x86/mm/fault.c:1354 #1: (&ei->i_mmap_sem){++++}, at: [] ext4_filemap_fault+0x75/0xb0 fs/ext4/inode.c:6178 2 locks held by getty/32391: #0: (&mm->mmap_sem){++++}, at: [] __do_page_fault+0x26d/0xb60 arch/x86/mm/fault.c:1354 #1: (&ei->i_mmap_sem){++++}, at: [] ext4_filemap_fault+0x75/0xb0 fs/ext4/inode.c:6178 ============================================= [19541] 0 19541 17634 12723 31 3 0 1000 syz-executor2 [19561] 0 19561 17634 8459 25 4 0 0 syz-executor1 [19591] 0 19591 17634 12723 31 3 0 1000 syz-executor2 [19596] 0 19596 17667 8464 25 4 0 0 syz-executor3 [19631] 0 19631 17667 8464 25 4 0 0 syz-executor3 [19686] 0 19686 17634 12723 31 3 0 1000 syz-executor2 [19734] 0 19734 17634 12723 31 3 0 1000 syz-executor2 [19805] 0 19805 17634 12723 31 3 0 1000 syz-executor2 [19859] 0 19859 17634 12723 31 3 0 1000 syz-executor2 [19916] 0 19916 17634 12723 31 3 0 1000 syz-executor2 [19955] 0 19955 17634 8457 25 4 0 0 syz-executor5 [19981] 0 19981 17634 12723 31 3 0 1000 syz-executor2 [20041] 0 20041 17634 12723 31 3 0 1000 syz-executor2 NMI backtrace for cpu 0 CPU: 0 PID: 23 Comm: khungtaskd Not tainted 4.14.91+ #30 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xb9/0x11b lib/dump_stack.c:53 nmi_cpu_backtrace.cold.0+0x47/0x85 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x121/0x146 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:140 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:196 [inline] watchdog+0x574/0xa70 kernel/hung_task.c:252 kthread+0x348/0x420 kernel/kthread.c:232 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:402 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 32392 Comm: getty Not tainted 4.14.91+ #30 task: ffff8881c7d65e00 task.stack: ffff8881671e0000 RIP: 0010:__sanitizer_cov_trace_pc+0x15/0x60 kernel/kcov.c:65 RSP: 0000:ffff8881671e66f0 EFLAGS: 00000286 RAX: ffff8881c7d65e00 RBX: ffffea00068efd00 RCX: 0000000000000000 RDX: 0000000080000001 RSI: ffff8881c7d66658 RDI: ffff8881c7d6662c RBP: ffff8881671e6728 R08: 0000000000000000 R09: 0000000000000000 R10: ffff8881c7d66658 R11: 0000000000000001 R12: ffff8881671e6a80 R13: ffff8881671e70a0 R14: ffff8881671e7070 R15: ffffea00068efd00 FS: 00007f51e3132700(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000401d28 CR3: 0000000166ef6005 CR4: 00000000001606a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: debug_smp_processor_id+0x5/0x20 lib/smp_processor_id.c:57 rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:360 [inline] rcu_is_watching+0x11/0xa0 kernel/rcu/tree.c:1130 rcu_read_lock include/linux/rcupdate.h:632 [inline] page_evictable+0x190/0x200 mm/vmscan.c:3969 shrink_page_list+0x357/0x31d0 mm/vmscan.c:1000 shrink_inactive_list+0x3b9/0xee0 mm/vmscan.c:1816 shrink_list mm/vmscan.c:2175 [inline] shrink_node_memcg+0x5e8/0x1300 mm/vmscan.c:2440 shrink_node+0x301/0xbf0 mm/vmscan.c:2632 shrink_zones mm/vmscan.c:2814 [inline] do_try_to_free_pages+0x349/0xde0 mm/vmscan.c:2876 try_to_free_pages+0x204/0x6b0 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+0xa8a/0x2180 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] pagecache_get_page+0x242/0x770 mm/filemap.c:1476 find_or_create_page include/linux/pagemap.h:326 [inline] grow_dev_page fs/buffer.c:1003 [inline] grow_buffers fs/buffer.c:1076 [inline] __getblk_slow fs/buffer.c:1103 [inline] __getblk_gfp+0x23e/0x720 fs/buffer.c:1382 __getblk include/linux/buffer_head.h:380 [inline] __breadahead+0x76/0xf0 fs/buffer.c:1392 sb_breadahead include/linux/buffer_head.h:319 [inline] __ext4_get_inode_loc+0x970/0xf00 fs/ext4/inode.c:4609 ext4_iget+0x1c1/0x3320 fs/ext4/inode.c:4737 ext4_iget_normal+0x81/0xc0 fs/ext4/inode.c:4980 ext4_lookup+0x2d1/0x590 fs/ext4/namei.c:1573 lookup_slow+0x22b/0x440 fs/namei.c:1710 walk_component+0x6f0/0xc10 fs/namei.c:1839 link_path_walk+0x767/0xf90 fs/namei.c:2168 path_lookupat.isra.11+0x1f0/0x890 fs/namei.c:2356 filename_lookup.part.19+0x177/0x370 fs/namei.c:2391 filename_lookup fs/namei.c:2384 [inline] user_path_at_empty+0x4b/0x80 fs/namei.c:2652 user_path_at include/linux/namei.h:57 [inline] SYSC_faccessat fs/open.c:394 [inline] SyS_faccessat+0x20d/0x660 fs/open.c:362 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x7f51e2a5d3c7 RSP: 002b:00007ffc8c6fdb68 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007ffc8c6fe720 RCX: 00007f51e2a5d3c7 RDX: 00007f51e2adc33a RSI: 0000000000000000 RDI: 00007f51e2adc348 RBP: 00007ffc8c700f2f R08: 000000000000001b R09: 0000000080000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc8c6fe720 R13: 0000000000007e88 R14: 00007ffc8c700f32 R15: 0000000000000000 Code: 22 00 e9 2c fe ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 65 48 8b 04 25 c0 de 01 00 48 85 c0 74 1a 65 8b 15 3b f5 90 58 <81> e2 00 01 1f 00 75 0b 8b 90 a8 11 00 00 83 fa 01 74 01 c3 48 [20071] 0 20071 17634 12723 31 3 0 1000 syz-executor2