INFO: task kworker/u4:17:13184 blocked for more than 143 seconds.
Not tainted 6.8.0-rc3-syzkaller-00005-g99bd3cb0d12e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:17 state:D stack:20952 pid:13184 tgid:13184 ppid:2 flags:0x00004000
Workqueue: btrfs-endio-write btrfs_work_helper
Call Trace:
context_switch kernel/sched/core.c:5400 [inline]
__schedule+0x177f/0x49a0 kernel/sched/core.c:6727
__schedule_loop kernel/sched/core.c:6802 [inline]
schedule+0x149/0x260 kernel/sched/core.c:6817
wait_extent_bit fs/btrfs/extent-io-tree.c:822 [inline]
lock_extent+0x69d/0x860 fs/btrfs/extent-io-tree.c:1868
btrfs_finish_one_ordered+0x591/0x16e0 fs/btrfs/inode.c:3092
btrfs_work_helper+0x380/0xc10 fs/btrfs/async-thread.c:315
process_one_work kernel/workqueue.c:2633 [inline]
process_scheduled_works+0x913/0x1420 kernel/workqueue.c:2706
worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787
kthread+0x2ef/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242
INFO: task syz-executor.4:14194 blocked for more than 144 seconds.
Not tainted 6.8.0-rc3-syzkaller-00005-g99bd3cb0d12e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:21272 pid:14194 tgid:14192 ppid:5104 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5400 [inline]
__schedule+0x177f/0x49a0 kernel/sched/core.c:6727
__schedule_loop kernel/sched/core.c:6802 [inline]
schedule+0x149/0x260 kernel/sched/core.c:6817
wait_extent_bit fs/btrfs/extent-io-tree.c:822 [inline]
lock_extent+0x69d/0x860 fs/btrfs/extent-io-tree.c:1868
btrfs_page_mkwrite+0x743/0x10c0 fs/btrfs/inode.c:8180
do_page_mkwrite+0x19b/0x480 mm/memory.c:2966
wp_page_shared mm/memory.c:3353 [inline]
do_wp_page+0x20e3/0x4c90 mm/memory.c:3493
handle_pte_fault mm/memory.c:5160 [inline]
__handle_mm_fault+0x26ad/0x72d0 mm/memory.c:5285
handle_mm_fault+0x27e/0x770 mm/memory.c:5450
do_user_addr_fault arch/x86/mm/fault.c:1415 [inline]
handle_page_fault arch/x86/mm/fault.c:1507 [inline]
exc_page_fault+0x2ad/0x870 arch/x86/mm/fault.c:1563
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0010:rep_movs_alternative+0x33/0x70 arch/x86/lib/copy_user_64.S:58
Code: 40 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 cc cc cc cc 66 0f 1f 84 00 00 00 00 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:ffffc9000366f310 EFLAGS: 00050206
RAX: 0000000000000000 RBX: 0000000020001618 RCX: 0000000000000038
RDX: 0000000000000000 RSI: ffffc9000366f3c0 RDI: 00000000200015e0
RBP: ffffc9000366f478 R08: ffffc9000366f3f7 R09: 1ffff920006cde7e
R10: dffffc0000000000 R11: fffff520006cde7f R12: 0000000000000038
R13: ffffc9000366f3c0 R14: 00000000200015e0 R15: ffffc9000366f3c0
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/0xb0 lib/usercopy.c:41
copy_to_user include/linux/uaccess.h:191 [inline]
fiemap_fill_next_extent+0x235/0x410 fs/ioctl.c:145
emit_fiemap_extent+0x258/0x410 fs/btrfs/extent_io.c:2521
fiemap_process_hole+0x374/0xb00 fs/btrfs/extent_io.c:2732
extent_fiemap+0xeae/0x1fe0
btrfs_fiemap+0x178/0x1f0 fs/btrfs/inode.c:7848
ioctl_fiemap fs/ioctl.c:220 [inline]
do_vfs_ioctl+0x1a02/0x2b60 fs/ioctl.c:811
__do_sys_ioctl fs/ioctl.c:869 [inline]
__se_sys_ioctl+0x81/0x170 fs/ioctl.c:857
do_syscall_64+0xf9/0x240
entry_SYSCALL_64_after_hwframe+0x6f/0x77
RIP: 0033:0x7f5937c7dda9
RSP: 002b:00007f5938a2f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f5937dabf80 RCX: 00007f5937c7dda9
RDX: 00000000200015c0 RSI: 00000000c020660b RDI: 0000000000000004
RBP: 00007f5938a2f120 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 000000000000000b R14: 00007f5937dabf80 R15: 00007fff0f56fa58
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8e130ae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#0: ffffffff8e130ae0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#0: ffffffff8e130ae0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
4 locks held by kworker/u4:3/44:
2 locks held by getty/4817:
#0: ffff88802adb60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201
1 lock held by syz-executor.1/5089:
#0: ffffffff8e136478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline]
#0: ffffffff8e136478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:995
1 lock held by syz-executor.2/5096:
#0: ffffffff8e136478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline]
#0: ffffffff8e136478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:995
1 lock held by syz-executor.3/5101:
#0: ffff88807db520e0 (&type->s_umount_key#87){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline]
#0: ffff88807db520e0 (&type->s_umount_key#87){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff88807db520e0 (&type->s_umount_key#87){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:509
2 locks held by kworker/u4:14/13181:
3 locks held by kworker/u4:17/13184:
#0: ffff88807b10c138 ((wq_completion)btrfs-endio-write){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#0: ffff88807b10c138 ((wq_completion)btrfs-endio-write){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
#1: ffffc90012ec7d20 ((work_completion)(&work->normal_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#1: ffffc90012ec7d20 ((work_completion)(&work->normal_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
#2: ffff8880172ea490 (btrfs_ordered_extent){++++}-{0:0}, at: btrfs_finish_one_ordered+0x347/0x16e0 fs/btrfs/inode.c:3052
4 locks held by syz-executor.4/14194:
#0: ffff888045ebd550 (&sb->s_type->i_mutex_key#20){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline]
#0: ffff888045ebd550 (&sb->s_type->i_mutex_key#20){++++}-{3:3}, at: btrfs_inode_lock+0x60/0xe0 fs/btrfs/inode.c:379
#1: ffff88807b56f3a0 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:165 [inline]
#1: ffff88807b56f3a0 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:5477 [inline]
#1: ffff88807b56f3a0 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x32/0x2e0 mm/memory.c:5537
#2: ffff88807f628518 (sb_pagefaults#2){.+.+}-{0:0}, at: do_page_mkwrite+0x19b/0x480 mm/memory.c:2966
#3: ffff888045ebd3d8 (&ei->i_mmap_lock){++++}-{3:3}, at: btrfs_page_mkwrite+0x603/0x10c0 fs/btrfs/inode.c:8169
2 locks held by kworker/1:1/14351:
#0: ffff888014c8e938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#0: ffff888014c8e938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
#1: ffffc90004affd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#1: ffffc90004affd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
2 locks held by syz-executor.4/17016:
1 lock held by syz-executor.0/17029:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc3-syzkaller-00005-g99bd3cb0d12e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/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+0xfaf/0xff0 kernel/hung_task.c:379
kthread+0x2ef/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5101 Comm: syz-executor.3 Not tainted 6.8.0-rc3-syzkaller-00005-g99bd3cb0d12e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:200
Code: 89 fb e8 23 00 00 00 48 8b 3d b4 5b 19 0c 48 89 de 5b e9 b3 7c 53 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 8b 04 24 65 48 8b 0d 80 58 70 7e 65 8b 15 81 58 70
RSP: 0018:ffffc900045e73d0 EFLAGS: 00000202
RAX: 0000000000000000 RBX: ffffc900045e7448 RCX: ffffffff90d52000
RDX: ffff888021d90000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffffff81404bf8 R09: ffffffff814066c0
R10: 0000000000000003 R11: ffff888021d90000 R12: ffff888021d90000
R13: ffffffff81803e70 R14: dffffc0000000000 R15: 1ffff920008bce89
FS: 0000555556f17480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1b2239bd58 CR3: 00000000404f6000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
unwind_get_return_address+0x71/0xc0 arch/x86/kernel/unwind_orc.c:369
arch_stack_walk+0x124/0x1b0 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0x117/0x1d0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:47 [inline]
kasan_save_track+0x3f/0x80 mm/kasan/common.c:68
kasan_save_free_info+0x4e/0x60 mm/kasan/generic.c:640
poison_slab_object+0xa6/0xe0 mm/kasan/common.c:241
__kasan_slab_free+0x34/0x70 mm/kasan/common.c:257
kasan_slab_free include/linux/kasan.h:184 [inline]
slab_free_hook mm/slub.c:2121 [inline]
slab_free mm/slub.c:4299 [inline]
kmem_cache_free+0x102/0x2a0 mm/slub.c:4363
f2fs_destroy_node_manager+0x329/0xd20 fs/f2fs/node.c:3353
f2fs_put_super+0xaaf/0x1160 fs/f2fs/super.c:1705
generic_shutdown_super+0x136/0x2d0 fs/super.c:646
kill_block_super+0x44/0x90 fs/super.c:1680
kill_f2fs_super+0x344/0x690 fs/f2fs/super.c:4930
deactivate_locked_super+0xc4/0x130 fs/super.c:477
cleanup_mnt+0x426/0x4c0 fs/namespace.c:1267
task_work_run+0x24e/0x310 kernel/task_work.c:180
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:108 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline]
syscall_exit_to_user_mode+0x167/0x370 kernel/entry/common.c:212
do_syscall_64+0x108/0x240 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x6f/0x77
RIP: 0033:0x7f510ec7f0d7
Code: b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffde9d6df78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f510ec7f0d7
RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffde9d6e030
RBP: 00007ffde9d6e030 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffde9d6f0f0
R13: 00007f510ecc93b9 R14: 00000000000a7162 R15: 0000000000000011