syzbot


INFO: task hung in unlink_file_vma

Status: auto-closed as invalid on 2020/04/01 21:27
Reported-by: syzbot+970d2dcfa0db6c36efb9@syzkaller.appspotmail.com
First crash: 2210d, last: 1814d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in unlink_file_vma kasan mm 3 1103d 1161d 0/28 closed as invalid on 2022/02/07 19:19
android-49 INFO: task hung in unlink_file_vma 1 2154d 2048d 0/3 auto-closed as invalid on 2019/06/26 19:37

Sample crash report:
INFO: task syz-executor.0:1830 blocked for more than 140 seconds.
      Not tainted 4.14.157-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.0  D28704  1830   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:2426
 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:0x4144ba
RSP: 002b:00007ffd5435ef08 EFLAGS: 00000246 ORIG_RAX: 000000000000003d
RAX: fffffffffffffe00 RBX: 0000000000000732 RCX: 00000000004144ba
RDX: 0000000040000000 RSI: 00007ffd5435ef14 RDI: ffffffffffffffff
RBP: 00000000000000f8 R08: 0000000000000726 R09: 00000000019ec940
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000416180
R13: 00007ffd5435f198 R14: 0000000000000000 R15: 0000000000000000
INFO: task syz-executor.0:1842 blocked for more than 140 seconds.
      Not tainted 4.14.157-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.0  D25008  1842   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:0x458c4a
RSP: 002b:00007ffd5435ece0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007ffd5435ece0 RCX: 0000000000458c4a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 00007ffd5435ed20 R08: 0000000000000001 R09: 00000000019ec940
R10: 00000000019ecc10 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000000 R15: 00007ffd5435ed70
INFO: task syz-executor.4:5404 blocked for more than 140 seconds.
      Not tainted 4.14.157-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.4  D28704  5404   1793 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:2426
 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:0x4144ba
RSP: 002b:00007ffdb6a51078 EFLAGS: 00000246 ORIG_RAX: 000000000000003d
RAX: fffffffffffffe00 RBX: 000000000000151d RCX: 00000000004144ba
RDX: 0000000040000000 RSI: 00007ffdb6a51084 RDI: ffffffffffffffff
RBP: 00000000000000f8 R08: 000000000000151c R09: 0000000001daa940
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000416180
R13: 00007ffdb6a51308 R14: 0000000000000000 R15: 0000000000000000
INFO: task syz-executor.1:6671 blocked for more than 140 seconds.
      Not tainted 4.14.157-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.1  D27840  6671   1781 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:2426
 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:0x4144ba
RSP: 002b:00007ffd7fba3118 EFLAGS: 00000246 ORIG_RAX: 000000000000003d
RAX: fffffffffffffe00 RBX: 0000000000001a10 RCX: 00000000004144ba
RDX: 0000000040000000 RSI: 00007ffd7fba3124 RDI: ffffffffffffffff
RBP: 00000000000000f8 R08: 0000000000001a0f R09: 0000000002407940
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000416180
R13: 00007ffd7fba33a8 R14: 0000000000000000 R15: 0000000000000000
INFO: task syz-executor.1:6672 blocked for more than 140 seconds.
      Not tainted 4.14.157-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.1  D25312  6672   6671 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:0x458c4a
RSP: 002b:00007ffd7fba2ef0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007ffd7fba2ef0 RCX: 0000000000458c4a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 00007ffd7fba2f30 R08: 0000000000000001 R09: 0000000002407940
R10: 0000000002407c10 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000000 R15: 00007ffd7fba2f80
INFO: task syz-executor.5:8217 blocked for more than 140 seconds.
      Not tainted 4.14.157-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D27840  8217   1782 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:2426
 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:0x4144ba
