syzbot


INFO: task hung in btrfs_file_read_iter

Status: auto-obsoleted due to no activity on 2023/08/11 20:10
Subsystems: btrfs
[Documentation on labels]
First crash: 673d, last: 673d

Sample crash report:
INFO: task syz-executor.4:20813 blocked for more than 143 seconds.
      Not tainted 6.4.0-rc1-syzkaller-00133-g9a48d6046722 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:21496 pid:20813 ppid:5042   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5343 [inline]
 __schedule+0x187b/0x4900 kernel/sched/core.c:6669
 schedule+0xc3/0x180 kernel/sched/core.c:6745
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804
 rwsem_down_read_slowpath+0x5f4/0x950 kernel/locking/rwsem.c:1086
 __down_read_common+0x61/0x2c0 kernel/locking/rwsem.c:1250
 inode_lock_shared include/linux/fs.h:785 [inline]
 btrfs_inode_lock+0x60/0xd0 fs/btrfs/inode.c:170
 btrfs_direct_read fs/btrfs/file.c:3758 [inline]
 btrfs_file_read_iter+0x30a/0x6b0 fs/btrfs/file.c:3816
 call_read_iter include/linux/fs.h:1862 [inline]
 generic_file_splice_read+0x240/0x640 fs/splice.c:419
 do_splice_to fs/splice.c:902 [inline]
 splice_direct_to_actor+0x40c/0xbd0 fs/splice.c:973
 do_splice_direct+0x283/0x3d0 fs/splice.c:1082
 do_sendfile+0x620/0xff0 fs/read_write.c:1254
 __do_sys_sendfile64 fs/read_write.c:1322 [inline]
 __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1308
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f6fdae8c169
RSP: 002b:00007f6fdbcbe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f6fdafabf80 RCX: 00007f6fdae8c169
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004
RBP: 00007f6fdaee7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000008800000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdf520faef R14: 00007f6fdbcbe300 R15: 0000000000022000
 </TASK>
INFO: task syz-executor.4:20853 blocked for more than 144 seconds.
      Not tainted 6.4.0-rc1-syzkaller-00133-g9a48d6046722 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:19272 pid:20853 ppid:5042   flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5343 [inline]
 __schedule+0x187b/0x4900 kernel/sched/core.c:6669
 schedule+0xc3/0x180 kernel/sched/core.c:6745
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804
 __mutex_lock_common+0xe33/0x2530 kernel/locking/mutex.c:679
 __mutex_lock kernel/locking/mutex.c:747 [inline]
 mutex_lock_nested+0x1b/0x20 kernel/locking/mutex.c:799
 __fdget_pos+0x254/0x2f0 fs/file.c:1047
 fdget_pos include/linux/file.h:73 [inline]
 ksys_lseek fs/read_write.c:296 [inline]
 __do_sys_lseek fs/read_write.c:313 [inline]
 __se_sys_lseek fs/read_write.c:311 [inline]
 __x64_sys_lseek+0x7a/0x1d0 fs/read_write.c:311
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f6fdae8c169
RSP: 002b:00007f6fdbc9d168 EFLAGS: 00000246 ORIG_RAX: 0000000000000008
RAX: ffffffffffffffda RBX: 00007f6fdafac050 RCX: 00007f6fdae8c169
RDX: 0000000000000002 RSI: 0000000000000001 RDI: 000000000000000b
RBP: 00007f6fdaee7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdf520faef R14: 00007f6fdbc9d300 R15: 0000000000022000
 </TASK>
INFO: task syz-executor.4:20854 blocked for more than 145 seconds.
      Not tainted 6.4.0-rc1-syzkaller-00133-g9a48d6046722 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:23360 pid:20854 ppid:5042   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5343 [inline]
 __schedule+0x187b/0x4900 kernel/sched/core.c:6669
 schedule+0xc3/0x180 kernel/sched/core.c:6745
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804
 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178
 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306
 inode_lock include/linux/fs.h:775 [inline]
 btrfs_inode_lock+0x4d/0xd0 fs/btrfs/inode.c:178
 btrfs_sync_file+0x442/0x10e0 fs/btrfs/file.c:1817
 generic_write_sync include/linux/fs.h:2469 [inline]
 btrfs_do_write_iter+0xccd/0x1270 fs/btrfs/file.c:1684
 call_write_iter include/linux/fs.h:1868 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x790/0xb20 fs/read_write.c:584
 ksys_write+0x1a0/0x2c0 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f6fdae8c169
