syzbot


INFO: task hung in copy_process

Status: closed as dup on 2018/09/08 14:03
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+0d867757fdc016c0157e@syzkaller.appspotmail.com
First crash: 2266d, last: 2121d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
INFO: task hung in ext4_da_get_block_prep ext4 1 2270d 2269d
Discussions (1)
Title Replies (including bot) Last reply
[PATCH] mm, oom: Introduce time limit for dump_tasks duration. 20 (20) 2018/09/12 16:45
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in copy_process 1 1665d 1665d 0/1 auto-closed as invalid on 2020/08/29 04:01
upstream INFO: task hung in copy_process (2) kernel 1 2031d 2031d 0/28 closed as invalid on 2019/05/08 13:05
android-414 INFO: task hung in copy_process (2) 1 1845d 1844d 0/1 auto-closed as invalid on 2020/03/02 19:22
linux-4.19 INFO: task hung in copy_process (2) 1 1086d 1086d 0/1 auto-closed as invalid on 2022/03/30 21:31
linux-4.19 INFO: task hung in copy_process (3) 1 677d 677d 0/1 upstream: reported on 2023/01/14 12:40
android-49 INFO: task hung in copy_process 1 2059d 2052d 0/3 auto-closed as invalid on 2019/09/30 05:31
android-414 INFO: task hung in copy_process 2 1974d 2052d 0/1 auto-closed as invalid on 2019/10/25 13:42
linux-4.14 INFO: task hung in copy_process 4 2028d 2032d 0/1 auto-closed as invalid on 2019/10/25 08:48

Sample crash report:
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
INFO: task syz-executor2:7534 blocked for more than 140 seconds.
      Not tainted 5.0.0-rc4+ #53
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor2   D20440  7534   7533 0x00000000
Call Trace:
 context_switch kernel/sched/core.c:2844 [inline]
 __schedule+0x897/0x1e60 kernel/sched/core.c:3485
 schedule+0xfe/0x350 kernel/sched/core.c:3529
 __rwsem_down_write_failed_common+0xa4d/0x1620 kernel/locking/rwsem-xadd.c:584
net_ratelimit: 16 callbacks suppressed
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:613
 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117
 __down_write arch/x86/include/asm/rwsem.h:142 [inline]
 down_write+0xa5/0x130 kernel/locking/rwsem.c:72
 i_mmap_lock_write include/linux/fs.h:501 [inline]
 dup_mmap kernel/fork.c:553 [inline]
 dup_mm kernel/fork.c:1320 [inline]
 copy_mm kernel/fork.c:1375 [inline]
 copy_process+0x35a5/0x8860 kernel/fork.c:1917
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
 _do_fork+0x1a9/0x1170 kernel/fork.c:2227
 __do_sys_clone kernel/fork.c:2334 [inline]
 __se_sys_clone kernel/fork.c:2328 [inline]
 __x64_sys_clone+0xbf/0x150 kernel/fork.c:2328
 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45640a