RSP: 002b:00007ffd608c1568 EFLAGS: 00000246 ORIG_RAX: 000000000000003d
RAX: fffffffffffffe00 RBX: 000000000000201a RCX: 00000000004144ba
RDX: 0000000040000000 RSI: 00007ffd608c1574 RDI: ffffffffffffffff
RBP: 00000000000000f8 R08: 0000000000002019 R09: 00000000023bb940
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000416180
R13: 00007ffd608c17f8 R14: 0000000000000000 R15: 0000000000000000
INFO: task syz-executor.5:8218 blocked for more than 140 seconds.
      Not tainted 4.14.157-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D25312  8218   8217 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:0x458c4a
RSP: 002b:00007ffd608c1340 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007ffd608c1340 RCX: 0000000000458c4a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 00007ffd608c1380 R08: 0000000000000001 R09: 00000000023bb940
R10: 00000000023bbc10 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000000 R15: 00007ffd608c13d0
INFO: task syz-executor.3:15282 blocked for more than 140 seconds.
      Not tainted 4.14.157-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.3  D28704 15282   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:2426
 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:0x4144ba
RSP: 002b:00007ffd666d7108 EFLAGS: 00000246 ORIG_RAX: 000000000000003d
RAX: fffffffffffffe00 RBX: 0000000000003bb3 RCX: 00000000004144ba
RDX: 0000000040000000 RSI: 00007ffd666d7114 RDI: ffffffffffffffff
RBP: 00000000000000f8 R08: 0000000000003bb2 R09: 0000000001e55940
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000416180
R13: 00007ffd666d7398 R14: 0000000000000000 R15: 0000000000000000
INFO: task syz-executor.2:32285 blocked for more than 140 seconds.
      Not tainted 4.14.157-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.2  D28704 32285   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:2426
 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:0x4144ba
RSP: 002b:00007fff2335f088 EFLAGS: 00000246 ORIG_RAX: 000000000000003d
RAX: fffffffffffffe00 RBX: 0000000000007e1e RCX: 00000000004144ba
RDX: 0000000040000000 RSI: 00007fff2335f094 RDI: ffffffffffffffff
RBP: 00000000000000f8 R08: 0000000000007e1d R09: 0000000002363940
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000416180
R13: 00007fff2335f318 R14: 0000000000000000 R15: 0000000000000000
INFO: task syz-executor.2:6809 blocked for more than 140 seconds.
      Not tainted 4.14.157-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.2  D26928  6809  32286 0x80000000
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+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:2426
 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:0x45a679
RSP: 002b:00007fb8133c2cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000001 RBX: 000000000075bf28 RCX: 000000000045a679
RDX: 00000000004c5bc6 RSI: 0000000000000081 RDI: 000000000075bf2c
RBP: 000000000075bf20 R08: 0000000000000019 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 000000000075bf2c
R13: 00007fff2335ec7f R14: 00007fb8133c39c0 R15: 000000000075bf2c

Showing all locks held in the system:
1 lock held by khungtaskd/23:
 #0:  (tasklist_lock){.+.+}, at: [<0000000099226f37>] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4544
2 locks held by getty/1759:
 #0:  (&tty->ldisc_sem){++++}, at: [<00000000e5e40e5b>] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284
 #1:  (&ldata->atomic_read_lock){+.+.}, at: [<000000004bc388e9>] n_tty_read+0x1f7/0x1700 drivers/tty/n_tty.c:2156
1 lock held by syz-executor.0/1830:
 #0:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000053a252f0>] i_mmap_lock_write include/linux/fs.h:475 [inline]
 #0:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000053a252f0>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158
