syzbot


INFO: task hung in copy_process (2)

Status: auto-closed as invalid on 2022/03/30 21:31
Reported-by: syzbot+8886b7165eb92f009fdf@syzkaller.appspotmail.com
First crash: 1086d, last: 1086d
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
upstream INFO: task hung in copy_process kernel 2 2121d 2266d 0/28 closed as dup on 2018/09/08 14:03
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:
ieee802154 phy0 wpan0: encryption failed: -22
ieee802154 phy1 wpan1: encryption failed: -22
ieee802154 phy0 wpan0: encryption failed: -22
ieee802154 phy1 wpan1: encryption failed: -22
INFO: task syz-executor.2:8125 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.2  D24368  8125   8124 0x00000000
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline]
 rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618
 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117
 __down_write arch/x86/include/asm/rwsem.h:142 [inline]
 down_write+0x4f/0x90 kernel/locking/rwsem.c:72
 i_mmap_lock_write include/linux/fs.h:491 [inline]
 dup_mmap kernel/fork.c:516 [inline]
 dup_mm kernel/fork.c:1285 [inline]
 copy_mm kernel/fork.c:1341 [inline]
 copy_process.part.0+0x30c4/0x8260 kernel/fork.c:1913
 copy_process kernel/fork.c:1710 [inline]
 _do_fork+0x22f/0xf30 kernel/fork.c:2219
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f26794470db
Code: Bad RIP value.
RSP: 002b:00007fff5f171520 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f26794470db
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000555556e1a400
R10: 0000555556e1a6d0 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000001 R14: 0000000000000001 R15: 00007fff5f171600
INFO: task syz-executor.1:10603 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.1  D27648 10603   8123 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline]
 rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618
 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117
 __down_write arch/x86/include/asm/rwsem.h:142 [inline]
 down_write+0x4f/0x90 kernel/locking/rwsem.c:72
 i_mmap_lock_write include/linux/fs.h:491 [inline]
 unlink_file_vma+0x71/0xb0 mm/mmap.c:161
 free_pgtables+0x1b3/0x2f0 mm/memory.c:653
 exit_mmap+0x2c8/0x530 mm/mmap.c:3094
 __mmput kernel/fork.c:1016 [inline]
 mmput+0x14e/0x4a0 kernel/fork.c:1037
 exit_mm kernel/exit.c:549 [inline]
 do_exit+0xaec/0x2be0 kernel/exit.c:857
 do_group_exit+0x125/0x310 kernel/exit.c:967
 __do_sys_exit_group kernel/exit.c:978 [inline]
 __se_sys_exit_group kernel/exit.c:976 [inline]
 __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:976
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7ff7f397dae9
Code: Bad RIP value.
RSP: 002b:00007ff7f0ef2bc8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007ff7f3a90f60 RCX: 00007ff7f397dae9
RDX: ffffffffffffffbc RSI: 0000000000000000 RDI: 000000000000000b
RBP: 000000000000000b R08: 0000000000000000 R09: 00007ff7f3a90f60
R10: 0000000000001000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff52e5900f R14: 00007ff7f0ef3300 R15: 0000000000022000
INFO: task syz-executor.1:11751 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.1  D28624 11751   8123 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline]
 rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618
 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117
 __down_write arch/x86/include/asm/rwsem.h:142 [inline]
 down_write+0x4f/0x90 kernel/locking/rwsem.c:72
 i_mmap_lock_write include/linux/fs.h:491 [inline]
 unlink_file_vma+0x71/0xb0 mm/mmap.c:161
 free_pgtables+0x1b3/0x2f0 mm/memory.c:653
 exit_mmap+0x2c8/0x530 mm/mmap.c:3094
 __mmput kernel/fork.c:1016 [inline]
 mmput+0x14e/0x4a0 kernel/fork.c:1037
 exit_mm kernel/exit.c:549 [inline]
 do_exit+0xaec/0x2be0 kernel/exit.c:857
 do_group_exit+0x125/0x310 kernel/exit.c:967
 get_signal+0x3f2/0x1f70 kernel/signal.c:2589
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7ff7f397dae9
Code: Bad RIP value.
RSP: 002b:00007ff7f0ed2218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000001 RBX: 00007ff7f3a91028 RCX: 00007ff7f397dae9
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007ff7f3a9102c
RBP: 00007ff7f3a91020 R08: 000000000000000e R09: 0000000000000000
R10: 00000000049e5b0b R11: 0000000000000246 R12: 00007ff7f3a9102c
R13: 00007fff52e5900f R14: 00007ff7f0ed2300 R15: 0000000000022000
INFO: task syz-executor.0:11752 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.0  D23760 11752   8121 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline]
 rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618
 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117
 __down_write arch/x86/include/asm/rwsem.h:142 [inline]
 down_write+0x4f/0x90 kernel/locking/rwsem.c:72
 i_mmap_lock_write include/linux/fs.h:491 [inline]
 unlink_file_vma+0x71/0xb0 mm/mmap.c:161
 free_pgtables+0x1b3/0x2f0 mm/memory.c:653
 exit_mmap+0x2c8/0x530 mm/mmap.c:3094
 __mmput kernel/fork.c:1016 [inline]
 mmput+0x14e/0x4a0 kernel/fork.c:1037
 exit_mm kernel/exit.c:549 [inline]
 do_exit+0xaec/0x2be0 kernel/exit.c:857
 do_group_exit+0x125/0x310 kernel/exit.c:967
 get_signal+0x3f2/0x1f70 kernel/signal.c:2589
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fae2d997ae9
Code: Bad RIP value.
RSP: 002b:00007fae2af0d218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007fae2daaaf68 RCX: 00007fae2d997ae9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fae2daaaf68
RBP: 00007fae2daaaf60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fae2daaaf6c
R13: 00007ffe15ee888f R14: 00007fae2af0d300 R15: 0000000000022000
INFO: task syz-executor.3:11754 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.3  D28496 11754  11901 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline]
 rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618
 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117
 __down_write arch/x86/include/asm/rwsem.h:142 [inline]
 down_write+0x4f/0x90 kernel/locking/rwsem.c:72
 i_mmap_lock_write include/linux/fs.h:491 [inline]
 unlink_file_vma+0x71/0xb0 mm/mmap.c:161
 free_pgtables+0x1b3/0x2f0 mm/memory.c:653
 exit_mmap+0x2c8/0x530 mm/mmap.c:3094
 __mmput kernel/fork.c:1016 [inline]
 mmput+0x14e/0x4a0 kernel/fork.c:1037
 exit_mm kernel/exit.c:549 [inline]
 do_exit+0xaec/0x2be0 kernel/exit.c:857
 do_group_exit+0x125/0x310 kernel/exit.c:967
 get_signal+0x3f2/0x1f70 kernel/signal.c:2589
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f0515408ae9
Code: Bad RIP value.
RSP: 002b:00007f051295d218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000001 RBX: 00007f051551c028 RCX: 00007f0515408ae9
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f051551c02c
RBP: 00007f051551c020 R08: 000000000000000e R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f051551c02c
R13: 00007ffce4cc030f R14: 00007f051295d300 R15: 0000000000022000
INFO: task syz-executor.5:11753 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D28752 11753   8131 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline]
 rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618
 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117
 __down_write arch/x86/include/asm/rwsem.h:142 [inline]
 down_write+0x4f/0x90 kernel/locking/rwsem.c:72
 i_mmap_lock_write include/linux/fs.h:491 [inline]
 unlink_file_vma+0x71/0xb0 mm/mmap.c:161
 free_pgtables+0x1b3/0x2f0 mm/memory.c:653
 exit_mmap+0x2c8/0x530 mm/mmap.c:3094
 __mmput kernel/fork.c:1016 [inline]
 mmput+0x14e/0x4a0 kernel/fork.c:1037
 exit_mm kernel/exit.c:549 [inline]
 do_exit+0xaec/0x2be0 kernel/exit.c:857
 do_group_exit+0x125/0x310 kernel/exit.c:967
 get_signal+0x3f2/0x1f70 kernel/signal.c:2589
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f6e1389aae9
Code: Bad RIP value.
RSP: 002b:00007f6e10dce218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000001 RBX: 00007f6e139ae0e8 RCX: 00007f6e1389aae9
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f6e139ae0ec
RBP: 00007f6e139ae0e0 R08: 000000000000007e R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 00007f6e139ae0ec
R13: 00007fffb7f64e6f R14: 00007f6e10dce300 R15: 0000000000022000