RSP: 002b:00007f6fdbc7c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f6fdafac120 RCX: 00007f6fdae8c169
RDX: 000000000208e24b RSI: 0000000020000000 RDI: 000000000000000b
RBP: 00007f6fdaee7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdf520faef R14: 00007f6fdbc7c300 R15: 0000000000022000
 </TASK>
INFO: task syz-executor.4:20855 blocked for more than 146 seconds.
      Not tainted 6.4.0-rc1-syzkaller-00133-g9a48d6046722 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:22136 pid:20855 ppid:5042   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5343 [inline]
 __schedule+0x187b/0x4900 kernel/sched/core.c:6669
 schedule+0xc3/0x180 kernel/sched/core.c:6745
 wait_on_state fs/btrfs/extent-io-tree.c:707 [inline]
 wait_extent_bit+0x50c/0x670 fs/btrfs/extent-io-tree.c:751
 lock_extent+0x1ce/0x280 fs/btrfs/extent-io-tree.c:1742
 btrfs_page_mkwrite+0x556/0xc90 fs/btrfs/inode.c:8130
 do_page_mkwrite+0x1a4/0x600 mm/memory.c:2931
 wp_page_shared mm/memory.c:3280 [inline]
 do_wp_page+0x501/0x3690 mm/memory.c:3362
 handle_pte_fault mm/memory.c:4964 [inline]
 __handle_mm_fault mm/memory.c:5089 [inline]
 handle_mm_fault+0x2371/0x5860 mm/memory.c:5243
 do_user_addr_fault arch/x86/mm/fault.c:1440 [inline]
 handle_page_fault arch/x86/mm/fault.c:1534 [inline]
 exc_page_fault+0x7d2/0x910 arch/x86/mm/fault.c:1590
 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0010:rep_movs_alternative+0x5f/0xb0 arch/x86/lib/copy_user_64.S:74
Code: 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 df 83 f9 08 73 e8 eb c9 66 0f 1f 44 00 00 4c 8b 06 4c 8b 4e 08 4c 8b 56 10 4c 8b 5e 18 <4c> 89 07 4c 89 4f 08 4c 89 57 10 4c 89 5f 18 4c 8b 46 20 4c 8b 4e
RSP: 0018:ffffc90016077e50 EFLAGS: 00050206
RAX: ffffffff84338b01 RBX: 00000000200007c0 RCX: 0000000000000400
RDX: 0000000000000000 RSI: ffff8880768a1000 RDI: 00000000200003c0
RBP: 00000000200003c0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000400
R13: ffff88807b090000 R14: 00000000200003c0 R15: ffff8880768a1000
 copy_user_generic arch/x86/include/asm/uaccess_64.h:112 [inline]
 raw_copy_to_user arch/x86/include/asm/uaccess_64.h:133 [inline]
 _copy_to_user+0x86/0xa0 lib/usercopy.c:41
 copy_to_user include/linux/uaccess.h:191 [inline]
 btrfs_ioctl_balance+0x5d6/0x7c0 fs/btrfs/ioctl.c:3603
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f6fdae8c169
RSP: 002b:00007f6fdbc5b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f6fdafac1f0 RCX: 00007f6fdae8c169
RDX: 00000000200003c0 RSI: 00000000c4009420 RDI: 0000000000000009
RBP: 00007f6fdaee7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdf520faef R14: 00007f6fdbc5b300 R15: 0000000000022000
 </TASK>
INFO: task syz-executor.4:20857 blocked for more than 147 seconds.
      Not tainted 6.4.0-rc1-syzkaller-00133-g9a48d6046722 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:23296 pid:20857 ppid:5042   flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5343 [inline]
 __schedule+0x187b/0x4900 kernel/sched/core.c:6669
 schedule+0xc3/0x180 kernel/sched/core.c:6745
 wait_on_state fs/btrfs/extent-io-tree.c:707 [inline]
 wait_extent_bit+0x50c/0x670 fs/btrfs/extent-io-tree.c:751
 lock_extent+0x1ce/0x280 fs/btrfs/extent-io-tree.c:1742
 btrfs_page_mkwrite+0x556/0xc90 fs/btrfs/inode.c:8130
 do_page_mkwrite+0x1a4/0x600 mm/memory.c:2931
 wp_page_shared mm/memory.c:3280 [inline]
 do_wp_page+0x501/0x3690 mm/memory.c:3362
 handle_pte_fault mm/memory.c:4964 [inline]
 __handle_mm_fault mm/memory.c:5089 [inline]
 handle_mm_fault+0x2371/0x5860 mm/memory.c:5243
 do_user_addr_fault arch/x86/mm/fault.c:1440 [inline]
 handle_page_fault arch/x86/mm/fault.c:1534 [inline]
 exc_page_fault+0x7d2/0x910 arch/x86/mm/fault.c:1590
 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0010:rep_movs_alternative+0x33/0xb0 arch/x86/lib/copy_user_64.S:56