4 locks held by syz-executor.0/1842:
 #0:  (&dup_mmap_sem){.+.+}, at: [<000000000a7b91b2>] dup_mmap kernel/fork.c:611 [inline]
 #0:  (&dup_mmap_sem){.+.+}, at: [<000000000a7b91b2>] dup_mm kernel/fork.c:1213 [inline]
 #0:  (&dup_mmap_sem){.+.+}, at: [<000000000a7b91b2>] copy_mm kernel/fork.c:1268 [inline]
 #0:  (&dup_mmap_sem){.+.+}, at: [<000000000a7b91b2>] copy_process.part.0+0x1ff5/0x66c0 kernel/fork.c:1895
 #1:  (&mm->mmap_sem){++++}, at: [<00000000e247657b>] dup_mmap kernel/fork.c:612 [inline]
 #1:  (&mm->mmap_sem){++++}, at: [<00000000e247657b>] dup_mm kernel/fork.c:1213 [inline]
 #1:  (&mm->mmap_sem){++++}, at: [<00000000e247657b>] copy_mm kernel/fork.c:1268 [inline]
 #1:  (&mm->mmap_sem){++++}, at: [<00000000e247657b>] copy_process.part.0+0x2011/0x66c0 kernel/fork.c:1895
 #2:  (&mm->mmap_sem/1){+.+.}, at: [<0000000023f869ff>] dup_mmap kernel/fork.c:621 [inline]
 #2:  (&mm->mmap_sem/1){+.+.}, at: [<0000000023f869ff>] dup_mm kernel/fork.c:1213 [inline]
 #2:  (&mm->mmap_sem/1){+.+.}, at: [<0000000023f869ff>] copy_mm kernel/fork.c:1268 [inline]
 #2:  (&mm->mmap_sem/1){+.+.}, at: [<0000000023f869ff>] copy_process.part.0+0x204c/0x66c0 kernel/fork.c:1895
 #3:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000017b08541>] i_mmap_lock_write include/linux/fs.h:475 [inline]
 #3:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000017b08541>] dup_mmap kernel/fork.c:686 [inline]
 #3:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000017b08541>] dup_mm kernel/fork.c:1213 [inline]
 #3:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000017b08541>] copy_mm kernel/fork.c:1268 [inline]
 #3:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000017b08541>] copy_process.part.0+0x246a/0x66c0 kernel/fork.c:1895
1 lock held by syz-executor.4/5404:
 #0:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000053a252f0>] i_mmap_lock_write include/linux/fs.h:475 [inline]
 #0:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000053a252f0>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158
1 lock held by syz-executor.1/6671:
 #0:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000053a252f0>] i_mmap_lock_write include/linux/fs.h:475 [inline]
 #0:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000053a252f0>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158
4 locks held by syz-executor.1/6672:
 #0:  (&dup_mmap_sem){.+.+}, at: [<000000000a7b91b2>] dup_mmap kernel/fork.c:611 [inline]
 #0:  (&dup_mmap_sem){.+.+}, at: [<000000000a7b91b2>] dup_mm kernel/fork.c:1213 [inline]
 #0:  (&dup_mmap_sem){.+.+}, at: [<000000000a7b91b2>] copy_mm kernel/fork.c:1268 [inline]
 #0:  (&dup_mmap_sem){.+.+}, at: [<000000000a7b91b2>] copy_process.part.0+0x1ff5/0x66c0 kernel/fork.c:1895
 #1:  (&mm->mmap_sem){++++}, at: [<00000000e247657b>] dup_mmap kernel/fork.c:612 [inline]
 #1:  (&mm->mmap_sem){++++}, at: [<00000000e247657b>] dup_mm kernel/fork.c:1213 [inline]
 #1:  (&mm->mmap_sem){++++}, at: [<00000000e247657b>] copy_mm kernel/fork.c:1268 [inline]
 #1:  (&mm->mmap_sem){++++}, at: [<00000000e247657b>] copy_process.part.0+0x2011/0x66c0 kernel/fork.c:1895
 #2:  (&mm->mmap_sem/1){+.+.}, at: [<0000000023f869ff>] dup_mmap kernel/fork.c:621 [inline]
 #2:  (&mm->mmap_sem/1){+.+.}, at: [<0000000023f869ff>] dup_mm kernel/fork.c:1213 [inline]
 #2:  (&mm->mmap_sem/1){+.+.}, at: [<0000000023f869ff>] copy_mm kernel/fork.c:1268 [inline]
 #2:  (&mm->mmap_sem/1){+.+.}, at: [<0000000023f869ff>] copy_process.part.0+0x204c/0x66c0 kernel/fork.c:1895
 #3:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000017b08541>] i_mmap_lock_write include/linux/fs.h:475 [inline]
 #3:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000017b08541>] dup_mmap kernel/fork.c:686 [inline]
 #3:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000017b08541>] dup_mm kernel/fork.c:1213 [inline]
 #3:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000017b08541>] copy_mm kernel/fork.c:1268 [inline]
 #3:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000017b08541>] copy_process.part.0+0x246a/0x66c0 kernel/fork.c:1895