Showing all locks held in the system:
1 lock held by khungtaskd/1570:
 #0: 00000000a1a86b2c (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441
1 lock held by in:imklog/7773:
 #0: 0000000052a6e7f4 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767
1 lock held by syz-executor.0/8120:
 #0: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:491 [inline]
 #0: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x71/0xb0 mm/mmap.c:161
1 lock held by syz-executor.1/8122:
 #0: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:491 [inline]
 #0: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x71/0xb0 mm/mmap.c:161
1 lock held by syz-executor.2/8124:
 #0: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:491 [inline]
 #0: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x71/0xb0 mm/mmap.c:161
4 locks held by syz-executor.2/8125:
 #0: 00000000ba7bed9a (&dup_mmap_sem){.+.+}, at: dup_mmap kernel/fork.c:435 [inline]
 #0: 00000000ba7bed9a (&dup_mmap_sem){.+.+}, at: dup_mm kernel/fork.c:1285 [inline]
 #0: 00000000ba7bed9a (&dup_mmap_sem){.+.+}, at: copy_mm kernel/fork.c:1341 [inline]
 #0: 00000000ba7bed9a (&dup_mmap_sem){.+.+}, at: copy_process.part.0+0x2bb3/0x8260 kernel/fork.c:1913
 #1: 00000000ff71f946 (&mm->mmap_sem){++++}, at: dup_mmap kernel/fork.c:436 [inline]
 #1: 00000000ff71f946 (&mm->mmap_sem){++++}, at: dup_mm kernel/fork.c:1285 [inline]
 #1: 00000000ff71f946 (&mm->mmap_sem){++++}, at: copy_mm kernel/fork.c:1341 [inline]
 #1: 00000000ff71f946 (&mm->mmap_sem){++++}, at: copy_process.part.0+0x2bcf/0x8260 kernel/fork.c:1913
 #2: 0000000018b1a735 (&mm->mmap_sem/1){+.+.}, at: dup_mmap kernel/fork.c:445 [inline]
 #2: 0000000018b1a735 (&mm->mmap_sem/1){+.+.}, at: dup_mm kernel/fork.c:1285 [inline]
 #2: 0000000018b1a735 (&mm->mmap_sem/1){+.+.}, at: copy_mm kernel/fork.c:1341 [inline]
 #2: 0000000018b1a735 (&mm->mmap_sem/1){+.+.}, at: copy_process.part.0+0x2c1c/0x8260 kernel/fork.c:1913
 #3: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:491 [inline]
 #3: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: dup_mmap kernel/fork.c:516 [inline]
 #3: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: dup_mm kernel/fork.c:1285 [inline]
 #3: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: copy_mm kernel/fork.c:1341 [inline]
 #3: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: copy_process.part.0+0x30c4/0x8260 kernel/fork.c:1913
