INFO: task kcompactd0:32 blocked for more than 143 seconds.
Not tainted 6.7.0-rc2-syzkaller-00242-g090472ed9c92 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kcompactd0 state:D stack:23416 pid:32 tgid:32 ppid:2 flags:0x00004000
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
migrate_folio_unmap mm/migrate.c:1163 [inline]
migrate_pages_batch+0xcd2/0x3610 mm/migrate.c:1673
migrate_pages_sync mm/migrate.c:1866 [inline]
migrate_pages+0x2513/0x3310 mm/migrate.c:1948
compact_zone+0x312a/0x47f0 mm/compaction.c:2532
proactive_compact_node mm/compaction.c:2797 [inline]
kcompactd+0x104d/0x1b80 mm/compaction.c:3113
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:12985 blocked for more than 143 seconds.
Not tainted 6.7.0-rc2-syzkaller-00242-g090472ed9c92 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:23568 pid:12985 tgid:12984 ppid:5111 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
wait_extent_bit fs/btrfs/extent-io-tree.c:799 [inline]
lock_extent+0x69d/0x850 fs/btrfs/extent-io-tree.c:1843
btrfs_page_mkwrite+0x5bd/0xd10 fs/btrfs/inode.c:8158
do_page_mkwrite+0x197/0x470 mm/memory.c:2943
wp_page_shared mm/memory.c:3338 [inline]
do_wp_page+0x1d07/0x4d40 mm/memory.c:3478
handle_pte_fault mm/memory.c:5054 [inline]
__handle_mm_fault mm/memory.c:5179 [inline]
handle_mm_fault+0x1b1c/0x6680 mm/memory.c:5344
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:ffffc90009f67330 EFLAGS: 00050206
RAX: 0000000000000000 RBX: 0000000020000258 RCX: 0000000000000038
RDX: 0000000000000000 RSI: ffffc90009f673e0 RDI: 0000000020000220
RBP: ffffc90009f67498 R08: ffffc90009f67417 R09: 1ffff920013ece82
R10: dffffc0000000000 R11: fffff520013ece83 R12: 0000000000000038
R13: ffffc90009f673e0 R14: 0000000020000220 R15: ffffc90009f673e0
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:2471
fiemap_process_hole+0xa29/0xaf0 fs/btrfs/extent_io.c:2729
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:51 [inline]
do_syscall_64+0x45/0x110 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f4fae27cae9
RSP: 002b:00007f4faef6e0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f4fae39bf80 RCX: 00007f4fae27cae9
RDX: 0000000020000200 RSI: 00000000c020660b RDI: 0000000000000004
RBP: 00007f4fae2c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f4fae39bf80 R15: 00007ffeeb2f4158
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#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:6613
2 locks held by getty/4811:
#0: ffff88802a1a20a0 (&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
4 locks held by syz-executor.4/12985:
#0: ffff88803b086ba0 (&sb->s_type->i_mutex_key#22){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline]
#0: ffff88803b086ba0 (&sb->s_type->i_mutex_key#22){++++}-{3:3}, at: btrfs_inode_lock+0x60/0xd0 fs/btrfs/inode.c:370
#1: ffff88806ad7ea20 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:165 [inline]
#1: ffff88806ad7ea20 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:5371 [inline]
#1: ffff88806ad7ea20 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x32/0x2d0 mm/memory.c:5431
#2: ffff888021106510 (sb_pagefaults#2){.+.+}-{0:0}, at: do_page_mkwrite+0x197/0x470 mm/memory.c:2943
#3: ffff88803b086a28 (&ei->i_mmap_lock){++++}-{3:3}, at: btrfs_page_mkwrite+0x49c/0xd10 fs/btrfs/inode.c:8147
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc2-syzkaller-00242-g090472ed9c92 #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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 7644 Comm: kworker/u4:8 Not tainted 6.7.0-rc2-syzkaller-00242-g090472ed9c92 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
Workqueue: events_unbound cfg80211_wiphy_work
RIP: 0010:ieee80211_sta_merge_ibss net/mac80211/ibss.c:1274 [inline]
RIP: 0010:ieee80211_ibss_work+0x8df/0x14b0 net/mac80211/ibss.c:1669
Code: 2a 5c f7 48 8b 1d b1 9b d2 02 4d 8d b5 b8 0c 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 b4 2a 5c f7 49 2b 1e <48> 8d b3 48 f4 ff ff 31 ff e8 43 27 00 f7 48 81 c3 48 f4 ff ff 78
RSP: 0018:ffffc90016e3fa00 EFLAGS: 00000202
RAX: 1ffff11005367327 RBX: 000000000004a7a1 RCX: ffff8880356c9dc0
RDX: 0000000000000000 RSI: 00000000000003e8 RDI: 0000000000000000
RBP: ffffc90016e3fba0 R08: ffffffff8a8e5516 R09: 1ffffffff21ba879
R10: dffffc0000000000 R11: fffffbfff21ba87a R12: ffff888039b61718
R13: ffff888029b38c80 R14: ffff888029b39938 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000564a5f267440 CR3: 000000000d730000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
cfg80211_wiphy_work+0x21e/0x250 net/wireless/core.c:435
process_one_work kernel/workqueue.c:2630 [inline]
process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2703
worker_thread+0xa5f/0x1000 kernel/workqueue.c:2784
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