1 lock held by syz-executor.5/8217:
 #0:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000053a252f0>] i_mmap_lock_write include/linux/fs.h:475 [inline]
 #0:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000053a252f0>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158
4 locks held by syz-executor.5/8218:
 #0:  (&dup_mmap_sem){.+.+}, at: [<000000000a7b91b2>] dup_mmap kernel/fork.c:611 [inline]
 #0:  (&dup_mmap_sem){.+.+}, at: [<000000000a7b91b2>] dup_mm kernel/fork.c:1213 [inline]
 #0:  (&dup_mmap_sem){.+.+}, at: [<000000000a7b91b2>] copy_mm kernel/fork.c:1268 [inline]
 #0:  (&dup_mmap_sem){.+.+}, at: [<000000000a7b91b2>] copy_process.part.0+0x1ff5/0x66c0 kernel/fork.c:1895
 #1:  (&mm->mmap_sem){++++}, at: [<00000000e247657b>] dup_mmap kernel/fork.c:612 [inline]
 #1:  (&mm->mmap_sem){++++}, at: [<00000000e247657b>] dup_mm kernel/fork.c:1213 [inline]
 #1:  (&mm->mmap_sem){++++}, at: [<00000000e247657b>] copy_mm kernel/fork.c:1268 [inline]
 #1:  (&mm->mmap_sem){++++}, at: [<00000000e247657b>] copy_process.part.0+0x2011/0x66c0 kernel/fork.c:1895
 #2:  (&mm->mmap_sem/1){+.+.}, at: [<0000000023f869ff>] dup_mmap kernel/fork.c:621 [inline]
 #2:  (&mm->mmap_sem/1){+.+.}, at: [<0000000023f869ff>] dup_mm kernel/fork.c:1213 [inline]
 #2:  (&mm->mmap_sem/1){+.+.}, at: [<0000000023f869ff>] copy_mm kernel/fork.c:1268 [inline]
 #2:  (&mm->mmap_sem/1){+.+.}, at: [<0000000023f869ff>] copy_process.part.0+0x204c/0x66c0 kernel/fork.c:1895
 #3:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000017b08541>] i_mmap_lock_write include/linux/fs.h:475 [inline]
 #3:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000017b08541>] dup_mmap kernel/fork.c:686 [inline]
 #3:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000017b08541>] dup_mm kernel/fork.c:1213 [inline]
 #3:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000017b08541>] copy_mm kernel/fork.c:1268 [inline]
 #3:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000017b08541>] copy_process.part.0+0x246a/0x66c0 kernel/fork.c:1895
1 lock held by syz-executor.3/15282:
 #0:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000053a252f0>] i_mmap_lock_write include/linux/fs.h:475 [inline]
 #0:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000053a252f0>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158
1 lock held by syz-executor.2/32285:
 #0:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000053a252f0>] i_mmap_lock_write include/linux/fs.h:475 [inline]
 #0:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000053a252f0>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158
1 lock held by syz-executor.2/6809:
 #0:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000053a252f0>] i_mmap_lock_write include/linux/fs.h:475 [inline]
 #0:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000053a252f0>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158
1 lock held by syz-executor.3/6806:
 #0:  (&mm->mmap_sem){++++}, at: [<00000000dc3aea17>] __do_page_fault+0x8a4/0xbb0 arch/x86/mm/fault.c:1356