Code: f7 d8 64 89 04 25 d4 02 00 00 64 4c 8b 0c 25 10 00 00 00 31 d2 4d 8d 91 d0 02 00 00 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 f5 00 00 00 85 c0 41 89 c5 0f 85 fc 00 00
RSP: 002b:00007fff89723990 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fff89723990 RCX: 000000000045640a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 00007fff897239d0 R08: 0000000000000001 R09: 000000000214c940
R10: 000000000214cc10 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000002
INFO: task syz-executor3:25416 blocked for more than 140 seconds.
      Not tainted 5.0.0-rc4+ #53
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor3   D23288 25416   7538 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2844 [inline]
 __schedule+0x897/0x1e60 kernel/sched/core.c:3485
 schedule+0xfe/0x350 kernel/sched/core.c:3529
 __rwsem_down_write_failed_common+0xa4d/0x1620 kernel/locking/rwsem-xadd.c:584
 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:613
 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117
 __down_write arch/x86/include/asm/rwsem.h:142 [inline]
 down_write+0xa5/0x130 kernel/locking/rwsem.c:72
 i_mmap_lock_write include/linux/fs.h:501 [inline]
 unlink_file_vma+0x76/0xb0 mm/mmap.c:166
 free_pgtables+0x1b7/0x2f0 mm/memory.c:394
 exit_mmap+0x2e3/0x5d0 mm/mmap.c:3141
 __mmput kernel/fork.c:1047 [inline]
 mmput+0x240/0x640 kernel/fork.c:1068
 exit_mm kernel/exit.c:545 [inline]
 do_exit+0x9e2/0x26e0 kernel/exit.c:854
 do_group_exit+0x177/0x430 kernel/exit.c:971
 __do_sys_exit_group kernel/exit.c:982 [inline]
 __se_sys_exit_group kernel/exit.c:980 [inline]
 __x64_sys_exit_group+0x44/0x50 kernel/exit.c:980
 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457e39
Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffdcf927c88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 000000000000001e RCX: 0000000000457e39
RDX: 0000000000411d41 RSI: fffffffffffffff7 RDI: 0000000000000000
RBP: 0000000000000000 R08: 00000000ee1cfd65 R09: 0000000000000001
R10: ffffffff8139cb1a R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00000000000007cd R15: 0000000000000003
INFO: task syz-executor0:25427 blocked for more than 140 seconds.
      Not tainted 5.0.0-rc4+ #53
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor0   D21992 25427   7529 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2844 [inline]
 __schedule+0x897/0x1e60 kernel/sched/core.c:3485
 schedule+0xfe/0x350 kernel/sched/core.c:3529
 __rwsem_down_write_failed_common+0xa4d/0x1620 kernel/locking/rwsem-xadd.c:584
 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:613
 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117
 __down_write arch/x86/include/asm/rwsem.h:142 [inline]
 down_write+0xa5/0x130 kernel/locking/rwsem.c:72
 i_mmap_lock_write include/linux/fs.h:501 [inline]
 unlink_file_vma+0x76/0xb0 mm/mmap.c:166
 free_pgtables+0x1b7/0x2f0 mm/memory.c:394
 exit_mmap+0x2e3/0x5d0 mm/mmap.c:3141
 __mmput kernel/fork.c:1047 [inline]
 mmput+0x240/0x640 kernel/fork.c:1068
 exit_mm kernel/exit.c:545 [inline]
 do_exit+0x9e2/0x26e0 kernel/exit.c:854
 do_group_exit+0x177/0x430 kernel/exit.c:971
 get_signal+0x8b4/0x19b0 kernel/signal.c:2517
 do_signal+0x91/0x1ea0 arch/x86/kernel/signal.c:816
 exit_to_usermode_loop+0x2f7/0x3b0 arch/x86/entry/common.c:162
 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:268 [inline]
 do_syscall_64+0x696/0x800 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457e39
Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ff52ccd1cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 000000000073bf08 RCX: 0000000000457e39
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000073bf08
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000073bf0c
R13: 00007ffc3812247f R14: 00007ff52ccd29c0 R15: 000000000073bf0c
INFO: task syz-executor1:25431 blocked for more than 140 seconds.
      Not tainted 5.0.0-rc4+ #53
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor1   D23256 25431   7532 0x80000002
Call Trace:
 context_switch kernel/sched/core.c:2844 [inline]
 __schedule+0x897/0x1e60 kernel/sched/core.c:3485
 schedule+0xfe/0x350 kernel/sched/core.c:3529
 __rwsem_down_write_failed_common+0xa4d/0x1620 kernel/locking/rwsem-xadd.c:584
 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:613
 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117
 __down_write arch/x86/include/asm/rwsem.h:142 [inline]
 down_write+0xa5/0x130 kernel/locking/rwsem.c:72
 i_mmap_lock_write include/linux/fs.h:501 [inline]
 unlink_file_vma+0x76/0xb0 mm/mmap.c:166
 free_pgtables+0x1b7/0x2f0 mm/memory.c:394
 exit_mmap+0x2e3/0x5d0 mm/mmap.c:3141
 __mmput kernel/fork.c:1047 [inline]
 mmput+0x240/0x640 kernel/fork.c:1068
 exit_mm kernel/exit.c:545 [inline]
 do_exit+0x9e2/0x26e0 kernel/exit.c:854
 do_group_exit+0x177/0x430 kernel/exit.c:971
 get_signal+0x8b4/0x19b0 kernel/signal.c:2517
 do_signal+0x91/0x1ea0 arch/x86/kernel/signal.c:816
 exit_to_usermode_loop+0x2f7/0x3b0 arch/x86/entry/common.c:162
 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:268 [inline]
 do_syscall_64+0x696/0x800 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457e39