1 lock held by syz-executor.5/8130:
 #0: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:491 [inline]
 #0: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x71/0xb0 mm/mmap.c:161
1 lock held by syz-executor.3/11900:
 #0: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:491 [inline]
 #0: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x71/0xb0 mm/mmap.c:161
1 lock held by syz-executor.4/15967:
 #0: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:491 [inline]
 #0: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x71/0xb0 mm/mmap.c:161
1 lock held by syz-executor.1/10603:
 #0: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:491 [inline]
 #0: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x71/0xb0 mm/mmap.c:161
1 lock held by syz-executor.1/11751:
 #0: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:491 [inline]
 #0: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x71/0xb0 mm/mmap.c:161
1 lock held by syz-executor.0/11752:
 #0: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:491 [inline]
 #0: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x71/0xb0 mm/mmap.c:161
1 lock held by syz-executor.3/11754:
 #0: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:491 [inline]
 #0: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x71/0xb0 mm/mmap.c:161
3 locks held by syz-executor.4/11745:
1 lock held by syz-executor.5/11753:
 #0: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: i_mmap_lock_write include/linux/fs.h:491 [inline]
 #0: 000000008e069904 (&mapping->i_mmap_rwsem){++++}, at: unlink_file_vma+0x71/0xb0 mm/mmap.c:161

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