1 lock held by syz-executor.3/6823:
 #0:  (&mm->mmap_sem){++++}, at: [<00000000dc3aea17>] __do_page_fault+0x8a4/0xbb0 arch/x86/mm/fault.c:1356
4 locks held by syz-executor.3/6824:
 #0:  (&dup_mmap_sem){.+.+}, at: [<000000000a7b91b2>] dup_mmap kernel/fork.c:611 [inline]
 #0:  (&dup_mmap_sem){.+.+}, at: [<000000000a7b91b2>] dup_mm kernel/fork.c:1213 [inline]
 #0:  (&dup_mmap_sem){.+.+}, at: [<000000000a7b91b2>] copy_mm kernel/fork.c:1268 [inline]
 #0:  (&dup_mmap_sem){.+.+}, at: [<000000000a7b91b2>] copy_process.part.0+0x1ff5/0x66c0 kernel/fork.c:1895
 #1:  (&mm->mmap_sem){++++}, at: [<00000000e247657b>] dup_mmap kernel/fork.c:612 [inline]
 #1:  (&mm->mmap_sem){++++}, at: [<00000000e247657b>] dup_mm kernel/fork.c:1213 [inline]
 #1:  (&mm->mmap_sem){++++}, at: [<00000000e247657b>] copy_mm kernel/fork.c:1268 [inline]
 #1:  (&mm->mmap_sem){++++}, at: [<00000000e247657b>] copy_process.part.0+0x2011/0x66c0 kernel/fork.c:1895
 #2:  (&mm->mmap_sem/1){+.+.}, at: [<0000000023f869ff>] dup_mmap kernel/fork.c:621 [inline]
 #2:  (&mm->mmap_sem/1){+.+.}, at: [<0000000023f869ff>] dup_mm kernel/fork.c:1213 [inline]
 #2:  (&mm->mmap_sem/1){+.+.}, at: [<0000000023f869ff>] copy_mm kernel/fork.c:1268 [inline]
 #2:  (&mm->mmap_sem/1){+.+.}, at: [<0000000023f869ff>] copy_process.part.0+0x204c/0x66c0 kernel/fork.c:1895
 #3:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000017b08541>] i_mmap_lock_write include/linux/fs.h:475 [inline]
 #3:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000017b08541>] dup_mmap kernel/fork.c:686 [inline]
 #3:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000017b08541>] dup_mm kernel/fork.c:1213 [inline]
 #3:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000017b08541>] copy_mm kernel/fork.c:1268 [inline]
 #3:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000017b08541>] copy_process.part.0+0x246a/0x66c0 kernel/fork.c:1895
1 lock held by syz-executor.4/6817:
 #0:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000053a252f0>] i_mmap_lock_write include/linux/fs.h:475 [inline]
 #0:  (&mapping->i_mmap_rwsem){++++}, at: [<0000000053a252f0>] unlink_file_vma+0x6e/0xa0 mm/mmap.c:158

=============================================