Code: Bad RIP value.
RSP: 002b:00007f620db4cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000457e39
RDX: 0000000020000240 RSI: 0000000000008914 RDI: 0000000000000004
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f620db4d6d4
R13: 00000000004c34ff R14: 00000000004d61e8 R15: 00000000ffffffff
INFO: task syz-executor5:25437 blocked for more than 140 seconds.
      Not tainted 5.0.0-rc4+ #53
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor5   D23288 25437   7547 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2844 [inline]
 __schedule+0x897/0x1e60 kernel/sched/core.c:3485
 schedule+0xfe/0x350 kernel/sched/core.c:3529
 __rwsem_down_write_failed_common+0xa4d/0x1620 kernel/locking/rwsem-xadd.c:584
 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:613
 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117
 __down_write arch/x86/include/asm/rwsem.h:142 [inline]
 down_write+0xa5/0x130 kernel/locking/rwsem.c:72
 i_mmap_lock_write include/linux/fs.h:501 [inline]
 unlink_file_vma+0x76/0xb0 mm/mmap.c:166
 free_pgtables+0x1b7/0x2f0 mm/memory.c:394
 exit_mmap+0x2e3/0x5d0 mm/mmap.c:3141
 __mmput kernel/fork.c:1047 [inline]
 mmput+0x240/0x640 kernel/fork.c:1068
net_ratelimit: 24 callbacks suppressed
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
 exit_mm kernel/exit.c:545 [inline]
 do_exit+0x9e2/0x26e0 kernel/exit.c:854
 do_group_exit+0x177/0x430 kernel/exit.c:971
 __do_sys_exit_group kernel/exit.c:982 [inline]
 __se_sys_exit_group kernel/exit.c:980 [inline]
 __x64_sys_exit_group+0x44/0x50 kernel/exit.c:980
 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457e39
Code: Bad RIP value.
RSP: 002b:00007fff11392678 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 000000000000001e RCX: 0000000000457e39
RDX: 0000000000411d41 RSI: fffffffffffffff7 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000087709469 R09: 0000000000000001
R10: ffffffff8139cb1a R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00000000000007af R15: 0000000000000005

Showing all locks held in the system:
1 lock held by khungtaskd/1040:
 #0: 0000000034b3f5eb (rcu_read_lock){....}, at: debug_show_all_locks+0xc6/0x41d kernel/locking/lockdep.c:4389
4 locks held by rs:main Q:Reg/7400:
1 lock held by rsyslogd/7402:
 #0: 00000000ce3deb3e (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1b3/0x1f0 fs/file.c:795
2 locks held by getty/7492:
 #0: 000000004c831cf0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000321280c1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154
2 locks held by getty/7493:
 #0: 00000000f81cee83 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000f92d2e3a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154
2 locks held by getty/7494:
 #0: 0000000096d8c257 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000029510b3 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154
2 locks held by getty/7495:
 #0: 000000003aff0ca2 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 0000000077f8255d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154
2 locks held by getty/7496:
 #0: 0000000065561a33 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 0000000065844971 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154
2 locks held by getty/7497:
 #0: 00000000d2a21a92 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 000000008ce54dc1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154
2 locks held by getty/7498:
 #0: 00000000a4d30174 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 0000000011c0163a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154