NMI backtrace for cpu 0
CPU: 0 PID: 1570 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0
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+0x1fc/0x2ef lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline]
 watchdog+0x991/0xe60 kernel/hung_task.c:287
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 11745 Comm: syz-executor.4 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:strlen+0x4d/0x90 lib/string.c:539
Code: 07 38 d0 7f 04 84 c0 75 48 80 7d 00 00 74 39 48 bb 00 00 00 00 00 fc ff df 48 89 e8 48 83 c0 01 48 89 c2 48 89 c1 48 c1 ea 03 <83> e1 07 0f b6 14 1a 38 ca 7f 04 84 d2 75 1f 80 38 00 75 de 48 83
RSP: 0018:ffff8880ba107c30 EFLAGS: 00000803
RAX: ffffffff886bdc64 RBX: dffffc0000000000 RCX: ffffffff886bdc64
RDX: 1ffffffff10d7b8c RSI: ffff8880ba124cd8 RDI: ffffffff886bdc60
RBP: ffffffff886bdc60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: ffffffff8c66505b R12: ffffffff89f6d360
R13: ffff8880ba124cd8 R14: ffffffff814a7850 R15: ffff8880ba107d00
FS:  00007fc3eb955700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f96fc7f6000 CR3: 00000002258e8000 CR4: 00000000003426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 strlen include/linux/string.h:299 [inline]
 trace_event_get_offsets_lock include/trace/events/lock.h:39 [inline]
 perf_trace_lock+0xb1/0x4b0 include/trace/events/lock.h:39
 trace_lock_release include/trace/events/lock.h:58 [inline]
 lock_release+0x4e8/0x8b0 kernel/locking/lockdep.c:3926
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:158 [inline]
 _raw_spin_unlock_irqrestore+0x1b/0xe0 kernel/locking/spinlock.c:184
 __run_hrtimer kernel/time/hrtimer.c:1463 [inline]
 __hrtimer_run_queues+0x397/0xe60 kernel/time/hrtimer.c:1527
 hrtimer_interrupt+0x326/0x9e0 kernel/time/hrtimer.c:1585
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1071 [inline]
 smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1096
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:__sanitizer_cov_trace_pc+0x3b/0x50 kernel/kcov.c:107
Code: 59 9f 7e 81 e2 00 01 1f 00 75 2b 8b 90 60 13 00 00 83 fa 02 75 20 48 8b 88 68 13 00 00 8b 80 64 13 00 00 48 8b 11 48 83 c2 01 <48> 39 d0 76 07 48 89 34 d1 48 89 11 c3 0f 1f 84 00 00 00 00 00 49
RSP: 0018:ffff88821a0ef948 EFLAGS: 00000216 ORIG_RAX: ffffffffffffff13
RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90012d78000
RDX: 0000000000040000 RSI: ffffffff818ba5f4 RDI: 0000000000000005
RBP: ffffea0002a7d408 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: dead000000000100
R13: ffffea0002a7d400 R14: dffffc0000000000 R15: 00007f0514ef8000
 page_mapcount include/linux/mm.h:642 [inline]
 zap_pte_range mm/memory.c:1351 [inline]
 zap_pmd_range mm/memory.c:1463 [inline]
 zap_pud_range mm/memory.c:1492 [inline]
 zap_p4d_range mm/memory.c:1513 [inline]
 unmap_page_range+0x19f4/0x2c50 mm/memory.c:1534
 unmap_single_vma+0x198/0x300 mm/memory.c:1579
 zap_page_range_single+0x247/0x380 mm/memory.c:1658
 unmap_mapping_range_vma mm/memory.c:2910 [inline]
 unmap_mapping_range_tree mm/memory.c:2931 [inline]
 unmap_mapping_pages+0x22c/0x2b0 mm/memory.c:2993
 truncate_pagecache+0x51/0x90 mm/truncate.c:799
 simple_setattr+0xdf/0x100 fs/libfs.c:413
 notify_change+0xd93/0xfc0 fs/attr.c:336
 do_truncate+0x134/0x1f0 fs/open.c:63
 do_sys_ftruncate+0x492/0x560 fs/open.c:194
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fc3ee3dfae9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fc3eb955188 EFLAGS: 00000246 ORIG_RAX: 000000000000004d
RAX: ffffffffffffffda RBX: 00007fc3ee4f2f60 RCX: 00007fc3ee3dfae9
RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000000
RBP: 00007fc3ee439f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd4c48e7df R14: 00007fc3eb955300 R15: 0000000000022000
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	38 d0                	cmp    %dl,%al
   2:	7f 04                	jg     0x8
   4:	84 c0                	test   %al,%al
   6:	75 48                	jne    0x50
   8:	80 7d 00 00          	cmpb   $0x0,0x0(%rbp)
   c:	74 39                	je     0x47
   e:	48 bb 00 00 00 00 00 	movabs $0xdffffc0000000000,%rbx
  15:	fc ff df
  18:	48 89 e8             	mov    %rbp,%rax
  1b:	48 83 c0 01          	add    $0x1,%rax
  1f:	48 89 c2             	mov    %rax,%rdx
  22:	48 89 c1             	mov    %rax,%rcx
  25:	48 c1 ea 03          	shr    $0x3,%rdx
* 29:	83 e1 07             	and    $0x7,%ecx <-- trapping instruction
  2c:	0f b6 14 1a          	movzbl (%rdx,%rbx,1),%edx
  30:	38 ca                	cmp    %cl,%dl
  32:	7f 04                	jg     0x38
  34:	84 d2                	test   %dl,%dl
  36:	75 1f                	jne    0x57
  38:	80 38 00             	cmpb   $0x0,(%rax)
  3b:	75 de                	jne    0x1b
  3d:	48                   	rex.W
  3e:	83                   	.byte 0x83

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/11/30 21:30 linux-4.19.y 3f8a27f9e27b 80270552 .config console log report info ci2-linux-4-19 INFO: task hung in copy_process
* Struck through repros no longer work on HEAD.