NMI backtrace for cpu 1
CPU: 1 PID: 23 Comm: khungtaskd Not tainted 4.14.157-syzkaller #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: 6810 Comm: syz-executor.3 Not tainted 4.14.157-syzkaller #0
task: 0000000048d18255 task.stack: 00000000cfa450fa
RIP: 0010:debug_lockdep_rcu_enabled+0x56/0x90 kernel/rcu/update.c:299
RSP: 0018:ffff8881dba07d08 EFLAGS: 00000006
RAX: 0000000000000003 RBX: 0000000000000001 RCX: 1ffffffff1fc2d28
RDX: 0000000000000004 RSI: 1ffffffff1f55888 RDI: ffffffff8faac440
RBP: ffffffff9130f7c0 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000000 R11: ffffffff90030a6b R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f11c8e49700(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd52ed3b000 CR3: 00000001335b8002 CR4: 00000000001606b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 trace_lock_acquire include/trace/events/lock.h:13 [inline]
 lock_acquire+0x197/0x360 kernel/locking/lockdep.c:3993
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0x42/0x60 kernel/locking/spinlock.c:160
 debug_object_deactivate lib/debugobjects.c:502 [inline]
 debug_object_deactivate+0x104/0x360 lib/debugobjects.c:491
 debug_hrtimer_deactivate kernel/time/hrtimer.c:406 [inline]
 debug_deactivate kernel/time/hrtimer.c:453 [inline]
 __run_hrtimer kernel/time/hrtimer.c:1229 [inline]
 __hrtimer_run_queues+0x156/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
 </IRQ>
RIP: 0010:__rcu_read_unlock+0x9a/0x160 kernel/rcu/update.c:257
RSP: 0018:ffff8881a1fef8e8 EFLAGS: 00000a02 ORIG_RAX: ffffffffffffff10
RAX: 0000000000000000 RBX: ffff88812e939780 RCX: ffffffff8da52c3c
RDX: 1ffff11025d27361 RSI: 0000000000000004 RDI: ffff8881dba227cc
RBP: ffff88812e939b08 R08: 0000000000000000 R09: ffffed103b7444fa
R10: ffffed103b7444f9 R11: ffff8881dba227cf R12: ffffea000685e400
R13: ffffea000685e420 R14: dead000000000100 R15: ffff88817d4980f8
 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:0x45a679
RSP: 002b:00007f11c8e48c78 EFLAGS: 00000246 ORIG_RAX: 000000000000004d
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 000000000045a679
RDX: 0000000000000000 RSI: 0000000000008200 RDI: 0000000000000000
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f11c8e496d4
R13: 00000000004c1322 R14: 00000000004d53a8 R15: 00000000ffffffff
Code: 15 24 80 5f 02 85 d2 74 39 48 c7 c0 40 69 e1 8f 48 ba 00 00 00 00 00 fc ff df 48 89 c1 83 e0 07 48 c1 e9 03 83 c0 03 0f b6 14 11 <38> d0 7c 04 84 d2 75 20 8b 05 8c 29 3d 02 85 c0 74 05 e9 43 ff 

Crashes (14):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/03 21:26 android-4.14 e6b1fb0e83b2 ae13a849 .config console log report ci-android-414-kasan-gce-root
2019/11/30 10:49 android-4.14 714ada7cabc7 3a75be00 .config console log report ci-android-414-kasan-gce-root
2019/11/19 09:26 android-4.14 460dc7c31cef 5bc70212 .config console log report ci-android-414-kasan-gce-root
2019/10/26 12:21 android-4.14 4039d072b0dc 413926c5 .config console log report ci-android-414-kasan-gce-root
2019/10/24 06:42 android-4.14 7ceb2ea79dbb b602d64b .config console log report ci-android-414-kasan-gce-root
2019/10/14 12:27 android-4.14 1d75f58e4e19 a6aef847 .config console log report ci-android-414-kasan-gce-root
2019/06/24 20:54 android-4.14 93c338c2e7ba 472f0082 .config console log report ci-android-414-kasan-gce-root
2019/06/05 10:59 android-4.14 50f99a65439b bfb4a51e .config console log report ci-android-414-kasan-gce-root
2019/04/07 05:25 android-4.14 171fc237b3cb c34fde03 .config console log report ci-android-414-kasan-gce-root
2019/04/05 16:17 android-4.14 b175f02b5457 40f2363e .config console log report ci-android-414-kasan-gce-root
2019/03/25 17:42 android-4.14 4344de2f79ab 2c86e0a5 .config console log report ci-android-414-kasan-gce-root
2018/12/02 05:08 android-4.14 d11d7f1ccfb1 5a581673 .config console log report ci-android-414-kasan-gce-root
2018/12/01 22:26 android-4.14 d11d7f1ccfb1 5a581673 .config console log report ci-android-414-kasan-gce-root
2018/11/03 01:29 android-4.14 4ed22187defd 8bd6bd63 .config console log report ci-android-414-kasan-gce-root
* Struck through repros no longer work on HEAD.