1 lock held by syz-executor0/7528:
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:501 [inline]
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x76/0xb0 mm/mmap.c:166
1 lock held by syz-executor1/7531:
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:501 [inline]
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x76/0xb0 mm/mmap.c:166
1 lock held by syz-executor2/7533:
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:501 [inline]
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x76/0xb0 mm/mmap.c:166
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
4 locks held by syz-executor2/7534:
 #0: 000000005fd6412f (&dup_mmap_sem){++++}, at: dup_mmap kernel/fork.c:472 [inline]
 #0: 000000005fd6412f (&dup_mmap_sem){++++}, at: dup_mm kernel/fork.c:1320 [inline]
 #0: 000000005fd6412f (&dup_mmap_sem){++++}, at: copy_mm kernel/fork.c:1375 [inline]
 #0: 000000005fd6412f (&dup_mmap_sem){++++}, at: copy_process+0x3041/0x8860 kernel/fork.c:1917
 #1: 000000003a167a35 (&mm->mmap_sem){++++}, at: dup_mmap kernel/fork.c:473 [inline]
 #1: 000000003a167a35 (&mm->mmap_sem){++++}, at: dup_mm kernel/fork.c:1320 [inline]
 #1: 000000003a167a35 (&mm->mmap_sem){++++}, at: copy_mm kernel/fork.c:1375 [inline]
 #1: 000000003a167a35 (&mm->mmap_sem){++++}, at: copy_process+0x305d/0x8860 kernel/fork.c:1917
 #2: 00000000018c064d (&mm->mmap_sem/1){+.+.}, at: dup_mmap kernel/fork.c:482 [inline]
 #2: 00000000018c064d (&mm->mmap_sem/1){+.+.}, at: dup_mm kernel/fork.c:1320 [inline]
 #2: 00000000018c064d (&mm->mmap_sem/1){+.+.}, at: copy_mm kernel/fork.c:1375 [inline]
 #2: 00000000018c064d (&mm->mmap_sem/1){+.+.}, at: copy_process+0x30b5/0x8860 kernel/fork.c:1917
 #3: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:501 [inline]
 #3: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: dup_mmap kernel/fork.c:553 [inline]
 #3: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: dup_mm kernel/fork.c:1320 [inline]
 #3: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: copy_mm kernel/fork.c:1375 [inline]
 #3: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: copy_process+0x35a5/0x8860 kernel/fork.c:1917
1 lock held by syz-executor3/7535:
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:501 [inline]
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x76/0xb0 mm/mmap.c:166
1 lock held by syz-executor4/7540:
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:501 [inline]
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x76/0xb0 mm/mmap.c:166
1 lock held by syz-executor5/7546:
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:501 [inline]
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x76/0xb0 mm/mmap.c:166
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
1 lock held by syz-executor1/17465:
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:501 [inline]
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x76/0xb0 mm/mmap.c:166
1 lock held by syz-executor3/25416:
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:501 [inline]
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x76/0xb0 mm/mmap.c:166
1 lock held by syz-executor4/25428:
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:501 [inline]
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x76/0xb0 mm/mmap.c:166
1 lock held by syz-executor0/25427:
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:501 [inline]
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x76/0xb0 mm/mmap.c:166
1 lock held by syz-executor1/25431:
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:501 [inline]
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x76/0xb0 mm/mmap.c:166
1 lock held by syz-executor5/25437:
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:501 [inline]
 #0: 00000000faea9281 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x76/0xb0 mm/mmap.c:166
5 locks held by syz-executor2/25441:

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

NMI backtrace for cpu 1
CPU: 1 PID: 1040 Comm: khungtaskd Not tainted 5.0.0-rc4+ #53
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1db/0x2d0 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1be/0x236 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline]
 watchdog+0xbbb/0x1170 kernel/hung_task.c:287
 kthread+0x357/0x430 kernel/kthread.c:246
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352
Sending NMI from CPU 1 to CPUs 0:
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.328 msecs
NMI backtrace for cpu 0
CPU: 0 PID: 25441 Comm: syz-executor2 Not tainted 5.0.0-rc4+ #53
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:23 [inline]
RIP: 0010:static_key_false include/linux/jump_label.h:200 [inline]
RIP: 0010:native_write_msr+0x6/0x30 arch/x86/include/asm/msr.h:164
Code: d6 47 88 e9 5c 2f e9 06 0f 21 f8 c3 0f 21 c0 c3 0f 21 c8 c3 0f 21 d0 c3 0f 21 d8 c3 0f 21 f0 c3 0f 0b 66 90 89 f9 89 f0 0f 30 <0f> 1f 44 00 00 c3 55 48 c1 e2 20 89 f6 48 89 e5 48 09 d6 31 d2 e8
RSP: 0000:ffff8880ae607da0 EFLAGS: 00000046
RAX: 0000000000000119 RBX: 0000000000000838 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 0000000000000119 RDI: 0000000000000838
RBP: ffff8880ae607db8 R08: ffff88803959c080 R09: ffffffff8a9ad01d
R10: ffffffff8a9ad010 R11: 0000000000000001 R12: ffff8880ae61f140
R13: 0000000000000119 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f2af4de6700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000457e0f CR3: 00000000539cd000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 apic_write arch/x86/include/asm/apic.h:397 [inline]
 lapic_next_event+0x57/0x90 arch/x86/kernel/apic/apic.c:467
 clockevents_program_event+0x266/0x380 kernel/time/clockevents.c:334
 tick_program_event+0xb4/0x130 kernel/time/tick-oneshot.c:44
 hrtimer_interrupt+0x369/0x770 kernel/time/hrtimer.c:1522
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1035 [inline]
 smp_apic_timer_interrupt+0x18d/0x760 arch/x86/kernel/apic/apic.c:1060
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:807
 </IRQ>
