INFO: task syz-executor.4:32171 blocked for more than 143 seconds.
Not tainted 6.8.0-rc1-syzkaller-00169-gecb1b8288dc7 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:24496 pid:32171 tgid:32171 ppid:5090 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5400 [inline]
__schedule+0x177f/0x4960 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/0x850 fs/btrfs/extent-io-tree.c:1868
btrfs_page_mkwrite+0x743/0x10c0 fs/btrfs/inode.c:8180
do_page_mkwrite+0x197/0x470 mm/memory.c:2966
wp_page_shared mm/memory.c:3353 [inline]
do_wp_page+0x20e3/0x4c80 mm/memory.c:3493
handle_pte_fault mm/memory.c:5160 [inline]
__handle_mm_fault+0x26a3/0x72b0 mm/memory.c:5285
handle_mm_fault+0x27e/0x770 mm/memory.c:5450
do_user_addr_fault arch/x86/mm/fault.c:1364 [inline]
handle_page_fault arch/x86/mm/fault.c:1507 [inline]
exc_page_fault+0x456/0x870 arch/x86/mm/fault.c:1563
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x7fa670e2b551
RSP: 002b:00007fff1d1af760 EFLAGS: 00010246
RAX: 0000000020000040 RBX: 0000000000000004 RCX: 0000000000000000
RDX: 000000000000000a RSI: 0000000000000000 RDI: 0000555556257360
RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000081c0eefe R11: 0000000000085440 R12: 00007fa670a05e20
R13: fffffffffffffffe R14: 00007fa670a00000 R15: 00007fa670a05e28
INFO: task syz-executor.4:32231 blocked for more than 144 seconds.
Not tainted 6.8.0-rc1-syzkaller-00169-gecb1b8288dc7 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:23416 pid:32231 tgid:32171 ppid:5090 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5400 [inline]
__schedule+0x177f/0x4960 kernel/sched/core.c:6727
__schedule_loop kernel/sched/core.c:6802 [inline]
schedule+0x149/0x260 kernel/sched/core.c:6817
io_schedule+0x8c/0x100 kernel/sched/core.c:9023
folio_wait_bit_common+0x881/0x12b0 mm/filemap.c:1274
btrfs_page_mkwrite+0x60d/0x10c0 fs/btrfs/inode.c:8170
do_page_mkwrite+0x197/0x470 mm/memory.c:2966
wp_page_shared mm/memory.c:3353 [inline]
do_wp_page+0x20e3/0x4c80 mm/memory.c:3493
handle_pte_fault mm/memory.c:5160 [inline]
__handle_mm_fault+0x26a3/0x72b0 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 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:ffffc900137cf530 EFLAGS: 00050206
RAX: 0000000000000000 RBX: 0000000020000058 RCX: 0000000000000038
RDX: 0000000000000000 RSI: ffffc900137cf5e0 RDI: 0000000020000020
RBP: ffffc900137cf690 R08: ffffc900137cf617 R09: 1ffff920026f9ec2
R10: dffffc0000000000 R11: fffff520026f9ec3 R12: 0000000000000038
R13: ffffc900137cf5e0 R14: 0000000020000020 R15: ffffc900137cf5e0
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:145
emit_last_fiemap_cache fs/btrfs/extent_io.c:2555 [inline]
extent_fiemap+0x1b9c/0x1fe0 fs/btrfs/extent_io.c:3082
btrfs_fiemap+0x178/0x1e0 fs/btrfs/inode.c:7848
ioctl_fiemap fs/ioctl.c:220 [inline]
do_vfs_ioctl+0x19ea/0x2b40 fs/ioctl.c:811
__do_sys_ioctl fs/ioctl.c:869 [inline]
__se_sys_ioctl+0x81/0x170 fs/ioctl.c:857
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf5/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fa670e7cda9
RSP: 002b:00007fa671bea0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fa670fac050 RCX: 00007fa670e7cda9
RDX: 0000000020000000 RSI: 00000000c020660b RDI: 0000000000000004
RBP: 00007fa670ec947a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fa670fac050 R15: 00007fff1d1af6b8
Showing all locks held in the system:
1 lock held by pool_workqueue_/3:
1 lock held by khungtaskd/29:
#0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
3 locks held by jbd2/sda1-8/4463:
#0: ffff8880b983c918 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559
#1: ffff8880b9828988 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988
#2: ffff8880b983c918 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559
2 locks held by getty/4808:
#0: ffff88802e3da0a0 (&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+0x6b4/0x1e10 drivers/tty/n_tty.c:2201
3 locks held by syz-executor.1/5084:
#0: ffff88801bd34420 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409
#1: ffff888035a51800 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:837 [inline]
#1: ffff888035a51800 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_rmdir+0x263/0x580 fs/namei.c:4252
#2: ffff88801bd34610 (sb_internal){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1639 [inline]
#2: ffff88801bd34610 (sb_internal){.+.+}-{0:0}, at: sb_start_intwrite include/linux/fs.h:1822 [inline]
#2: ffff88801bd34610 (sb_internal){.+.+}-{0:0}, at: ext4_evict_inode+0x2e3/0xf30 fs/ext4/inode.c:212
4 locks held by syz-executor.3/5087:
2 locks held by syz-executor.0/28062:
#0: ffff8880172ce0e0 (&type->s_umount_key#87){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline]
#0: ffff8880172ce0e0 (&type->s_umount_key#87){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff8880172ce0e0 (&type->s_umount_key#87){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:509
#1: ffffffff8d9348b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline]
#1: ffffffff8d9348b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:995
3 locks held by syz-executor.4/32171:
#0: ffff88807f786e08 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:663 [inline]
#0: ffff88807f786e08 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x2f9/0x730 mm/memory.c:5606
#1: ffff88803958a518 (sb_pagefaults#7){.+.+}-{0:0}, at: do_page_mkwrite+0x197/0x470 mm/memory.c:2966
#2: ffff8880795b7778 (&ei->i_mmap_lock){++++}-{3:3}, at: btrfs_page_mkwrite+0x603/0x10c0 fs/btrfs/inode.c:8169
4 locks held by syz-executor.4/32231:
#0: ffff8880795b78f0 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline]
#0: ffff8880795b78f0 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: btrfs_inode_lock+0x60/0xd0 fs/btrfs/inode.c:379
#1: ffff88807a613aa0 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:165 [inline]
#1: ffff88807a613aa0 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:5477 [inline]
#1: ffff88807a613aa0 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x32/0x2d0 mm/memory.c:5537
#2: ffff88803958a518 (sb_pagefaults#7){.+.+}-{0:0}, at: do_page_mkwrite+0x197/0x470 mm/memory.c:2966
#3: ffff8880795b7778 (&ei->i_mmap_lock){++++}-{3:3}, at: btrfs_page_mkwrite+0x603/0x10c0 fs/btrfs/inode.c:8169
2 locks held by kworker/1:0/32642:
#0: ffff88801308a938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#0: ffff88801308a938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
#1: ffffc90004477d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#1: ffffc90004477d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
2 locks held by syz-executor.2/2464:
2 locks held by syz-executor.3/2468:
1 lock held by syz-executor.4/2469:
1 lock held by udevadm/2467:
1 lock held by syz-executor.1/2472:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc1-syzkaller-00169-gecb1b8288dc7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
__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+0x198/0x310 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+0x2d3/0x370 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4482 Comm: syslogd Not tainted 6.8.0-rc1-syzkaller-00169-gecb1b8288dc7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:hlock_class kernel/locking/lockdep.c:240 [inline]
RIP: 0010:__lock_acquire+0xf26/0x1fd0 kernel/locking/lockdep.c:5133
Code: 1f 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 e0 83 df 90 be 08 00 00 00 e8 78 40 7e 00 48 0f a3 1d a0 e3 71 0f 0f 83 56 02 00 00 <48> 69 c3 c8 00 00 00 48 8d 98 e0 e2 ad 90 48 bf 00 00 00 00 00 fc
RSP: 0018:ffffc9000316f7f0 EFLAGS: 00000057
RAX: 0000000000000001 RBX: 0000000000000530 RCX: ffffffff816da038
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90df8480
RBP: d9adfbebc429b270 R08: ffffffff90df8487 R09: 1ffffffff21bf090
R10: dffffc0000000000 R11: fffffbfff21bf091 R12: ffff88807ce8bb80
R13: ffff88807ce8bb80 R14: 0000000000000000 R15: ffff88807ce8bb80
FS: 00007fa57a688380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8c3d578000 CR3: 000000002b04e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire+0x1e3/0x530 kernel/locking/lockdep.c:5754
seqcount_lockdep_reader_access+0x13f/0x220 include/linux/seqlock.h:73
ktime_get_coarse_real_ts64+0x3a/0x120 kernel/time/timekeeping.c:2261
current_time+0x8f/0x2b0 fs/inode.c:2496
inode_needs_update_time fs/inode.c:2078 [inline]
file_update_time+0x5a/0x3e0 fs/inode.c:2132
shmem_file_write_iter+0xd3/0x120 mm/shmem.c:2890
call_write_iter include/linux/fs.h:2085 [inline]
new_sync_write fs/read_write.c:497 [inline]
vfs_write+0xa74/0xca0 fs/read_write.c:590
ksys_write+0x1a0/0x2c0 fs/read_write.c:643
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf5/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fa57a7dcbf2
Code: 89 c7 48 89 44 24 08 e8 7b 34 fa ff 48 8b 44 24 08 48 83 c4 28 c3 c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 6f 48 8b 15 07 a2 0d 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffe9b895548 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fa57a7dcbf2
RDX: 000000000000006f RSI: 000055acdc911c50 RDI: 0000000000000003
RBP: 000055acdc911c50 R08: 0000000000000001 R09: 0000000000000000
R10: 00007fa57a97b3a3 R11: 0000000000000246 R12: 000000000000006f
R13: 00007fa57a688300 R14: 0000000000000004 R15: 000055acdc911a60