INFO: task kworker/1:0:23 blocked for more than 143 seconds.
Not tainted 6.9.0-rc6-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:0 state:D stack:13944 pid:23 tgid:23 ppid:2 flags:0x00004000
Workqueue: events p9_write_work
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0x615/0x9a0 kernel/sched/core.c:6746
__schedule_loop kernel/sched/core.c:6823 [inline]
schedule+0xac/0x140 kernel/sched/core.c:6838
schedule_preempt_disabled+0x32/0x60 kernel/sched/core.c:6895
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x44a/0x970 kernel/locking/mutex.c:752
pipe_write+0x4e/0x6d0 fs/pipe.c:455
__kernel_write_iter+0x136/0x210 fs/read_write.c:523
__kernel_write fs/read_write.c:543 [inline]
kernel_write+0x18d/0x2b0 fs/read_write.c:564
p9_fd_write net/9p/trans_fd.c:432 [inline]
p9_write_work+0x15e/0x310 net/9p/trans_fd.c:483
process_one_work kernel/workqueue.c:3254 [inline]
process_scheduled_works+0x2ca/0x610 kernel/workqueue.c:3335
worker_thread+0x23e/0x300 kernel/workqueue.c:3416
kthread+0xea/0x100 kernel/kthread.c:388
ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Showing all locks held in the system:
3 locks held by kworker/0:1/9:
#0: ffff888100078548 ((wq_completion)events){....}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline]
#0: ffff888100078548 ((wq_completion)events){....}-{0:0}, at: process_scheduled_works+0x265/0x610 kernel/workqueue.c:3335
#1: ffffc90000053e58 ((work_completion)(&m->wq)){....}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline]
#1: ffffc90000053e58 ((work_completion)(&m->wq)){....}-{0:0}, at: process_scheduled_works+0x285/0x610 kernel/workqueue.c:3335
#2: ffff88810c399e68 (&pipe->mutex){....}-{3:3}, at: pipe_write+0x4e/0x6d0 fs/pipe.c:455
3 locks held by kworker/1:0/23:
#0: ffff888100078548 ((wq_completion)events){....}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline]
#0: ffff888100078548 ((wq_completion)events){....}-{0:0}, at: process_scheduled_works+0x265/0x610 kernel/workqueue.c:3335
#1: ffffc900000cbe58 ((work_completion)(&m->wq)){....}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline]
#1: ffffc900000cbe58 ((work_completion)(&m->wq)){....}-{0:0}, at: process_scheduled_works+0x285/0x610 kernel/workqueue.c:3335
#2: ffff888101bdfa68 (&pipe->mutex){....}-{3:3}, at: pipe_write+0x4e/0x6d0 fs/pipe.c:455
1 lock held by khungtaskd/28:
#0: ffffffff835d9690 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
#0: ffffffff835d9690 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline]
#0: ffffffff835d9690 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x30/0x100 kernel/locking/lockdep.c:6614
3 locks held by kworker/1:2/207:
#0: ffff888100078548 ((wq_completion)events){....}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline]
#0: ffff888100078548 ((wq_completion)events){....}-{0:0}, at: process_scheduled_works+0x265/0x610 kernel/workqueue.c:3335
#1: ffffc90000e33e58 ((work_completion)(&m->wq)){....}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline]
#1: ffffc90000e33e58 ((work_completion)(&m->wq)){....}-{0:0}, at: process_scheduled_works+0x285/0x610 kernel/workqueue.c:3335
#2: ffff888105b31e68 (&pipe->mutex){....}-{3:3}, at: pipe_write+0x4e/0x6d0 fs/pipe.c:455
3 locks held by kworker/0:2/1457:
#0: ffff888100078548 ((wq_completion)events){....}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline]
#0: ffff888100078548 ((wq_completion)events){....}-{0:0}, at: process_scheduled_works+0x265/0x610 kernel/workqueue.c:3335
#1: ffffc900034abe58 ((work_completion)(&m->wq)){....}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline]
#1: ffffc900034abe58 ((work_completion)(&m->wq)){....}-{0:0}, at: process_scheduled_works+0x285/0x610 kernel/workqueue.c:3335
#2: ffff888106be1068 (&pipe->mutex){....}-{3:3}, at: pipe_write+0x4e/0x6d0 fs/pipe.c:455
2 locks held by getty/1608:
#0: ffff888102be48a0 (&tty->ldisc_sem){....}-{0:0}, at: tty_ldisc_ref_wait+0x20/0x40 drivers/tty/tty_ldisc.c:243
#1: ffffc900034af2f0 (&ldata->atomic_read_lock){....}-{3:3}, at: n_tty_read+0x1be/0x700 drivers/tty/n_tty.c:2201
2 locks held by syz.3.16/3503:
#0: ffff888101bdfa68 (&pipe->mutex){....}-{3:3}, at: pipe_write+0x4e/0x6d0 fs/pipe.c:455
#1: ffff888112a702f0 (mapping.invalidate_lock#3){....}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:850 [inline]
#1: ffff888112a702f0 (mapping.invalidate_lock#3){....}-{3:3}, at: page_cache_ra_unbounded+0x5e/0x240 mm/readahead.c:225
2 locks held by syz.4.17/3922:
#0: ffff888105b31e68 (&pipe->mutex){....}-{3:3}, at: pipe_write+0x4e/0x6d0 fs/pipe.c:455
#1: ffff888112a482f0 (mapping.invalidate_lock#3){....}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:850 [inline]
#1: ffff888112a482f0 (mapping.invalidate_lock#3){....}-{3:3}, at: page_cache_ra_unbounded+0x5e/0x240 mm/readahead.c:225
3 locks held by kworker/1:3/3924:
#0: ffff888100078548 ((wq_completion)events){....}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline]
#0: ffff888100078548 ((wq_completion)events){....}-{0:0}, at: process_scheduled_works+0x265/0x610 kernel/workqueue.c:3335
#1: ffffc900028a3e58 ((work_completion)(&m->wq)){....}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline]
#1: ffffc900028a3e58 ((work_completion)(&m->wq)){....}-{0:0}, at: process_scheduled_works+0x285/0x610 kernel/workqueue.c:3335
#2: ffff88810c73e668 (&pipe->mutex){....}-{3:3}, at: pipe_write+0x4e/0x6d0 fs/pipe.c:455
2 locks held by syz.5.18/4343:
#0: ffff88810c399e68 (&pipe->mutex){....}-{3:3}, at: pipe_write+0x4e/0x6d0 fs/pipe.c:455
#1: ffff888112a48848 (mapping.invalidate_lock#3){....}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:850 [inline]
#1: ffff888112a48848 (mapping.invalidate_lock#3){....}-{3:3}, at: page_cache_ra_unbounded+0x5e/0x240 mm/readahead.c:225
2 locks held by syz.6.19/4763:
#0: ffff888106be1068 (&pipe->mutex){....}-{3:3}, at: pipe_write+0x4e/0x6d0 fs/pipe.c:455
#1: ffff888112a70848 (mapping.invalidate_lock#3){....}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:850 [inline]
#1: ffff888112a70848 (mapping.invalidate_lock#3){....}-{3:3}, at: page_cache_ra_unbounded+0x5e/0x240 mm/readahead.c:225
3 locks held by kworker/0:3/4764:
#0: ffff888100078548 ((wq_completion)events){....}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline]
#0: ffff888100078548 ((wq_completion)events){....}-{0:0}, at: process_scheduled_works+0x265/0x610 kernel/workqueue.c:3335
#1: ffffc900033f3e58 ((work_completion)(&m->wq)){....}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline]
#1: ffffc900033f3e58 ((work_completion)(&m->wq)){....}-{0:0}, at: process_scheduled_works+0x285/0x610 kernel/workqueue.c:3335
#2: ffff888111698068 (&pipe->mutex){....}-{3:3}, at: pipe_write+0x4e/0x6d0 fs/pipe.c:455
3 locks held by kworker/0:4/4765:
#0: ffff888100078548 ((wq_completion)events){....}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline]
#0: ffff888100078548 ((wq_completion)events){....}-{0:0}, at: process_scheduled_works+0x265/0x610 kernel/workqueue.c:3335
#1: ffffc900034c7e58 ((work_completion)(&m->wq)){....}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline]
#1: ffffc900034c7e58 ((work_completion)(&m->wq)){....}-{0:0}, at: process_scheduled_works+0x285/0x610 kernel/workqueue.c:3335
#2: ffff888111699068 (&pipe->mutex){....}-{3:3}, at: pipe_write+0x4e/0x6d0 fs/pipe.c:455
2 locks held by syz.7.20/5184:
#0: ffff88810c73e668 (&pipe->mutex){....}-{3:3}, at: pipe_write+0x4e/0x6d0 fs/pipe.c:455
#1: ffff888112a48da0 (mapping.invalidate_lock#3){....}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:850 [inline]
#1: ffff888112a48da0 (mapping.invalidate_lock#3){....}-{3:3}, at: page_cache_ra_unbounded+0x5e/0x240 mm/readahead.c:225
3 locks held by kworker/1:4/5186:
#0: ffff888100078548 ((wq_completion)events){....}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline]
#0: ffff888100078548 ((wq_completion)events){....}-{0:0}, at: process_scheduled_works+0x265/0x610 kernel/workqueue.c:3335
#1: ffffc90003ac7e58 ((work_completion)(&m->wq)){....}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline]
#1: ffffc90003ac7e58 ((work_completion)(&m->wq)){....}-{0:0}, at: process_scheduled_works+0x285/0x610 kernel/workqueue.c:3335
#2: ffff88810d79ac68 (&pipe->mutex){....}-{3:3}, at: pipe_write+0x4e/0x6d0 fs/pipe.c:455
2 locks held by syz.8.21/5605:
#0: ffff88810d79ac68 (&pipe->mutex){....}-{3:3}, at: pipe_write+0x4e/0x6d0 fs/pipe.c:455
#1: ffff888112a492f8 (mapping.invalidate_lock#3){....}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:850 [inline]
#1: ffff888112a492f8 (mapping.invalidate_lock#3){....}-{3:3}, at: page_cache_ra_unbounded+0x5e/0x240 mm/readahead.c:225
3 locks held by kworker/1:5/5607:
#0: ffff888100078548 ((wq_completion)events){....}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline]
#0: ffff888100078548 ((wq_completion)events){....}-{0:0}, at: process_scheduled_works+0x265/0x610 kernel/workqueue.c:3335
#1: ffffc900041f7e58 ((work_completion)(&m->wq)){....}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline]
#1: ffffc900041f7e58 ((work_completion)(&m->wq)){....}-{0:0}, at: process_scheduled_works+0x285/0x610 kernel/workqueue.c:3335
#2: ffff88810ff00c68 (&pipe->mutex){....}-{3:3}, at: pipe_write+0x4e/0x6d0 fs/pipe.c:455
2 locks held by syz.9.22/6026:
#0: ffff888111698068 (&pipe->mutex){....}-{3:3}, at: pipe_write+0x4e/0x6d0 fs/pipe.c:455
#1: ffff888112a70da0 (mapping.invalidate_lock#3){....}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:850 [inline]
#1: ffff888112a70da0 (mapping.invalidate_lock#3){....}-{3:3}, at: page_cache_ra_unbounded+0x5e/0x240 mm/readahead.c:225
2 locks held by syz.0.23/6445:
#0: ffff88810ff00c68 (&pipe->mutex){....}-{3:3}, at: pipe_write+0x4e/0x6d0 fs/pipe.c:455
#1: ffff888112a712f8 (mapping.invalidate_lock#3){....}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:850 [inline]
#1: ffff888112a712f8 (mapping.invalidate_lock#3){....}-{3:3}, at: page_cache_ra_unbounded+0x5e/0x240 mm/readahead.c:225
3 locks held by kworker/1:6/6447:
#0: ffff888100078548 ((wq_completion)events){....}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline]
#0: ffff888100078548 ((wq_completion)events){....}-{0:0}, at: process_scheduled_works+0x265/0x610 kernel/workqueue.c:3335
#1: ffffc90004ea7e58 ((work_completion)(&m->wq)){....}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline]
#1: ffffc90004ea7e58 ((work_completion)(&m->wq)){....}-{0:0}, at: process_scheduled_works+0x285/0x610 kernel/workqueue.c:3335
#2: ffff88810ff0de68 (&pipe->mutex){....}-{3:3}, at: pipe_write+0x4e/0x6d0 fs/pipe.c:455
2 locks held by syz.1.24/6867:
#0: ffff88810ff0de68 (&pipe->mutex){....}-{3:3}, at: pipe_write+0x4e/0x6d0 fs/pipe.c:455
#1: ffff888112a49850 (mapping.invalidate_lock#3){....}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:850 [inline]
#1: ffff888112a49850 (mapping.invalidate_lock#3){....}-{3:3}, at: page_cache_ra_unbounded+0x5e/0x240 mm/readahead.c:225
2 locks held by syz.2.25/7287:
#0: ffff888111699068 (&pipe->mutex){....}-{3:3}, at: pipe_write+0x4e/0x6d0 fs/pipe.c:455
#1: ffff888112a49da8 (mapping.invalidate_lock#3){....}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:850 [inline]
#1: ffff888112a49da8 (mapping.invalidate_lock#3){....}-{3:3}, at: page_cache_ra_unbounded+0x5e/0x240 mm/readahead.c:225
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.9.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x3e/0xe0 lib/dump_stack.c:114
nmi_cpu_backtrace+0x146/0x160 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x8e/0x140 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0x5db/0x600 kernel/hung_task.c:380
kthread+0xea/0x100 kernel/kthread.c:388
ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 36 Comm: kworker/u8:2 Not tainted 6.9.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:trace_tlb_flush include/trace/events/tlb.h:38 [inline]
RIP: 0010:switch_mm_irqs_off+0x3f0/0x620 arch/x86/mm/tlb.c:642
Code: 1e fa 41 8d 4c 24 01 0f b7 c9 48 09 c8 f3 0f 1e fa 0f 22 d8 0f 1f 44 00 00 65 8b 05 46 eb fa 7e 89 c0 48 0f a3 05 58 b1 7e 02 <72> 55 eb 58 49 8b bd c0 00 00 00 48 8b 05 76 99 7e 02 e8 89 f8 ff
RSP: 0018:ffffc90000137c48 EFLAGS: 00000007
RAX: 0000000000000000 RBX: ffff888100070000 RCX: 00000000034a8000
RDX: 0000000000000000 RSI: ffff888100070000 RDI: ffffffff834a8000
RBP: ffffffff834a8000 R08: 00000000000002bf R09: 0000000000000000
R10: 0000000000000000 R11: ffffffff810416d0 R12: 0000000000000000
R13: ffffffff8360d700 R14: ffffffff8360d700 R15: 000000010006a000
FS: 0000000000000000(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f84a3615866 CR3: 00000000034a8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
unuse_temporary_mm arch/x86/kernel/alternative.c:1832 [inline]
__text_poke+0x2ed/0x440 arch/x86/kernel/alternative.c:1942
text_poke arch/x86/kernel/alternative.c:1985 [inline]
text_poke_bp_batch+0x1e9/0x310 arch/x86/kernel/alternative.c:2318
text_poke_flush arch/x86/kernel/alternative.c:2487 [inline]
text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2494
arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146
static_key_enable_cpuslocked kernel/jump_label.c:205 [inline]
static_key_enable+0x40/0x60 kernel/jump_label.c:218
toggle_allocation_gate+0x3a/0x130 mm/kfence/core.c:826
process_one_work kernel/workqueue.c:3254 [inline]
process_scheduled_works+0x2ca/0x610 kernel/workqueue.c:3335
worker_thread+0x23e/0x300 kernel/workqueue.c:3416
kthread+0xea/0x100 kernel/kthread.c:388
ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244