INFO: task kworker/u4:6:1044 blocked for more than 143 seconds.
Not tainted 6.7.0-rc4-syzkaller-00384-gb10a3ccaf6e3 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:6 state:D stack:19096 pid:1044 tgid:1044 ppid:2 flags:0x00004000
Workqueue: writeback wb_workfn (flush-btrfs-74)
Call Trace:
context_switch kernel/sched/core.c:5376 [inline]
__schedule+0x1961/0x4ab0 kernel/sched/core.c:6688
__schedule_loop kernel/sched/core.c:6763 [inline]
schedule+0x149/0x260 kernel/sched/core.c:6778
wait_extent_bit fs/btrfs/extent-io-tree.c:799 [inline]
lock_extent+0x69d/0x850 fs/btrfs/extent-io-tree.c:1843
find_lock_delalloc_range+0x4b5/0x970 fs/btrfs/extent_io.c:393
writepage_delalloc+0x17f/0x470 fs/btrfs/extent_io.c:1183
__extent_writepage fs/btrfs/extent_io.c:1440 [inline]
extent_write_cache_pages fs/btrfs/extent_io.c:2108 [inline]
extent_writepages+0x1210/0x26a0 fs/btrfs/extent_io.c:2230
do_writepages+0x3a6/0x670 mm/page-writeback.c:2553
__writeback_single_inode+0x155/0xfc0 fs/fs-writeback.c:1625
writeback_sb_inodes+0x8e3/0x1220 fs/fs-writeback.c:1916
wb_writeback+0x44d/0xc70 fs/fs-writeback.c:2092
wb_do_writeback fs/fs-writeback.c:2239 [inline]
wb_workfn+0x400/0xfb0 fs/fs-writeback.c:2279
process_one_work kernel/workqueue.c:2627 [inline]
process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2700
worker_thread+0xa5f/0x1000 kernel/workqueue.c:2781
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
INFO: task syz-executor.4:8874 blocked for more than 144 seconds.
Not tainted 6.7.0-rc4-syzkaller-00384-gb10a3ccaf6e3 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:23704 pid:8874 tgid:8872 ppid:5090 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5376 [inline]
__schedule+0x1961/0x4ab0 kernel/sched/core.c:6688
__schedule_loop kernel/sched/core.c:6763 [inline]
schedule+0x149/0x260 kernel/sched/core.c:6778
io_schedule+0x8c/0x100 kernel/sched/core.c:8998
folio_wait_bit_common+0x881/0x12b0 mm/filemap.c:1273
btrfs_page_mkwrite+0x4a4/0xd10 fs/btrfs/inode.c:8148
do_page_mkwrite+0x197/0x470 mm/memory.c:2944
wp_page_shared mm/memory.c:3339 [inline]
do_wp_page+0x1d07/0x4d40 mm/memory.c:3479
handle_pte_fault mm/memory.c:5055 [inline]
__handle_mm_fault mm/memory.c:5180 [inline]
handle_mm_fault+0x1b1c/0x6680 mm/memory.c:5345
do_user_addr_fault arch/x86/mm/fault.c:1413 [inline]
handle_page_fault arch/x86/mm/fault.c:1505 [inline]
exc_page_fault+0x2ad/0x870 arch/x86/mm/fault.c:1561
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:ffffc90015aaf330 EFLAGS: 00050206
RAX: 0000000000000000 RBX: 0000000020000258 RCX: 0000000000000038
RDX: 0000000000000000 RSI: ffffc90015aaf3e0 RDI: 0000000020000220
RBP: ffffc90015aaf498 R08: ffffc90015aaf417 R09: 1ffff92002b55e82
R10: dffffc0000000000 R11: fffff52002b55e83 R12: 0000000000000038
R13: ffffc90015aaf3e0 R14: 0000000020000220 R15: ffffc90015aaf3e0
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_fiemap_extent+0x258/0x410 fs/btrfs/extent_io.c:2476
fiemap_process_hole+0x374/0xaf0 fs/btrfs/extent_io.c:2687
extent_fiemap+0xeae/0x1fe0
btrfs_fiemap+0x178/0x1e0 fs/btrfs/inode.c:7830
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+0x45/0x110 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f770b07cba9
RSP: 002b:00007f770be430c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f770b19bf80 RCX: 00007f770b07cba9
RDX: 0000000020000200 RSI: 00000000c020660b RDI: 0000000000000004
RBP: 00007f770b0c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f770b19bf80 R15: 00007ffe13833318
INFO: task syz-executor.4:8921 blocked for more than 145 seconds.
Not tainted 6.7.0-rc4-syzkaller-00384-gb10a3ccaf6e3 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:27824 pid:8921 tgid:8872 ppid:5090 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5376 [inline]
__schedule+0x1961/0x4ab0 kernel/sched/core.c:6688
__schedule_loop kernel/sched/core.c:6763 [inline]
schedule+0x149/0x260 kernel/sched/core.c:6778
wb_wait_for_completion+0x166/0x290 fs/fs-writeback.c:192
__writeback_inodes_sb_nr+0x2d2/0x370 fs/fs-writeback.c:2672
sync_filesystem+0xa4/0x220 fs/sync.c:54
btrfs_remount+0x231/0x14b0 fs/btrfs/super.c:1652
reconfigure_super+0x440/0x870 fs/super.c:1143
vfs_cmd_reconfigure fs/fsopen.c:267 [inline]
vfs_fsconfig_locked fs/fsopen.c:296 [inline]
__do_sys_fsconfig fs/fsopen.c:476 [inline]
__se_sys_fsconfig+0xab5/0xec0 fs/fsopen.c:349
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f770b07cba9
RSP: 002b:00007f770be220c8 EFLAGS: 00000246 ORIG_RAX: 00000000000001af
RAX: ffffffffffffffda RBX: 00007f770b19c050 RCX: 00007f770b07cba9
RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006
RBP: 00007f770b0c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f770b19c050 R15: 00007ffe13833318
Showing all locks held in the system:
3 locks held by kworker/u4:2/28:
1 lock held by khungtaskd/30:
#0: ffffffff8d92d060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline]
#0: ffffffff8d92d060 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline]
#0: ffffffff8d92d060 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
2 locks held by kworker/u4:6/1044:
#0: ffff88801aa4dd38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline]
#0: ffff88801aa4dd38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700
#1: ffffc90004937d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline]
#1: ffffc90004937d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700
3 locks held by kworker/u4:8/2428:
2 locks held by kworker/1:2/2517:
#0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline]
#0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700
#1: ffffc9000a3f7d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline]
#1: ffffc9000a3f7d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700
2 locks held by getty/4819:
#0: ffff88814b1ea0a0 (&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.0/5086:
1 lock held by syz-executor.1/5087:
#0: ffff8880266240e0 (&type->s_umount_key#52){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline]
#0: ffff8880266240e0 (&type->s_umount_key#52){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff8880266240e0 (&type->s_umount_key#52){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:516
4 locks held by syz-executor.4/8874:
#0: ffff88803bd68588 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline]
#0: ffff88803bd68588 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: btrfs_inode_lock+0x60/0xd0 fs/btrfs/inode.c:370
#1: ffff88802a4f0b20 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:165 [inline]
#1: ffff88802a4f0b20 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:5372 [inline]
#1: ffff88802a4f0b20 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x32/0x2d0 mm/memory.c:5432
#2: ffff88801e6c2510 (sb_pagefaults#3){.+.+}-{0:0}, at: do_page_mkwrite+0x197/0x470 mm/memory.c:2944
#3: ffff88803bd68410 (&ei->i_mmap_lock){++++}-{3:3}, at: btrfs_page_mkwrite+0x49c/0xd10 fs/btrfs/inode.c:8147
2 locks held by syz-executor.4/8921:
#0: ffff888075e1c470 (&fc->uapi_mutex){+.+.}-{3:3}, at: __do_sys_fsconfig fs/fsopen.c:474 [inline]
#0: ffff888075e1c470 (&fc->uapi_mutex){+.+.}-{3:3}, at: __se_sys_fsconfig+0x8e6/0xec0 fs/fsopen.c:349
#1: ffff88801e6c20e0 (&type->s_umount_key#78){++++}-{3:3}, at: vfs_cmd_reconfigure fs/fsopen.c:266 [inline]
#1: ffff88801e6c20e0 (&type->s_umount_key#78){++++}-{3:3}, at: vfs_fsconfig_locked fs/fsopen.c:296 [inline]
#1: ffff88801e6c20e0 (&type->s_umount_key#78){++++}-{3:3}, at: __do_sys_fsconfig fs/fsopen.c:476 [inline]
#1: ffff88801e6c20e0 (&type->s_umount_key#78){++++}-{3:3}, at: __se_sys_fsconfig+0xaab/0xec0 fs/fsopen.c:349
1 lock held by syz-executor.2/9849:
#0: ffff88801e6c20e0 (&type->s_umount_key#78){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88801e6c20e0 (&type->s_umount_key#78){++++}-{3:3}, at: super_lock+0x176/0x3a0 fs/super.c:117
1 lock held by syz-executor.2/9855:
#0: ffff88801e6c20e0 (&type->s_umount_key#78){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88801e6c20e0 (&type->s_umount_key#78){++++}-{3:3}, at: super_lock+0x176/0x3a0 fs/super.c:117
1 lock held by syz-executor.3/9980:
#0: ffff88801e6c20e0 (&type->s_umount_key#78){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88801e6c20e0 (&type->s_umount_key#78){++++}-{3:3}, at: super_lock+0x176/0x3a0 fs/super.c:117
1 lock held by syz-executor.3/9982:
#0: ffff88801e6c20e0 (&type->s_umount_key#78){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88801e6c20e0 (&type->s_umount_key#78){++++}-{3:3}, at: super_lock+0x176/0x3a0 fs/super.c:117
2 locks held by syz-executor.5/9990:
1 lock held by syz-executor.0/9993:
2 locks held by syz-executor.1/9995:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.7.0-rc4-syzkaller-00384-gb10a3ccaf6e3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/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: 9991 Comm: syz-executor.2 Not tainted 6.7.0-rc4-syzkaller-00384-gb10a3ccaf6e3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
RIP: 0010:clear_page_erms+0xb/0x10 arch/x86/lib/clear_page_64.S:50
Code: 48 89 47 20 48 89 47 28 48 89 47 30 48 89 47 38 48 8d 7f 40 75 d9 90 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa b9 00 10 00 00 31 c0 aa c3 66 90 f3 0f 1e fa 48 83 f9 40 73 36 83 f9 08 73 0f 85 c9
RSP: 0018:ffffc9000a6477d8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000d40
RDX: ffff8880549df000 RSI: 0000000000000001 RDI: ffff8880549df2c0
RBP: ffffc9000a647a90 R08: ffffea00015277f7 R09: 0000000000000000
R10: ffffed100a93be00 R11: fffff940002a4eff R12: 0000000000000001
R13: 0000000000000001 R14: ffffea00015277c0 R15: 0000000000000000
FS: 0000555555e48480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcf6d79bf40 CR3: 000000001c513000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
clear_page arch/x86/include/asm/page_64.h:53 [inline]
clear_highpage_kasan_tagged include/linux/highmem.h:248 [inline]
kernel_init_pages mm/page_alloc.c:1072 [inline]
post_alloc_hook+0xf8/0x210 mm/page_alloc.c:1535
prep_new_page mm/page_alloc.c:1544 [inline]
get_page_from_freelist+0x33ea/0x3570 mm/page_alloc.c:3312
__alloc_pages+0x255/0x680 mm/page_alloc.c:4568
alloc_pages_mpol+0x3de/0x640 mm/mempolicy.c:2133
vm_area_alloc_pages mm/vmalloc.c:3063 [inline]
__vmalloc_area_node mm/vmalloc.c:3139 [inline]
__vmalloc_node_range+0x9a3/0x14a0 mm/vmalloc.c:3320
vmalloc_user+0x74/0x80 mm/vmalloc.c:3474
kcov_ioctl+0x59/0x630 kernel/kcov.c:704
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:871 [inline]
__se_sys_ioctl+0xf8/0x170 fs/ioctl.c:857
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fcf6d67c90b
Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00
RSP: 002b:00007ffeb12f0070 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fcf6d67c90b
RDX: 0000000000040000 RSI: ffffffff80086301 RDI: 00000000000000d7
RBP: 00007fcf6d79bf40 R08: 00000000000000da R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffeb12f07a8
R13: 0000000000000003 R14: 00007fcf6d79c9d8 R15: 000000000000000c