INFO: task syz-executor.5:14934 blocked for more than 140 seconds. Not tainted 4.14.149+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D28288 14934 1848 0x80000000 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3498 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:588 [inline] rwsem_down_write_failed+0x3ee/0x7c0 kernel/locking/rwsem-xadd.c:617 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:105 __down_write arch/x86/include/asm/rwsem.h:126 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:56 i_mmap_lock_write include/linux/fs.h:475 [inline] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 free_pgtables+0xb3/0x1c0 mm/memory.c:644 exit_mmap+0x222/0x440 mm/mmap.c:3078 __mmput kernel/fork.c:940 [inline] mmput+0xeb/0x370 kernel/fork.c:961 exit_mm kernel/exit.c:545 [inline] do_exit+0x905/0x2a20 kernel/exit.c:862 do_group_exit+0x100/0x2e0 kernel/exit.c:978 get_signal+0x39f/0x1cc0 kernel/signal.c:2422 do_signal+0x96/0x15d0 arch/x86/kernel/signal.c:814 exit_to_usermode_loop+0x11d/0x160 arch/x86/entry/common.c:160 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x3a3/0x520 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459a59 RSP: 002b:00007fe45c668cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000075bfd0 RCX: 0000000000459a59 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000075bfd0 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000075bfd4 R13: 00007ffd0455006f R14: 00007fe45c6699c0 R15: 000000000075bfd4 INFO: task syz-executor.2:14945 blocked for more than 140 seconds. Not tainted 4.14.149+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D24704 14945 10823 0x80000002 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3498 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:588 [inline] rwsem_down_write_failed+0x3ee/0x7c0 kernel/locking/rwsem-xadd.c:617 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:105 __down_write arch/x86/include/asm/rwsem.h:126 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:56 i_mmap_lock_write include/linux/fs.h:475 [inline] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 free_pgtables+0xb3/0x1c0 mm/memory.c:644 exit_mmap+0x222/0x440 mm/mmap.c:3078 __mmput kernel/fork.c:940 [inline] mmput+0xeb/0x370 kernel/fork.c:961 exit_mm kernel/exit.c:545 [inline] do_exit+0x905/0x2a20 kernel/exit.c:862 do_group_exit+0x100/0x2e0 kernel/exit.c:978 get_signal+0x39f/0x1cc0 kernel/signal.c:2422 do_signal+0x96/0x15d0 arch/x86/kernel/signal.c:814 exit_to_usermode_loop+0x11d/0x160 arch/x86/entry/common.c:160 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x3a3/0x520 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459a59 RSP: 002b:00007f903facec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: 00000000000e0000 RBX: 0000000000000004 RCX: 0000000000459a59 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000007 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 00008000fffffffe R11: 0000000000000246 R12: 00007f903facf6d4 R13: 00000000004c748b R14: 00000000004dd038 R15: 00000000ffffffff INFO: task syz-executor.0:14951 blocked for more than 140 seconds. Not tainted 4.14.149+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28416 14951 1839 0x80000000 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3498 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:588 [inline] rwsem_down_write_failed+0x3ee/0x7c0 kernel/locking/rwsem-xadd.c:617 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:105 __down_write arch/x86/include/asm/rwsem.h:126 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:56 i_mmap_lock_write include/linux/fs.h:475 [inline] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 free_pgtables+0xb3/0x1c0 mm/memory.c:644 exit_mmap+0x222/0x440 mm/mmap.c:3078 __mmput kernel/fork.c:940 [inline] mmput+0xeb/0x370 kernel/fork.c:961 exit_mm kernel/exit.c:545 [inline] do_exit+0x905/0x2a20 kernel/exit.c:862 do_group_exit+0x100/0x2e0 kernel/exit.c:978 get_signal+0x39f/0x1cc0 kernel/signal.c:2422 do_signal+0x96/0x15d0 arch/x86/kernel/signal.c:814 exit_to_usermode_loop+0x11d/0x160 arch/x86/entry/common.c:160 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x3a3/0x520 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459a59 RSP: 002b:00007f0aea1e7cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000075bfd0 RCX: 0000000000459a59 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000075bfd0 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000075bfd4 R13: 00007ffe62c291ff R14: 00007f0aea1e89c0 R15: 000000000075bfd4 INFO: task syz-executor.4:14950 blocked for more than 140 seconds. Not tainted 4.14.149+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D24688 14950 10805 0x80000002 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3498 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:588 [inline] rwsem_down_write_failed+0x3ee/0x7c0 kernel/locking/rwsem-xadd.c:617 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:105 __down_write arch/x86/include/asm/rwsem.h:126 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:56 i_mmap_lock_write include/linux/fs.h:475 [inline] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 free_pgtables+0xb3/0x1c0 mm/memory.c:644 exit_mmap+0x222/0x440 mm/mmap.c:3078 __mmput kernel/fork.c:940 [inline] mmput+0xeb/0x370 kernel/fork.c:961 exit_mm kernel/exit.c:545 [inline] do_exit+0x905/0x2a20 kernel/exit.c:862 do_group_exit+0x100/0x2e0 kernel/exit.c:978 get_signal+0x39f/0x1cc0 kernel/signal.c:2422 do_signal+0x96/0x15d0 arch/x86/kernel/signal.c:814 exit_to_usermode_loop+0x11d/0x160 arch/x86/entry/common.c:160 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x3a3/0x520 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459a59 RSP: 002b:00007f73f2debc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: 00000000000f0000 RBX: 0000000000000004 RCX: 0000000000459a59 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 00008000fffffffe R11: 0000000000000246 R12: 00007f73f2dec6d4 R13: 00000000004c748b R14: 00000000004dd038 R15: 00000000ffffffff INFO: task syz-executor.3:14953 blocked for more than 140 seconds. Not tainted 4.14.149+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28544 14953 1837 0x80000000 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3498 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:588 [inline] rwsem_down_write_failed+0x3ee/0x7c0 kernel/locking/rwsem-xadd.c:617 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:105 __down_write arch/x86/include/asm/rwsem.h:126 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:56 i_mmap_lock_write include/linux/fs.h:475 [inline] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 free_pgtables+0xb3/0x1c0 mm/memory.c:644 exit_mmap+0x222/0x440 mm/mmap.c:3078 __mmput kernel/fork.c:940 [inline] mmput+0xeb/0x370 kernel/fork.c:961 exit_mm kernel/exit.c:545 [inline] do_exit+0x905/0x2a20 kernel/exit.c:862 do_group_exit+0x100/0x2e0 kernel/exit.c:978 get_signal+0x39f/0x1cc0 kernel/signal.c:2422 do_signal+0x96/0x15d0 arch/x86/kernel/signal.c:814 exit_to_usermode_loop+0x11d/0x160 arch/x86/entry/common.c:160 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x3a3/0x520 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459a59 RSP: 002b:00007ffcf1894fd8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffdfc RBX: 00000000000003e8 RCX: 0000000000459a59 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000075bf2c RBP: 000000000000002d R08: ffffffffffffffff R09: ffffffffffffffff R10: 00007ffcf18950b0 R11: 0000000000000246 R12: 000000000075bf20 R13: 00000000002252e5 R14: 0000000000225312 R15: 000000000075bf2c Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: (tasklist_lock){.+.+}, at: [<0000000076c850c4>] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4544 2 locks held by getty/1758: #0: (&tty->ldisc_sem){++++}, at: [<000000001c9aab3c>] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [<00000000edacc2f2>] n_tty_read+0x1f7/0x1700 drivers/tty/n_tty.c:2156 1 lock held by syz-executor.0/1827: #0: (&mapping->i_mmap_rwsem){++++}, at: [<0000000088ed24eb>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<0000000088ed24eb>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 1 lock held by syz-executor.3/1829: #0: (&mapping->i_mmap_rwsem){++++}, at: [<0000000088ed24eb>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<0000000088ed24eb>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 1 lock held by syz-executor.5/1831: #0: (&mapping->i_mmap_rwsem){++++}, at: [<0000000088ed24eb>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<0000000088ed24eb>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 1 lock held by syz-executor.1/28761: #0: (&mapping->i_mmap_rwsem){++++}, at: [<0000000088ed24eb>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<0000000088ed24eb>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 1 lock held by syz-executor.4/10804: #0: (&mapping->i_mmap_rwsem){++++}, at: [<0000000088ed24eb>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<0000000088ed24eb>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 1 lock held by syz-executor.2/10822: #0: (&mapping->i_mmap_rwsem){++++}, at: [<0000000088ed24eb>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<0000000088ed24eb>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 1 lock held by syz-executor.5/14934: #0: (&mapping->i_mmap_rwsem){++++}, at: [<0000000088ed24eb>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<0000000088ed24eb>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 1 lock held by syz-executor.2/14945: #0: (&mapping->i_mmap_rwsem){++++}, at: [<0000000088ed24eb>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<0000000088ed24eb>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 1 lock held by syz-executor.0/14951: #0: (&mapping->i_mmap_rwsem){++++}, at: [<0000000088ed24eb>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<0000000088ed24eb>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 1 lock held by syz-executor.4/14950: #0: (&mapping->i_mmap_rwsem){++++}, at: [<0000000088ed24eb>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<0000000088ed24eb>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 1 lock held by syz-executor.3/14953: #0: (&mapping->i_mmap_rwsem){++++}, at: [<0000000088ed24eb>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<0000000088ed24eb>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 23 Comm: khungtaskd Not tainted 4.14.149+ #0 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xca/0x134 lib/dump_stack.c:53 nmi_cpu_backtrace.cold+0x47/0x86 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x119/0x147 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:140 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:195 [inline] watchdog+0x629/0xbe0 kernel/hung_task.c:274 kthread+0x31f/0x430 kernel/kthread.c:232 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:404 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 14954 Comm: syz-executor.1 Not tainted 4.14.149+ #0 task: 00000000f99de389 task.stack: 00000000d86036bc RIP: 0010:preempt_count_add+0x6b/0x180 kernel/sched/core.c:3169 RSP: 0018:ffff8881dba07738 EFLAGS: 00000082 RAX: dffffc0000000000 RBX: 0000000000000003 RCX: 0000000000000000 RDX: 1ffffffff6c7ece4 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffff8881dba07748 R08: 0000000000000000 R09: ffffed103b7444fa R10: ffffed103b7444f9 R11: ffff8881dba227cf R12: 0000000000000001 R13: 0000000000000018 R14: ffff88816e3bf878 R15: ffff8881dba07ae8 FS: 00007fc396929700(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f969536d000 CR3: 0000000157246002 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lockdep_current_cpu_online kernel/rcu/tree.c:1185 [inline] rcu_lockdep_current_cpu_online+0x30/0x140 kernel/rcu/tree.c:1177 rcu_read_lock_held+0x85/0xc0 kernel/rcu/update.c:330 __perf_output_begin kernel/events/ring_buffer.c:163 [inline] perf_output_begin_forward+0x7cc/0xa50 kernel/events/ring_buffer.c:262 __perf_event_output kernel/events/core.c:6266 [inline] perf_event_output_forward+0xf1/0x220 kernel/events/core.c:6282 __perf_event_overflow+0x12d/0x340 kernel/events/core.c:7520 perf_swevent_hrtimer+0x238/0x390 kernel/events/core.c:8730 __run_hrtimer kernel/time/hrtimer.c:1259 [inline] __hrtimer_run_queues+0x28b/0xc40 kernel/time/hrtimer.c:1323 hrtimer_interrupt+0x1bd/0x490 kernel/time/hrtimer.c:1357 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1075 [inline] smp_apic_timer_interrupt+0x147/0x650 arch/x86/kernel/apic/apic.c:1100 apic_timer_interrupt+0x8c/0xa0 arch/x86/entry/entry_64.S:792 RIP: 0010:check_memory_region+0xb5/0x180 mm/kasan/generic.c:192 RSP: 0018:ffff88816e3bf920 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10 RAX: fffff94000d3e5a4 RBX: fffff94000d3e5a3 RCX: ffffffffb2ed7f5c RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffea00069f2d18 RBP: fffff94000d3e5a4 R08: 0000000000000001 R09: fffff94000d3e5a4 R10: fffff94000d3e5a3 R11: ffffea00069f2d1b R12: 00007f1e47c29000 R13: ffffea00069f2d00 R14: dffffc0000000000 R15: ffff888179827140 atomic_read include/asm-generic/atomic-instrumented.h:21 [inline] page_mapcount include/linux/mm.h:593 [inline] zap_pte_range mm/memory.c:1343 [inline] zap_pmd_range mm/memory.c:1444 [inline] zap_pud_range mm/memory.c:1473 [inline] zap_p4d_range mm/memory.c:1494 [inline] unmap_page_range+0xd8c/0x1320 mm/memory.c:1515 unmap_single_vma+0x118/0x170 mm/memory.c:1560 zap_page_range_single+0x206/0x2a0 mm/memory.c:1651 unmap_mapping_range_vma mm/memory.c:2791 [inline] unmap_mapping_range_tree mm/memory.c:2812 [inline] unmap_mapping_range+0x212/0x290 mm/memory.c:2859 truncate_pagecache+0x51/0x90 mm/truncate.c:760 simple_setattr+0xc6/0xf0 fs/libfs.c:409 notify_change2+0xbea/0xd80 fs/attr.c:317 do_truncate2+0x11e/0x1e0 fs/open.c:63 do_sys_ftruncate.constprop.0+0x34f/0x4a0 fs/open.c:214 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459a59 RSP: 002b:00007fc396928c78 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000459a59 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc3969296d4 R13: 00000000004c04dd R14: 00000000004d2b98 R15: 00000000ffffffff Code: 03 85 c9 75 07 65 8b 05 74 86 4b 4d 48 b8 00 00 00 00 00 fc ff df 48 89 da 83 e3 07 48 c1 ea 03 83 c3 03 65 44 01 25 55 86 4b 4d <0f> b6 04 02 38 c3 7c 08 84 c0 0f 85 c7 00 00 00 8b 15 0f 0f 89