INFO: task syz-executor322:5034 blocked for more than 143 seconds.
Not tainted 6.5.0-rc3-next-20230728-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor322 state:D stack:25920 pid:5034 ppid:5033 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0xee1/0x59f0 kernel/sched/core.c:6711
schedule+0xe7/0x1b0 kernel/sched/core.c:6787
wait_on_state fs/btrfs/extent-io-tree.c:719 [inline]
wait_extent_bit+0x578/0x670 fs/btrfs/extent-io-tree.c:763
lock_extent+0x104/0x190 fs/btrfs/extent-io-tree.c:1755
btrfs_page_mkwrite+0x653/0x11e0 fs/btrfs/inode.c:8053
do_page_mkwrite+0x17a/0x380 mm/memory.c:3080
wp_page_shared mm/memory.c:3440 [inline]
do_wp_page+0xd04/0x3550 mm/memory.c:3525
handle_pte_fault mm/memory.c:5152 [inline]
__handle_mm_fault+0x1704/0x4030 mm/memory.c:5276
handle_mm_fault+0x47a/0xa00 mm/memory.c:5441
do_user_addr_fault+0x3ad/0xfe0 arch/x86/mm/fault.c:1391
handle_page_fault arch/x86/mm/fault.c:1483 [inline]
exc_page_fault+0x5c/0xd0 arch/x86/mm/fault.c:1539
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0010:rep_movs_alternative+0x33/0xb0 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 66 2e 0f 1f 84 00 00 00 00 00 66 90 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:ffffc90003a0f8d8 EFLAGS: 00050206
RAX: 0000000000000000 RBX: 0000000000000038 RCX: 0000000000000038
RDX: fffff52000741f32 RSI: ffffc90003a0f958 RDI: 00000000200000e0
RBP: 00000000200000e0 R08: 0000000000000000 R09: fffff52000741f31
R10: ffffc90003a0f98f R11: ffffffff81dbaca5 R12: ffffc90003a0f958
R13: 0000000020000118 R14: 0000000000000000 R15: 0000000000000000
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 lib/usercopy.c:41 [inline]
_copy_to_user+0xa8/0xb0 lib/usercopy.c:34
copy_to_user include/linux/uaccess.h:191 [inline]
fiemap_fill_next_extent+0x232/0x380 fs/ioctl.c:144
emit_last_fiemap_cache fs/btrfs/extent_io.c:2532 [inline]
extent_fiemap+0x13e0/0x19f0 fs/btrfs/extent_io.c:3059
btrfs_fiemap+0xe4/0x160 fs/btrfs/inode.c:7725
ioctl_fiemap fs/ioctl.c:219 [inline]
do_vfs_ioctl+0x339/0x1920 fs/ioctl.c:810
__do_sys_ioctl fs/ioctl.c:868 [inline]
__se_sys_ioctl fs/ioctl.c:856 [inline]
__x64_sys_ioctl+0x112/0x210 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f2672873b19
RSP: 002b:00007ffe11deffe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000020000080 RCX: 00007f2672873b19
RDX: 00000000200000c0 RSI: 00000000c020660b RDI: 0000000000000004
RBP: 00007f26728eb5f0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe11df0020
R13: 00007ffe11df0248 R14: 431bde82d7b634db R15: 00007f26728bc03b
INFO: lockdep is turned off.
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.5.0-rc3-next-20230728-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x2ac/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+0xfab/0x1230 kernel/hung_task.c:379
kthread+0x33a/0x430 kernel/kthread.c:389
ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 57 Comm: kworker/u4:4 Not tainted 6.5.0-rc3-next-20230728-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:memcpy_orig+0x11e/0x120 arch/x86/lib/memcpy_64.S:170
Code: 66 66 2e 0f 1f 84 00 00 00 00 00 90 83 ea 01 72 19 0f b6 0e 74 12 4c 0f b6 46 01 4c 0f b6 0c 16 44 88 47 01 44 88 0c 17 88 0f 90 f3 0f 1e fa 48 89 f8 48 39 fe 7d 0f 49 89 f0 49 01 d0 49 39
RSP: 0018:ffffc900015979b8 EFLAGS: 00000046
RAX: 00002aaaaaaab757 RBX: ffff888012867558 RCX: 000000000000000f
RDX: 0000000000000000 RSI: ffffc90001597b18 RDI: 00002aaaaaaab757
RBP: ffffffff81db8757 R08: 0000000000000000 R09: ffffed100250d0f0
R10: ffff888012868783 R11: 0000000000000000 R12: ffffffff8eac97d4
R13: 0000000000000757 R14: 0000000000000758 R15: ffffffff8cb157c0
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000564eb4987068 CR3: 0000000012863000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__text_poke+0x303/0x8f0 arch/x86/kernel/alternative.c:1839
text_poke arch/x86/kernel/alternative.c:1900 [inline]
text_poke_bp_batch+0x507/0x780 arch/x86/kernel/alternative.c:2289
text_poke_flush arch/x86/kernel/alternative.c:2402 [inline]
text_poke_flush arch/x86/kernel/alternative.c:2399 [inline]
text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2409
arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146
jump_label_update+0x32e/0x410 kernel/jump_label.c:829
static_key_disable_cpuslocked+0x154/0x1b0 kernel/jump_label.c:235
static_key_disable+0x1a/0x20 kernel/jump_label.c:243
toggle_allocation_gate mm/kfence/core.c:834 [inline]
toggle_allocation_gate+0x13f/0x250 mm/kfence/core.c:821
process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2603
worker_thread+0x687/0x1110 kernel/workqueue.c:2754
kthread+0x33a/0x430 kernel/kthread.c:389
ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.271 msecs