INFO: task syz-executor.4:17001 blocked for more than 143 seconds.
Not tainted 6.7.0-syzkaller-13004-g4fbbed787267 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:22704 pid:17001 tgid:16999 ppid:4382 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:8176
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:ffffc9000318f530 EFLAGS: 00050206
RAX: 0000000000000000 RBX: 0000000020000098 RCX: 0000000000000038
RDX: 0000000000000000 RSI: ffffc9000318f5e0 RDI: 0000000020000060
RBP: ffffc9000318f690 R08: ffffc9000318f617 R09: 1ffff92000631ec2
R10: dffffc0000000000 R11: fffff52000631ec3 R12: 0000000000000038
R13: ffffc9000318f5e0 R14: 0000000020000060 R15: ffffc9000318f5e0
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:7844
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:0x7f5d3aa7cda9
RSP: 002b:00007f5d3b7cb0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f5d3ababf80 RCX: 00007f5d3aa7cda9
RDX: 0000000020000040 RSI: 00000000c020660b RDI: 0000000000000004
RBP: 00007f5d3aac947a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f5d3ababf80 R15: 00007ffd669fd8e8
Showing all locks held in the system:
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
2 locks held by kworker/1:1H/97:
1 lock held by udevd/4500:
2 locks held by getty/4803:
#0: ffff888029b5e0a0 (&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
1 lock held by syz-executor.3/5091:
#0: ffffffff8d9348b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
#0: ffffffff8d9348b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:996
3 locks held by syz-executor.5/14628:
2 locks held by syz-executor.1/29590:
#0: ffff8880372ac0e0 (&type->s_umount_key#54){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline]
#0: ffff8880372ac0e0 (&type->s_umount_key#54){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff8880372ac0e0 (&type->s_umount_key#54){++++}-{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:293 [inline]
#1: ffffffff8d9348b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:996
2 locks held by kworker/0:1/12087:
#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: ffffc9000d777d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#1: ffffc9000d777d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
4 locks held by syz-executor.4/17001:
#0: ffff8880368f16f8 (&sb->s_type->i_mutex_key#27){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline]
#0: ffff8880368f16f8 (&sb->s_type->i_mutex_key#27){++++}-{3:3}, at: btrfs_inode_lock+0x60/0xd0 fs/btrfs/inode.c:379
#1: ffff88807eea81a0 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:165 [inline]
#1: ffff88807eea81a0 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:5477 [inline]
#1: ffff88807eea81a0 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x32/0x2d0 mm/memory.c:5537
#2: ffff888028c38518 (sb_pagefaults#6){.+.+}-{0:0}, at: do_page_mkwrite+0x197/0x470 mm/memory.c:2966
#3: ffff8880368f1580 (&ei->i_mmap_lock){++++}-{3:3}, at: btrfs_page_mkwrite+0x603/0x10c0 fs/btrfs/inode.c:8165
1 lock held by udevadm/20205:
#0: ffff8880b993c918 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559
2 locks held by syz-executor.5/20208:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.7.0-syzkaller-13004-g4fbbed787267 #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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 20208 Comm: syz-executor.5 Not tainted 6.7.0-syzkaller-13004-g4fbbed787267 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:stack_depot_save_flags+0x29/0x650
Code: da f3 0f 1e fa 55 41 57 41 56 41 55 41 54 53 48 83 ec 18 83 f9 04 0f 83 e7 04 00 00 89 cb 89 d5 49 89 fe e8 b9 74 b7 fc 89 c1 <31> c0 85 c9 0f 84 c7 05 00 00 80 3d 46 26 cb 0d 00 0f 85 ba 05 00
RSP: 0018:ffffc9000448f0b0 EFLAGS: 00000246
RAX: 0000000000000011 RBX: 0000000000000003 RCX: 0000000000000011
RDX: 0000000000092800 RSI: 0000000000000011 RDI: ffffc9000448f100
RBP: 0000000000092800 R08: ffffffff8135153c R09: 1ffffffff1e0462d
R10: dffffc0000000000 R11: fffffbfff1e0462e R12: 0000000000000000
R13: ffff888018ad4500 R14: ffffc9000448f100 R15: ffffc9000448f100
FS: 00007f171acff6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4266aef000 CR3: 000000001e56a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
kasan_save_stack mm/kasan/common.c:48 [inline]
kasan_save_track+0x51/0x70 mm/kasan/common.c:68
unpoison_slab_object mm/kasan/common.c:314 [inline]
__kasan_slab_alloc+0x66/0x70 mm/kasan/common.c:340
kasan_slab_alloc include/linux/kasan.h:201 [inline]
slab_post_alloc_hook mm/slub.c:3813 [inline]
slab_alloc_node mm/slub.c:3860 [inline]
kmem_cache_alloc+0x16f/0x340 mm/slub.c:3867
mempool_alloc+0x194/0x590 mm/mempool.c:408
bio_alloc_bioset+0x26b/0x1400 block/bio.c:543
bio_alloc include/linux/bio.h:437 [inline]
submit_bh_wbc+0x27b/0x540 fs/buffer.c:2781
submit_bh fs/buffer.c:2805 [inline]
__bh_read fs/buffer.c:3070 [inline]
bh_readahead include/linux/buffer_head.h:408 [inline]
__breadahead+0x1a2/0x230 fs/buffer.c:1442
nilfs_search_super_root+0x2e0/0x1690 fs/nilfs2/recovery.c:825
load_nilfs+0x31f/0x1050 fs/nilfs2/the_nilfs.c:252
nilfs_fill_super+0x2b5/0x600 fs/nilfs2/super.c:1091
nilfs_mount+0x6f8/0x950 fs/nilfs2/super.c:1319
legacy_get_tree+0xef/0x190 fs/fs_context.c:662
vfs_get_tree+0x8c/0x2a0 fs/super.c:1784
do_new_mount+0x2be/0xb40 fs/namespace.c:3352
do_mount fs/namespace.c:3692 [inline]
__do_sys_mount fs/namespace.c:3898 [inline]
__se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3875
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:0x7f171a07e4aa
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f171acfeef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f171acfef80 RCX: 00007f171a07e4aa
RDX: 00000000200000c0 RSI: 0000000020000f00 RDI: 00007f171acfef40
RBP: 00000000200000c0 R08: 00007f171acfef80 R09: 0000000000000005
R10: 0000000000000005 R11: 0000000000000202 R12: 0000000020000f00
R13: 00007f171acfef40 R14: 0000000000000f17 R15: 0000000020000480