Code: 46 83 f9 08 73 21 85 c9 74 0f 8a 06 88 07 48 ff c7 48 ff c6 48 ff c9 75 f1 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 8b 06 <48> 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 df 83 f9 08 73 e8 eb
RSP: 0018:ffffc900161ff330 EFLAGS: 00050206
RAX: 0000000000000000 RBX: 0000000020001318 RCX: 0000000000000038
RDX: 0000000000000000 RSI: ffffc900161ff3e0 RDI: 00000000200012e0
RBP: ffffc900161ff498 R08: dffffc0000000000 R09: fffff52002c3fe83
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000038
R13: ffffc900161ff3e0 R14: 00000000200012e0 R15: ffffc900161ff3e0
 copy_user_generic arch/x86/include/asm/uaccess_64.h:112 [inline]
 raw_copy_to_user arch/x86/include/asm/uaccess_64.h:133 [inline]
 _copy_to_user+0x86/0xa0 lib/usercopy.c:41
 copy_to_user include/linux/uaccess.h:191 [inline]
 fiemap_fill_next_extent+0x235/0x410 fs/ioctl.c:144
 emit_fiemap_extent+0x259/0x410 fs/btrfs/extent_io.c:2846
 fiemap_process_hole+0xa27/0xaf0 fs/btrfs/extent_io.c:3104
 extent_fiemap+0xe7d/0x1fc0
 btrfs_fiemap+0x178/0x1e0 fs/btrfs/inode.c:7802
 ioctl_fiemap fs/ioctl.c:219 [inline]
 do_vfs_ioctl+0x19ba/0x2b10 fs/ioctl.c:810
 __do_sys_ioctl fs/ioctl.c:868 [inline]
 __se_sys_ioctl+0x81/0x160 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f6fdae8c169
RSP: 002b:00007f6fdbc3a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f6fdafac2c0 RCX: 00007f6fdae8c169
RDX: 00000000200012c0 RSI: 00000000c020660b RDI: 0000000000000008
RBP: 00007f6fdaee7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdf520faef R14: 00007f6fdbc3a300 R15: 0000000000022000
 </TASK>

Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
 #0: ffffffff8cf27670 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518
1 lock held by rcu_tasks_trace/14:
 #0: ffffffff8cf27a30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518
1 lock held by khungtaskd/28:
 #0: ffffffff8cf274a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by kworker/u4:3/46:
 #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
 #1: ffff8880b98287c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:996
2 locks held by getty/4750:
 #0: ffff88802d28a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2176
1 lock held by syz-executor.1/5031:
 #0: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
 #0: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:992
1 lock held by syz-executor.2/5039:
 #0: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
 #0: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:992
2 locks held by kworker/1:9/5114:
 #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
 #1: ffffc900054dfd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
3 locks held by kworker/1:18/8977:
2 locks held by kworker/0:20/11478:
 #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
 #1: ffffc9000bf47d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
2 locks held by syz-executor.4/20813:
 #0: ffff88803a032460 (sb_writers#14){.+.+}-{0:0}, at: do_sendfile+0x5fb/0xff0 fs/read_write.c:1253
 #1: ffff8880767475b8 (&sb->s_type->i_mutex_key#22){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:785 [inline]
 #1: ffff8880767475b8 (&sb->s_type->i_mutex_key#22){++++}-{3:3}, at: btrfs_inode_lock+0x60/0xd0 fs/btrfs/inode.c:170
1 lock held by syz-executor.4/20853:
 #0: ffff8880183c2d68 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x254/0x2f0 fs/file.c:1047
3 locks held by syz-executor.4/20854:
 #0: ffff8880183c2d68 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x254/0x2f0 fs/file.c:1047
 #1: ffff88803a032460 (sb_writers#14){.+.+}-{0:0}, at: vfs_write+0x223/0xb20 fs/read_write.c:580
 #2: ffff8880767475b8 (&sb->s_type->i_mutex_key#22){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline]
 #2: ffff8880767475b8 (&sb->s_type->i_mutex_key#22){++++}-{3:3}, at: btrfs_inode_lock+0x4d/0xd0 fs/btrfs/inode.c:178