RIP: 0010:lock_release+0x75/0xc40 kernel/locking/lockdep.c:3850
Code: 04 13 48 c7 85 48 ff ff ff 40 43 64 81 65 4c 8b 34 25 40 ee 01 00 c7 00 f1 f1 f1 f1 49 8d be 7c 08 00 00 c7 40 04 f1 f1 04 f2 <c7> 40 08 00 f2 f2 f2 c7 40 0c 00 f3 f3 f3 65 48 8b 04 25 28 00 00
RSP: 0000:ffff88809efd71a0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: ffffed1013dfae3b RBX: 1ffff11013dfae3b RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff88803959c8fc
RBP: ffff88809efd72a0 R08: 1ffff11015cc5b97 R09: ffffed1015cc5b98
R10: ffffed1015cc5b97 R11: ffff8880ae62dcbb R12: ffffffff899a4240
R13: ffffffff81cd8753 R14: ffff88803959c080 R15: ffff88809efd7278
 rcu_lock_release include/linux/rcupdate.h:228 [inline]
 rcu_read_unlock include/linux/rcupdate.h:661 [inline]
 __unlock_page_memcg+0x70/0x100 mm/memcontrol.c:1932
 unlock_page_memcg+0x2c/0x40 mm/memcontrol.c:1941
 page_remove_file_rmap mm/rmap.c:1251 [inline]
 page_remove_rmap+0x82a/0x1990 mm/rmap.c:1302
 zap_pte_range mm/memory.c:1090 [inline]
 zap_pmd_range mm/memory.c:1192 [inline]
 zap_pud_range mm/memory.c:1221 [inline]
 zap_p4d_range mm/memory.c:1242 [inline]
 unmap_page_range+0xf0f/0x25a0 mm/memory.c:1263
 unmap_single_vma+0x19d/0x300 mm/memory.c:1308
 zap_page_range_single+0x46e/0x790 mm/memory.c:1388
 unmap_mapping_range_vma mm/memory.c:2557 [inline]
 unmap_mapping_range_tree mm/memory.c:2578 [inline]
 unmap_mapping_pages+0x3bb/0x5c0 mm/memory.c:2610
 unmap_mapping_range+0x48/0x60 mm/memory.c:2645
 truncate_pagecache+0x57/0x90 mm/truncate.c:801
 truncate_setsize+0x74/0xb0 mm/truncate.c:827
 simple_setattr+0xe7/0x110 fs/libfs.c:409
 notify_change+0xeaa/0x1080 fs/attr.c:336
 do_truncate+0x1ba/0x2d0 fs/open.c:63
 do_sys_ftruncate+0x488/0x550 fs/open.c:194
 __do_sys_ftruncate fs/open.c:204 [inline]
 __se_sys_ftruncate fs/open.c:202 [inline]
 __x64_sys_ftruncate+0x59/0x80 fs/open.c:202
 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457e39
Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f2af4de5c78 EFLAGS: 00000246 ORIG_RAX: 000000000000004d
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000457e39
RDX: 0000000000000000 RSI: 000000000000fd6f RDI: 0000000000000000
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2af4de66d4
R13: 00000000004be6a6 R14: 00000000004cf0d8 R15: 00000000ffffffff

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/01/31 15:19 upstream af0c9af1b3f6 0e8ea0a3 .config console log report ci-upstream-kasan-gce-smack-root
2018/09/08 02:53 linux-next f2b6e66e9885 6b5120a4 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.