INFO: task syz-executor.0:1819 blocked for more than 140 seconds. Not tainted 4.14.150+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28704 1819 1776 0x80000004 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+0x78/0x1c0 mm/memory.c:630 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:0x413d3a RSP: 002b:00007ffc090fcce8 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: fffffffffffffe00 RBX: 0000000000000729 RCX: 0000000000413d3a RDX: 0000000040000000 RSI: 00007ffc090fccf4 RDI: ffffffffffffffff RBP: 00000000000000f8 R08: 000000000000071b R09: 000000000298a940 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000415a00 R13: 00007ffc090fcf78 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.5:1820 blocked for more than 140 seconds. Not tainted 4.14.150+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D28624 1820 1776 0x80000004 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+0x78/0x1c0 mm/memory.c:630 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:0x413d3a RSP: 002b:00007fffc1c689c8 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: fffffffffffffe00 RBX: 0000000000000721 RCX: 0000000000413d3a RDX: 0000000040000000 RSI: 00007fffc1c689d4 RDI: ffffffffffffffff RBP: 00000000000000f8 R08: 000000000000071c R09: 0000000002013940 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000415a00 R13: 00007fffc1c68c58 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.3:1823 blocked for more than 140 seconds. Not tainted 4.14.150+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28704 1823 1776 0x80000004 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+0x78/0x1c0 mm/memory.c:630 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:0x413d3a RSP: 002b:00007ffe6edd0398 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: fffffffffffffe00 RBX: 000000000000072b RCX: 0000000000413d3a RDX: 0000000040000000 RSI: 00007ffe6edd03a4 RDI: ffffffffffffffff RBP: 00000000000000f8 R08: 000000000000071f R09: 00000000017ed940 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000415a00 R13: 00007ffe6edd0628 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.4:1824 blocked for more than 140 seconds. Not tainted 4.14.150+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D27248 1824 1788 0x80000004 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+0x78/0x1c0 mm/memory.c:630 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:0x413d3a RSP: 002b:00007ffdce97aac8 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: fffffffffffffe00 RBX: 0000000000000738 RCX: 0000000000413d3a RDX: 0000000040000000 RSI: 00007ffdce97aad4 RDI: ffffffffffffffff RBP: 00000000000000f8 R08: 0000000000000720 R09: 0000000002305940 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000415a00 R13: 00007ffdce97ad58 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.3:1835 blocked for more than 140 seconds. Not tainted 4.14.150+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D25008 1835 1823 0x00000000 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] dup_mmap kernel/fork.c:686 [inline] dup_mm kernel/fork.c:1213 [inline] copy_mm kernel/fork.c:1268 [inline] copy_process.part.0+0x246a/0x66c0 kernel/fork.c:1895 copy_process kernel/fork.c:1679 [inline] _do_fork+0x197/0xce0 kernel/fork.c:2220 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4584ca RSP: 002b:00007ffe6edd0170 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007ffe6edd0170 RCX: 00000000004584ca RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 00007ffe6edd01b0 R08: 0000000000000001 R09: 00000000017ed940 R10: 00000000017edc10 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 00007ffe6edd0200 INFO: task syz-executor.1:3749 blocked for more than 140 seconds. Not tainted 4.14.150+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D27840 3749 1788 0x80000004 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+0x78/0x1c0 mm/memory.c:630 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:0x413d3a RSP: 002b:00007ffde1c66d98 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: fffffffffffffe00 RBX: 0000000000000ea6 RCX: 0000000000413d3a RDX: 0000000040000000 RSI: 00007ffde1c66da4 RDI: ffffffffffffffff RBP: 00000000000000f8 R08: 0000000000000ea5 R09: 0000000001f14940 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000415a00 R13: 00007ffde1c67028 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.2:2404 blocked for more than 140 seconds. Not tainted 4.14.150+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D27840 2404 1776 0x80000004 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+0x78/0x1c0 mm/memory.c:630 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:0x413d3a RSP: 002b:00007fffb86de158 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: fffffffffffffe00 RBX: 0000000000000965 RCX: 0000000000413d3a RDX: 0000000040000000 RSI: 00007fffb86de164 RDI: ffffffffffffffff RBP: 00000000000000f8 R08: 0000000000000964 R09: 00000000018ac940 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000415a00 R13: 00007fffb86de3e8 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.2:2405 blocked for more than 140 seconds. Not tainted 4.14.150+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D25312 2405 2404 0x00000000 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] dup_mmap kernel/fork.c:686 [inline] dup_mm kernel/fork.c:1213 [inline] copy_mm kernel/fork.c:1268 [inline] copy_process.part.0+0x246a/0x66c0 kernel/fork.c:1895 copy_process kernel/fork.c:1679 [inline] _do_fork+0x197/0xce0 kernel/fork.c:2220 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4584ca RSP: 002b:00007fffb86ddf30 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007fffb86ddf30 RCX: 00000000004584ca RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 00007fffb86ddf70 R08: 0000000000000001 R09: 00000000018ac940 R10: 00000000018acc10 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 00007fffb86ddfc0 INFO: task syz-executor.5:22284 blocked for more than 140 seconds. Not tainted 4.14.150+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D28592 22284 1825 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 SYSC_exit_group kernel/exit.c:989 [inline] SyS_exit_group+0x19/0x20 kernel/exit.c:987 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459ef9 RSP: 002b:00007f156a475688 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000000b RCX: 0000000000459ef9 RDX: 0000000000459ef9 RSI: 00007f156a4756c0 RDI: 000000000000000b RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f156a4766d4 R13: 00000000004c719b R14: 00000000004dca50 R15: 00000000ffffffff INFO: task syz-executor.4:22331 blocked for more than 140 seconds. Not tainted 4.14.150+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D29120 22331 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:0x459ef9 RSP: 002b:00007fe426ecdcf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 000000000075bfd0 RCX: 0000000000459ef9 RDX: 00000000004c46ae RSI: 0000000000000081 RDI: 000000000075bfd4 RBP: 000000000075bfc8 R08: 0000000000000009 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 000000000075bfd4 R13: 00007ffdce97a6bf R14: 00007fe426ece9c0 R15: 000000000075bfd4 Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: (tasklist_lock){.+.+}, at: [<00000000b5dde617>] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4544 2 locks held by getty/1756: #0: (&tty->ldisc_sem){++++}, at: [<00000000ab1e8d91>] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [<000000000147ca48>] n_tty_read+0x1f7/0x1700 drivers/tty/n_tty.c:2156 1 lock held by syz-executor.0/1819: #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000104e026a>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000104e026a>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 1 lock held by syz-executor.5/1820: #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000104e026a>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000104e026a>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 1 lock held by syz-executor.3/1823: #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000104e026a>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000104e026a>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 1 lock held by syz-executor.4/1824: #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000104e026a>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000104e026a>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 4 locks held by syz-executor.3/1835: #0: (&dup_mmap_sem){.+.+}, at: [<00000000439f8759>] dup_mmap kernel/fork.c:611 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000439f8759>] dup_mm kernel/fork.c:1213 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000439f8759>] copy_mm kernel/fork.c:1268 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000439f8759>] copy_process.part.0+0x1ff5/0x66c0 kernel/fork.c:1895 #1: (&mm->mmap_sem){++++}, at: [<000000008dec4fc9>] dup_mmap kernel/fork.c:612 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000008dec4fc9>] dup_mm kernel/fork.c:1213 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000008dec4fc9>] copy_mm kernel/fork.c:1268 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000008dec4fc9>] copy_process.part.0+0x2011/0x66c0 kernel/fork.c:1895 #2: (&mm->mmap_sem/1){+.+.}, at: [<0000000083e48fb8>] dup_mmap kernel/fork.c:621 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<0000000083e48fb8>] dup_mm kernel/fork.c:1213 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<0000000083e48fb8>] copy_mm kernel/fork.c:1268 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<0000000083e48fb8>] copy_process.part.0+0x204c/0x66c0 kernel/fork.c:1895 #3: (&mapping->i_mmap_rwsem){++++}, at: [<00000000872cb8c8>] i_mmap_lock_write include/linux/fs.h:475 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<00000000872cb8c8>] dup_mmap kernel/fork.c:686 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<00000000872cb8c8>] dup_mm kernel/fork.c:1213 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<00000000872cb8c8>] copy_mm kernel/fork.c:1268 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<00000000872cb8c8>] copy_process.part.0+0x246a/0x66c0 kernel/fork.c:1895 1 lock held by syz-executor.1/3749: #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000104e026a>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000104e026a>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 1 lock held by syz-executor.2/2404: #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000104e026a>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000104e026a>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 4 locks held by syz-executor.2/2405: #0: (&dup_mmap_sem){.+.+}, at: [<00000000439f8759>] dup_mmap kernel/fork.c:611 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000439f8759>] dup_mm kernel/fork.c:1213 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000439f8759>] copy_mm kernel/fork.c:1268 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000439f8759>] copy_process.part.0+0x1ff5/0x66c0 kernel/fork.c:1895 #1: (&mm->mmap_sem){++++}, at: [<000000008dec4fc9>] dup_mmap kernel/fork.c:612 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000008dec4fc9>] dup_mm kernel/fork.c:1213 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000008dec4fc9>] copy_mm kernel/fork.c:1268 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000008dec4fc9>] copy_process.part.0+0x2011/0x66c0 kernel/fork.c:1895 #2: (&mm->mmap_sem/1){+.+.}, at: [<0000000083e48fb8>] dup_mmap kernel/fork.c:621 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<0000000083e48fb8>] dup_mm kernel/fork.c:1213 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<0000000083e48fb8>] copy_mm kernel/fork.c:1268 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<0000000083e48fb8>] copy_process.part.0+0x204c/0x66c0 kernel/fork.c:1895 #3: (&mapping->i_mmap_rwsem){++++}, at: [<00000000872cb8c8>] i_mmap_lock_write include/linux/fs.h:475 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<00000000872cb8c8>] dup_mmap kernel/fork.c:686 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<00000000872cb8c8>] dup_mm kernel/fork.c:1213 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<00000000872cb8c8>] copy_mm kernel/fork.c:1268 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<00000000872cb8c8>] copy_process.part.0+0x246a/0x66c0 kernel/fork.c:1895 1 lock held by syz-executor.5/22284: #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000104e026a>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000104e026a>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 1 lock held by syz-executor.4/22331: #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000104e026a>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000104e026a>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 1 lock held by syz-executor.1/22346: #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000104e026a>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000104e026a>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 1 lock held by syz-executor.0/22336: #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000104e026a>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000104e026a>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 23 Comm: khungtaskd Not tainted 4.14.150+ #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: 22330 Comm: syz-executor.5 Not tainted 4.14.150+ #0 task: 00000000439da639 task.stack: 0000000072f1742a RIP: 0010:mark_irqflags kernel/locking/lockdep.c:3056 [inline] RIP: 0010:__lock_acquire+0x1219/0x4320 kernel/locking/lockdep.c:3444 RSP: 0018:ffff8881dba07ca0 EFLAGS: 00000002 RAX: 000000000000000e RBX: 0000000000000040 RCX: 0000000000004000 RDX: 0000000000000001 RSI: ffff88817c888920 RDI: ffff88817c888000 RBP: ffff8881dba07e68 R08: 0000000000000001 R09: 0000000000000006 R10: ffff88817c888920 R11: 0000000000000031 R12: ffff88817c888942 R13: 00000000000e4031 R14: ffff88817c888000 R15: 0000000000000002 FS: 00007f156a476700(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000002156308 CR3: 0000000188130005 CR4: 00000000001606b0 DR0: 0000000020000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: lock_acquire+0x12b/0x360 kernel/locking/lockdep.c:3994 seqcount_lockdep_reader_access include/linux/seqlock.h:81 [inline] read_seqcount_begin include/linux/seqlock.h:164 [inline] ktime_get_update_offsets_now+0x8a/0x2f0 kernel/time/timekeeping.c:2230 hrtimer_update_base kernel/time/hrtimer.c:521 [inline] hrtimer_interrupt+0x233/0x490 kernel/time/hrtimer.c:1389 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:arch_local_irq_restore arch/x86/include/asm/paravirt.h:779 [inline] RIP: 0010:lock_acquire+0x170/0x360 kernel/locking/lockdep.c:3997 RSP: 0018:ffff88817c907870 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10 RAX: 0000000000000007 RBX: ffff88817c888000 RCX: 1ffff1102f91111e RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000246 RBP: ffffffff91cd4e60 R08: 0000000000000000 R09: 0000000000000004 R10: ffff88817c8888d0 R11: 6654053406c70425 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000002 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:242 [inline] rcu_read_lock include/linux/rcupdate.h:629 [inline] lock_page_memcg+0x36/0x290 mm/memcontrol.c:1669 page_remove_file_rmap mm/rmap.c:1211 [inline] page_remove_rmap+0x160/0x4c0 mm/rmap.c:1296 zap_pte_range mm/memory.c:1342 [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+0xa26/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:413 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:0x459ef9 RSP: 002b:00007f156a475c78 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000459ef9 RDX: 0000000000000000 RSI: 0000000000008200 RDI: 0000000000000000 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f156a4766d4 R13: 00000000004c0ade R14: 00000000004d33d8 R15: 00000000ffffffff Code: 00 00 01 48 c7 c7 60 49 1d 93 c6 07 00 0f 1f 40 00 e9 06 f6 ff ff 4c 89 d6 ba 01 00 00 00 4c 89 f7 44 89 5c 24 60 44 89 4c 24 68 <4c> 89 54 24 70 e8 dd d7 ff ff 4c 8b 54 24 70 85 c0 44 8b 4c 24