5 locks held by syz-executor.4/20855:
 #0: ffff88803a032460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write_file+0x5e/0x1f0 fs/namespace.c:438
 #1: ffff88807b091438 (&fs_info->balance_mutex){+.+.}-{3:3}, at: btrfs_balance+0xbe7/0x1120 fs/btrfs/volumes.c:4397
 #2: ffff88801a6a1368 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:161 [inline]
 #2: ffff88801a6a1368 (&mm->mmap_lock){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1381 [inline]
 #2: ffff88801a6a1368 (&mm->mmap_lock){++++}-{3:3}, at: handle_page_fault arch/x86/mm/fault.c:1534 [inline]
 #2: ffff88801a6a1368 (&mm->mmap_lock){++++}-{3:3}, at: exc_page_fault+0x1b9/0x910 arch/x86/mm/fault.c:1590
 #3: ffff88803a032558 (sb_pagefaults){.+.+}-{0:0}, at: do_page_mkwrite+0x1a4/0x600 mm/memory.c:2931
 #4: ffff888076747440 (&ei->i_mmap_lock){++++}-{3:3}, at: btrfs_page_mkwrite+0x427/0xc90 fs/btrfs/inode.c:8119
4 locks held by syz-executor.4/20857:
 #0: ffff8880767475b8 (&sb->s_type->i_mutex_key#22){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:785 [inline]
 #0: ffff8880767475b8 (&sb->s_type->i_mutex_key#22){++++}-{3:3}, at: btrfs_inode_lock+0x60/0xd0 fs/btrfs/inode.c:170
 #1: ffff88801a6a1368 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:161 [inline]
 #1: ffff88801a6a1368 (&mm->mmap_lock){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1381 [inline]
 #1: ffff88801a6a1368 (&mm->mmap_lock){++++}-{3:3}, at: handle_page_fault arch/x86/mm/fault.c:1534 [inline]
 #1: ffff88801a6a1368 (&mm->mmap_lock){++++}-{3:3}, at: exc_page_fault+0x1b9/0x910 arch/x86/mm/fault.c:1590
 #2: ffff88803a032558 (sb_pagefaults){.+.+}-{0:0}, at: do_page_mkwrite+0x1a4/0x600 mm/memory.c:2931
 #3: ffff888076747440 (&ei->i_mmap_lock){++++}-{3:3}, at: btrfs_page_mkwrite+0x427/0xc90 fs/btrfs/inode.c:8119
1 lock held by syz-executor.3/22251:
 #0: ffff888085f260e0 (&type->s_umount_key#110/1){+.+.}-{3:3}, at: alloc_super+0x217/0x930 fs/super.c:228
2 locks held by syz-executor.5/22256:

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

NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc1-syzkaller-00133-g9a48d6046722 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x187/0x300 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
 watchdog+0xec2/0xf00 kernel/hung_task.c:379
 kthread+0x2b8/0x350 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 11487 Comm: kworker/0:27 Not tainted 6.4.0-rc1-syzkaller-00133-g9a48d6046722 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
Workqueue: events nsim_dev_trap_report_work
RIP: 0010:__asan_memcpy+0x2d/0x70 mm/kasan/shadow.c:106
Code: fa 41 57 41 56 41 54 53 49 89 d4 49 89 f6 49 89 ff 48 8b 5c 24 20 48 89 f7 48 89 d6 31 d2 48 89 d9 e8 27 ea ff ff 84 c0 74 2c <4c> 89 ff 4c 89 e6 ba 01 00 00 00 48 89 d9 e8 10 ea ff ff 84 c0 74
RSP: 0018:ffffc9000bfcf838 EFLAGS: 00000002
RAX: ffff8880b9838f01 RBX: ffffffff84befff6 RCX: ffffffff84befff6
RDX: 0000000000000000 RSI: 0000000000000006 RDI: ffffc9000bfcf8e0
RBP: ffffc9000bfcfa10 R08: dffffc0000000000 R09: fffff520017f9f1d
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000006
R13: ffff8880b9838fe0 R14: ffffc9000bfcf8e0 R15: ffff888085eea000
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000558b57694f40 CR3: 000000007ed99000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 crng_fast_key_erasure drivers/char/random.c:308 [inline]
 crng_make_state+0x2e6/0x790 drivers/char/random.c:371
 _get_random_bytes+0xd7/0x2b0 drivers/char/random.c:385
 eth_random_addr include/linux/etherdevice.h:232 [inline]
 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:758 [inline]
 nsim_dev_trap_report drivers/net/netdevsim/dev.c:808 [inline]
 nsim_dev_trap_report_work+0x2fd/0xa90 drivers/net/netdevsim/dev.c:853
 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405
 worker_thread+0xa63/0x1210 kernel/workqueue.c:2552
 kthread+0x2b8/0x350 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/13 19:59 upstream 9a48d6046722 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in btrfs_file_read_iter
* Struck through repros no longer work on HEAD.