INFO: task syz-executor.5:1825 blocked for more than 140 seconds. Not tainted 4.14.154+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D27840 1825 1774 0x80000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3499 __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:0x41447a RSP: 002b:00007ffc81aae8e8 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: fffffffffffffe00 RBX: 0000000000000727 RCX: 000000000041447a RDX: 0000000040000000 RSI: 00007ffc81aae8f4 RDI: ffffffffffffffff RBP: 00000000000000f8 R08: 0000000000000721 R09: 000000000153a940 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000416140 R13: 00007ffc81aaeb78 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.0:1826 blocked for more than 140 seconds. Not tainted 4.14.154+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28480 1826 1774 0x80000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3499 __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:0x41447a RSP: 002b:00007fff4153d9b8 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: fffffffffffffe00 RBX: 0000000000000734 RCX: 000000000041447a RDX: 0000000040000000 RSI: 00007fff4153d9c4 RDI: ffffffffffffffff RBP: 00000000000000f8 R08: 0000000000000722 R09: 00000000011aa940 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000416140 R13: 00007fff4153dc48 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.2:1830 blocked for more than 140 seconds. Not tainted 4.14.154+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D27840 1830 1787 0x80000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3499 __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:0x41447a RSP: 002b:00007ffcaa1e98d8 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: fffffffffffffe00 RBX: 0000000000000733 RCX: 000000000041447a RDX: 0000000040000000 RSI: 00007ffcaa1e98e4 RDI: ffffffffffffffff RBP: 00000000000000f8 R08: 0000000000000726 R09: 00000000020b7940 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000416140 R13: 00007ffcaa1e9b68 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.5:1831 blocked for more than 140 seconds. Not tainted 4.14.154+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D25192 1831 1825 0x00000000 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3499 __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:0x458c0a RSP: 002b:00007ffc81aae6c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007ffc81aae6c0 RCX: 0000000000458c0a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 00007ffc81aae700 R08: 0000000000000001 R09: 000000000153a940 R10: 000000000153ac10 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 00007ffc81aae750 INFO: task syz-executor.2:1843 blocked for more than 140 seconds. Not tainted 4.14.154+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D25152 1843 1830 0x00000000 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3499 __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:0x458c0a RSP: 002b:00007ffcaa1e96b0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007ffcaa1e96b0 RCX: 0000000000458c0a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 00007ffcaa1e96f0 R08: 0000000000000001 R09: 00000000020b7940 R10: 00000000020b7c10 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 00007ffcaa1e9740 INFO: task syz-executor.0:1844 blocked for more than 140 seconds. Not tainted 4.14.154+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D25312 1844 1826 0x00000000 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3499 __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:0x458c0a RSP: 002b:00007fff4153d790 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007fff4153d790 RCX: 0000000000458c0a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 00007fff4153d7d0 R08: 0000000000000001 R09: 00000000011aa940 R10: 00000000011aac10 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 00007fff4153d820 INFO: task syz-executor.3:3464 blocked for more than 140 seconds. Not tainted 4.14.154+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D27840 3464 1777 0x80000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3499 __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:0x41447a RSP: 002b:00007ffe6fb75568 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: fffffffffffffe00 RBX: 0000000000000d8a RCX: 000000000041447a RDX: 0000000040000000 RSI: 00007ffe6fb75574 RDI: ffffffffffffffff RBP: 00000000000000f8 R08: 0000000000000d88 R09: 0000000000f33940 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000416140 R13: 00007ffe6fb757f8 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.3:3466 blocked for more than 140 seconds. Not tainted 4.14.154+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D25312 3466 3464 0x00000000 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3499 __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:0x458c0a RSP: 002b:00007ffe6fb75340 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007ffe6fb75340 RCX: 0000000000458c0a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 00007ffe6fb75380 R08: 0000000000000001 R09: 0000000000f33940 R10: 0000000000f33c10 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 00007ffe6fb753d0 INFO: task syz-executor.4:6560 blocked for more than 140 seconds. Not tainted 4.14.154+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D27840 6560 1779 0x80000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3499 __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:0x41447a RSP: 002b:00007ffc032bbc68 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: fffffffffffffe00 RBX: 00000000000019a1 RCX: 000000000041447a RDX: 0000000040000000 RSI: 00007ffc032bbc74 RDI: ffffffffffffffff RBP: 00000000000000f8 R08: 00000000000019a0 R09: 0000000002436940 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000416140 R13: 00007ffc032bbef8 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.4:6561 blocked for more than 140 seconds. Not tainted 4.14.154+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D25312 6561 6560 0x00000000 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3499 __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:0x458c0a RSP: 002b:00007ffc032bba40 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007ffc032bba40 RCX: 0000000000458c0a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 00007ffc032bba80 R08: 0000000000000001 R09: 0000000002436940 R10: 0000000002436c10 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 00007ffc032bbad0 Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: (tasklist_lock){.+.+}, at: [<00000000779dbfcd>] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4544 2 locks held by getty/1756: #0: (&tty->ldisc_sem){++++}, at: [<0000000005c0af99>] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [<00000000d7493385>] n_tty_read+0x1f7/0x1700 drivers/tty/n_tty.c:2156 1 lock held by syz-executor.5/1825: #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000a79662e6>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000a79662e6>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 1 lock held by syz-executor.0/1826: #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000a79662e6>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000a79662e6>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 1 lock held by syz-executor.2/1830: #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000a79662e6>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000a79662e6>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 4 locks held by syz-executor.5/1831: #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] dup_mmap kernel/fork.c:611 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] dup_mm kernel/fork.c:1213 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] copy_mm kernel/fork.c:1268 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] copy_process.part.0+0x1ff5/0x66c0 kernel/fork.c:1895 #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] dup_mmap kernel/fork.c:612 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] dup_mm kernel/fork.c:1213 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] copy_mm kernel/fork.c:1268 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] copy_process.part.0+0x2011/0x66c0 kernel/fork.c:1895 #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] dup_mmap kernel/fork.c:621 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] dup_mm kernel/fork.c:1213 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] copy_mm kernel/fork.c:1268 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] copy_process.part.0+0x204c/0x66c0 kernel/fork.c:1895 #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] i_mmap_lock_write include/linux/fs.h:475 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] dup_mmap kernel/fork.c:686 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] dup_mm kernel/fork.c:1213 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] copy_mm kernel/fork.c:1268 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] copy_process.part.0+0x246a/0x66c0 kernel/fork.c:1895 4 locks held by syz-executor.2/1843: #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] dup_mmap kernel/fork.c:611 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] dup_mm kernel/fork.c:1213 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] copy_mm kernel/fork.c:1268 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] copy_process.part.0+0x1ff5/0x66c0 kernel/fork.c:1895 #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] dup_mmap kernel/fork.c:612 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] dup_mm kernel/fork.c:1213 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] copy_mm kernel/fork.c:1268 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] copy_process.part.0+0x2011/0x66c0 kernel/fork.c:1895 #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] dup_mmap kernel/fork.c:621 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] dup_mm kernel/fork.c:1213 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] copy_mm kernel/fork.c:1268 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] copy_process.part.0+0x204c/0x66c0 kernel/fork.c:1895 #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] i_mmap_lock_write include/linux/fs.h:475 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] dup_mmap kernel/fork.c:686 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] dup_mm kernel/fork.c:1213 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] copy_mm kernel/fork.c:1268 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] copy_process.part.0+0x246a/0x66c0 kernel/fork.c:1895 4 locks held by syz-executor.0/1844: #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] dup_mmap kernel/fork.c:611 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] dup_mm kernel/fork.c:1213 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] copy_mm kernel/fork.c:1268 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] copy_process.part.0+0x1ff5/0x66c0 kernel/fork.c:1895 #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] dup_mmap kernel/fork.c:612 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] dup_mm kernel/fork.c:1213 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] copy_mm kernel/fork.c:1268 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] copy_process.part.0+0x2011/0x66c0 kernel/fork.c:1895 #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] dup_mmap kernel/fork.c:621 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] dup_mm kernel/fork.c:1213 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] copy_mm kernel/fork.c:1268 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] copy_process.part.0+0x204c/0x66c0 kernel/fork.c:1895 #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] i_mmap_lock_write include/linux/fs.h:475 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] dup_mmap kernel/fork.c:686 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] dup_mm kernel/fork.c:1213 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] copy_mm kernel/fork.c:1268 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] copy_process.part.0+0x246a/0x66c0 kernel/fork.c:1895 1 lock held by syz-executor.3/3464: #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000a79662e6>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000a79662e6>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 4 locks held by syz-executor.3/3466: #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] dup_mmap kernel/fork.c:611 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] dup_mm kernel/fork.c:1213 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] copy_mm kernel/fork.c:1268 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] copy_process.part.0+0x1ff5/0x66c0 kernel/fork.c:1895 #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] dup_mmap kernel/fork.c:612 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] dup_mm kernel/fork.c:1213 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] copy_mm kernel/fork.c:1268 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] copy_process.part.0+0x2011/0x66c0 kernel/fork.c:1895 #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] dup_mmap kernel/fork.c:621 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] dup_mm kernel/fork.c:1213 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] copy_mm kernel/fork.c:1268 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] copy_process.part.0+0x204c/0x66c0 kernel/fork.c:1895 #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] i_mmap_lock_write include/linux/fs.h:475 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] dup_mmap kernel/fork.c:686 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] dup_mm kernel/fork.c:1213 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] copy_mm kernel/fork.c:1268 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] copy_process.part.0+0x246a/0x66c0 kernel/fork.c:1895 1 lock held by syz-executor.4/6560: #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000a79662e6>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000a79662e6>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 4 locks held by syz-executor.4/6561: #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] dup_mmap kernel/fork.c:611 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] dup_mm kernel/fork.c:1213 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] copy_mm kernel/fork.c:1268 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] copy_process.part.0+0x1ff5/0x66c0 kernel/fork.c:1895 #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] dup_mmap kernel/fork.c:612 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] dup_mm kernel/fork.c:1213 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] copy_mm kernel/fork.c:1268 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] copy_process.part.0+0x2011/0x66c0 kernel/fork.c:1895 #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] dup_mmap kernel/fork.c:621 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] dup_mm kernel/fork.c:1213 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] copy_mm kernel/fork.c:1268 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] copy_process.part.0+0x204c/0x66c0 kernel/fork.c:1895 #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] i_mmap_lock_write include/linux/fs.h:475 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] dup_mmap kernel/fork.c:686 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] dup_mm kernel/fork.c:1213 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] copy_mm kernel/fork.c:1268 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] copy_process.part.0+0x246a/0x66c0 kernel/fork.c:1895 1 lock held by syz-executor.1/7143: #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000a79662e6>] i_mmap_lock_write include/linux/fs.h:475 [inline] #0: (&mapping->i_mmap_rwsem){++++}, at: [<00000000a79662e6>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158 4 locks held by syz-executor.1/7144: #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] dup_mmap kernel/fork.c:611 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] dup_mm kernel/fork.c:1213 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] copy_mm kernel/fork.c:1268 [inline] #0: (&dup_mmap_sem){.+.+}, at: [<00000000afc35295>] copy_process.part.0+0x1ff5/0x66c0 kernel/fork.c:1895 #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] dup_mmap kernel/fork.c:612 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] dup_mm kernel/fork.c:1213 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] copy_mm kernel/fork.c:1268 [inline] #1: (&mm->mmap_sem){++++}, at: [<000000006e1add1a>] copy_process.part.0+0x2011/0x66c0 kernel/fork.c:1895 #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] dup_mmap kernel/fork.c:621 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] dup_mm kernel/fork.c:1213 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] copy_mm kernel/fork.c:1268 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [<00000000c0bea310>] copy_process.part.0+0x204c/0x66c0 kernel/fork.c:1895 #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] i_mmap_lock_write include/linux/fs.h:475 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] dup_mmap kernel/fork.c:686 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] dup_mm kernel/fork.c:1213 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] copy_mm kernel/fork.c:1268 [inline] #3: (&mapping->i_mmap_rwsem){++++}, at: [<000000006661e52a>] copy_process.part.0+0x246a/0x66c0 kernel/fork.c:1895 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 23 Comm: khungtaskd Not tainted 4.14.154+ #0 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xe5/0x154 lib/dump_stack.c:58 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: 22676 Comm: syz-executor.1 Not tainted 4.14.154+ #0 task: 000000001a573a18 task.stack: 0000000050520bd1 RIP: 0010:__rcu_read_unlock+0x27/0x160 kernel/rcu/update.c:253 RSP: 0018:ffff8880bae078e8 EFLAGS: 00000a06 RAX: 0000000000000000 RBX: ffff888154b5c680 RCX: ffffffffbb4528ac RDX: 1ffff1102a96b941 RSI: 0000000000000004 RDI: ffff8881dba227cc RBP: ffff888154b5ca08 R08: 0000000000000000 R09: ffffed103b7444fa R10: ffffed103b7444f9 R11: ffff8881dba227cf R12: ffffea00069c7b80 R13: ffffea00069c7ba0 R14: dead000000000100 R15: ffff888199086558 FS: 00007f53c8ac2700(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000c2c000 CR3: 000000019a2c2003 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_unlock include/linux/rcupdate.h:684 [inline] __unlock_page_memcg+0x54/0x100 mm/memcontrol.c:1716 page_remove_file_rmap mm/rmap.c:1245 [inline] page_remove_rmap+0x182/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:0x45a639 RSP: 002b:00007f53c8ac1c78 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 000000000045a639 RDX: 0000000000000000 RSI: 0000000000001000 RDI: 0000000000000000 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f53c8ac26d4 R13: 00000000004c12c6 R14: 00000000004d40c8 R15: 00000000ffffffff Code: 0f 1f 40 00 48 b8 00 00 00 00 00 fc ff df 55 53 65 48 8b 1c 25 c0 de 01 00 48 8d ab 88 03 00 00 48 89 ea 48 c1 ea 03 0f b6 04 02 <84> c0 74 08 3c 03 0f 8e e5 00 00 00 8b 83 88 03 00 00 83 f8 01