INFO: task syz-executor.0:8904 blocked for more than 143 seconds.
Not tainted 6.8.0-syzkaller-01185-g855684c7d938 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:23192 pid:8904 tgid:8903 ppid:5063 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0x1781/0x49d0 kernel/sched/core.c:6736
__schedule_loop kernel/sched/core.c:6813 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6828
wait_extent_bit fs/btrfs/extent-io-tree.c:822 [inline]
lock_extent+0x69e/0x860 fs/btrfs/extent-io-tree.c:1868
btrfs_lock_and_flush_ordered_range+0xd3/0x220 fs/btrfs/ordered-data.c:1092
contiguous_readpages fs/btrfs/extent_io.c:1186 [inline]
extent_readahead+0x10c1/0x1470 fs/btrfs/extent_io.c:2292
read_pages+0x17e/0x840 mm/readahead.c:160
page_cache_ra_unbounded+0x68f/0x7c0 mm/readahead.c:269
page_cache_sync_readahead include/linux/pagemap.h:1300 [inline]
filemap_get_pages+0x49d/0x2090 mm/filemap.c:2498
filemap_read+0x41b/0xec0 mm/filemap.c:2594
call_read_iter include/linux/fs.h:2102 [inline]
new_sync_read fs/read_write.c:395 [inline]
vfs_read+0x97b/0xb70 fs/read_write.c:476
ksys_read+0x1a0/0x2c0 fs/read_write.c:619
do_syscall_64+0xfb/0x240
entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7f8869a7dda9
RSP: 002b:00007f886a82b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007f8869babf80 RCX: 00007f8869a7dda9
RDX: 0000000000002020 RSI: 00000000200025c0 RDI: 0000000000000007
RBP: 00007f8869aca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f8869babf80 R15: 00007ffd58a7c788
INFO: task syz-executor.0:9005 blocked for more than 144 seconds.
Not tainted 6.8.0-syzkaller-01185-g855684c7d938 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:23760 pid:9005 tgid:8903 ppid:5063 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0x1781/0x49d0 kernel/sched/core.c:6736
__schedule_loop kernel/sched/core.c:6813 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6828
io_schedule+0x8d/0x110 kernel/sched/core.c:9034
folio_wait_bit_common+0x882/0x12b0 mm/filemap.c:1274
__filemap_get_folio+0xa3/0xbc0 mm/filemap.c:1865
pagecache_get_page+0x2c/0x200 mm/folio-compat.c:93
find_or_create_page include/linux/pagemap.h:757 [inline]
copy_inline_to_page+0x234/0xc50 fs/btrfs/reflink.c:86
clone_copy_inline_extent fs/btrfs/reflink.c:320 [inline]
btrfs_clone+0x1757/0x2a50 fs/btrfs/reflink.c:528
btrfs_clone_files+0x32f/0x3f0 fs/btrfs/reflink.c:770
btrfs_remap_file_range+0x5a7/0xeb0 fs/btrfs/reflink.c:908
vfs_clone_file_range+0x4ea/0x8d0 fs/remap_range.c:403
ioctl_file_clone fs/ioctl.c:240 [inline]
ioctl_file_clone_range fs/ioctl.c:259 [inline]
do_vfs_ioctl+0x119e/0x2e50 fs/ioctl.c:851
__do_sys_ioctl fs/ioctl.c:902 [inline]
__se_sys_ioctl+0x81/0x170 fs/ioctl.c:890
do_syscall_64+0xfb/0x240
entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7f8869a7dda9
RSP: 002b:00007f886a80a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f8869bac050 RCX: 00007f8869a7dda9
RDX: 0000000020000000 RSI: 000000004020940d RDI: 0000000000000007
RBP: 00007f8869aca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f8869bac050 R15: 00007ffd58a7c788
Showing all locks held in the system:
1 lock held by ksoftirqd/0/15:
#0: ffff8880b943e118 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559
1 lock held by khungtaskd/29:
#0: ffffffff8e1316a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#0: ffffffff8e1316a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#0: ffffffff8e1316a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
4 locks held by kworker/u8:2/43:
4 locks held by kworker/u8:6/1102:
2 locks held by kworker/u8:7/2425:
#0: ffff8880b943e118 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559
#1: ffff8880b9428988 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988
2 locks held by getty/4805:
#0: ffff88802acb50a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201
1 lock held by syz-executor.3/5193:
1 lock held by syz-executor.1/7389:
2 locks held by syz-executor.0/8904:
#0: ffff88801c69f4c8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x259/0x320 fs/file.c:1191
#1: ffff88804a6b3350 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:848 [inline]
#1: ffff88804a6b3350 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: page_cache_ra_unbounded+0xf2/0x7c0 mm/readahead.c:225
5 locks held by syz-executor.0/9005:
#0: ffff88807874a420 (sb_writers#14){.+.+}-{0:0}, at: ioctl_file_clone fs/ioctl.c:240 [inline]
#0: ffff88807874a420 (sb_writers#14){.+.+}-{0:0}, at: ioctl_file_clone_range fs/ioctl.c:259 [inline]
#0: ffff88807874a420 (sb_writers#14){.+.+}-{0:0}, at: do_vfs_ioctl+0x119e/0x2e50 fs/ioctl.c:851
#1: ffff8880484896f8 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:793 [inline]
#1: ffff8880484896f8 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: lock_two_nondirectories+0xe1/0x170 fs/inode.c:1111
#2: ffff88804a6b31b0 (&sb->s_type->i_mutex_key#21/4){+.+.}-{3:3}, at: btrfs_remap_file_range+0x165/0xeb0 fs/btrfs/reflink.c:896
#3: ffff88804a6b3038 (&ei->i_mmap_lock){+.+.}-{3:3}, at: btrfs_double_mmap_lock fs/btrfs/reflink.c:652 [inline]
#3: ffff88804a6b3038 (&ei->i_mmap_lock){+.+.}-{3:3}, at: btrfs_remap_file_range+0x182/0xeb0 fs/btrfs/reflink.c:897
#4: ffff888048489580 (&ei->i_mmap_lock/1){+.+.}-{3:3}, at: btrfs_double_mmap_lock fs/btrfs/reflink.c:653 [inline]
#4: ffff888048489580 (&ei->i_mmap_lock/1){+.+.}-{3:3}, at: btrfs_remap_file_range+0x19e/0xeb0 fs/btrfs/reflink.c:897
4 locks held by syz-executor.0/12820:
#0: ffff888024ec2158 (&mousedev->mutex/1){+.+.}-{3:3}, at: mixdev_close_devices+0x32/0x240 drivers/input/mousedev.c:486
#1: ffff888026fa4158 (&mousedev->mutex#2){+.+.}-{3:3}, at: mousedev_close_device drivers/input/mousedev.c:441 [inline]
#1: ffff888026fa4158 (&mousedev->mutex#2){+.+.}-{3:3}, at: mixdev_close_devices+0xcd/0x240 drivers/input/mousedev.c:494
#2: ffff8880256122c0 (&dev->mutex#2){+.+.}-{3:3}, at: input_close_device+0x4e/0x1d0 drivers/input/input.c:704
#3: ffffffff8e136a38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline]
#3: ffffffff8e136a38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x39a/0x820 kernel/rcu/tree_exp.h:939
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-syzkaller-01185-g855684c7d938 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xfb0/0xff0 kernel/hung_task.c:379
kthread+0x2f0/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 5061 Comm: syz-fuzzer Not tainted 6.8.0-syzkaller-01185-g855684c7d938 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
RIP: 0033:0x75d89b
Code: e8 8a 73 cb ff c6 00 01 48 8b 44 24 48 48 8b 8c 24 80 00 00 00 83 3d d3 91 d0 01 00 74 0c 48 8b 50 28 e8 c8 2d d1 ff 49 89 13 <48> c7 40 28 00 00 00 00 48 8b 9c 24 b8 00 00 00 48 85 db 74 38 48
RSP: 002b:000000c003a46df0 EFLAGS: 00000202
RAX: 000000c004fcac90 RBX: 0000000000000000 RCX: 000000c006f888d0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006
RBP: 000000c003a46e88 R08: 0000000000000000 R09: 000000c006f888d0
R10: 000000c000040000 R11: 000000c000041ab8 R12: 000000c000041ab8
R13: 0000000000002a82 R14: 000000c001a5aea0 R15: 0000000000000043
FS: 000000c00270dc90 GS: 0000000000000000