INFO: task syz.4.180:5915 blocked for more than 144 seconds. Not tainted 6.12.0-rc3-next-20241016-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.180 state:D stack:24672 pid:5915 tgid:5914 ppid:5240 flags:0x00024000 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x18af/0x4bd0 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_timeout+0xb0/0x290 kernel/time/sleep_timeout.c:75 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x355/0x620 kernel/sched/completion.c:148 io_wq_exit_workers io_uring/io-wq.c:1249 [inline] io_wq_put_and_exit+0x344/0x720 io_uring/io-wq.c:1277 io_uring_clean_tctx+0x168/0x1e0 io_uring/tctx.c:193 io_uring_cancel_generic+0x76a/0x820 io_uring/io_uring.c:3222 io_uring_files_cancel include/linux/io_uring.h:20 [inline] do_exit+0x6a8/0x28e0 kernel/exit.c:894 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 get_signal+0x16a3/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fce8b77dff9 RSP: 002b:00007fce8c5a70e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fce8b935f88 RCX: 00007fce8b77dff9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fce8b935f88 RBP: 00007fce8b935f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fce8b935f8c R13: 0000000000000000 R14: 00007ffd9d9da0b0 R15: 00007ffd9d9da198 Showing all locks held in the system: 2 locks held by kworker/0:0/8: 1 lock held by khungtaskd/30: #0: ffffffff8e939e20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e939e20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e939e20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720 2 locks held by getty/4992: #0: ffff88802e40f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 1 lock held by iou-wrk-5915/5916: 1 lock held by iou-wrk-5915/5920: #0: ffff88801d68e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_submit_lock io_uring/io_uring.h:249 [inline] #0: ffff88801d68e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_provide_buffers+0xd0b/0x1010 io_uring/kbuf.c:580 1 lock held by iou-wrk-5915/5921: #0: ffff88801d68e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_submit_lock io_uring/io_uring.h:249 [inline] #0: ffff88801d68e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_provide_buffers+0xd0b/0x1010 io_uring/kbuf.c:580 1 lock held by iou-wrk-5915/5922: #0: ffff88801d68e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_submit_lock io_uring/io_uring.h:249 [inline] #0: ffff88801d68e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_provide_buffers+0xd0b/0x1010 io_uring/kbuf.c:580 1 lock held by iou-wrk-5915/5924: #0: ffff88801d68e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_submit_lock io_uring/io_uring.h:249 [inline] #0: ffff88801d68e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_provide_buffers+0xd0b/0x1010 io_uring/kbuf.c:580 1 lock held by iou-wrk-5915/5925: #0: ffff88801d68e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_submit_lock io_uring/io_uring.h:249 [inline] #0: ffff88801d68e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_provide_buffers+0xd0b/0x1010 io_uring/kbuf.c:580 1 lock held by iou-wrk-5915/5926: #0: ffff88801d68e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_submit_lock io_uring/io_uring.h:249 [inline] #0: ffff88801d68e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_provide_buffers+0xd0b/0x1010 io_uring/kbuf.c:580 1 lock held by iou-wrk-5915/5928: #0: ffff88801d68e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_submit_lock io_uring/io_uring.h:249 [inline] #0: ffff88801d68e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_provide_buffers+0xd0b/0x1010 io_uring/kbuf.c:580 2 locks held by syz-executor/5952: 1 lock held by syz-executor/6051: #0: ffffffff8e93f3b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: ffffffff8e93f3b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 2 locks held by kworker/u8:13/6910: 1 lock held by udevd/7285: 3 locks held by syz.0.603/7958: #0: ffff8880397d60e0 (&type->s_umount_key#54/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:344 #1: ffff88804971aac8 (&nm_i->build_lock){+.+.}-{3:3}, at: f2fs_build_free_nids+0xcc/0x11f0 fs/f2fs/node.c:2566 #2: ffff88804971a930 (&nm_i->nat_tree_lock){++++}-{3:3}, at: f2fs_down_read fs/f2fs/f2fs.h:2183 [inline] #2: ffff88804971a930 (&nm_i->nat_tree_lock){++++}-{3:3}, at: __f2fs_build_free_nids fs/f2fs/node.c:2512 [inline] #2: ffff88804971a930 (&nm_i->nat_tree_lock){++++}-{3:3}, at: f2fs_build_free_nids+0x72e/0x11f0 fs/f2fs/node.c:2567 2 locks held by syz.2.606/7968: #0: ffff888037a500e0 (&type->s_umount_key#66/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:344 #1: ffffffff8e7e4268 (wq_pool_mutex){+.+.}-{3:3}, at: apply_wqattrs_lock kernel/workqueue.c:5152 [inline] #1: ffffffff8e7e4268 (wq_pool_mutex){+.+.}-{3:3}, at: __alloc_workqueue+0xa55/0x1f20 kernel/workqueue.c:5706 2 locks held by syz.3.608/7976: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc3-next-20241016-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xff4/0x1040 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 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 UID: 0 PID: 4653 Comm: jbd2/sda1-8 Not tainted 6.12.0-rc3-next-20241016-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:find_stack lib/stackdepot.c:552 [inline] RIP: 0010:stack_depot_save_flags+0x160/0x830 lib/stackdepot.c:618 Code: de c1 c3 18 41 29 de 48 8b 05 3c 20 7a 15 8b 0d 2e 20 7a 15 44 21 f1 48 c1 e1 04 48 8d 14 08 65 ff 05 3c 4f 0c 7b 4c 8b 3c 08 <49> 39 d7 8b 6c 24 04 0f 84 96 00 00 00 45 89 cd eb 34 90 0f 0b 90 RSP: 0018:ffffc9000d8df2f0 EFLAGS: 00000282 RAX: ffff88823ae00000 RBX: 00000000da46176f RCX: 0000000000b999c0 RDX: ffff88823b9999c0 RSI: 0000000000000001 RDI: 000000002f42fadd RBP: 0000000037fa46bd R08: ffffc9000d8df350 R09: 000000000000000b R10: ffffc9000d8df210 R11: ffffffff81809390 R12: 00000000000000c8 R13: ffffffff81ce75a7 R14: 00000000d32b999c R15: ffff888029010a20 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055557b40c808 CR3: 000000000e736000 CR4: 00000000003526f0 DR0: 0000000000001000 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/0x80 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:319 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:345 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4094 [inline] slab_alloc_node mm/slub.c:4143 [inline] kmem_cache_alloc_noprof+0x1d9/0x380 mm/slub.c:4150 mempool_alloc_noprof+0x197/0x5a0 mm/mempool.c:402 bio_alloc_bioset+0x26f/0x1130 block/bio.c:554 bio_alloc include/linux/bio.h:374 [inline] submit_bh_wbc+0x277/0x560 fs/buffer.c:2800 jbd2_journal_commit_transaction+0x2896/0x67e0 fs/jbd2/commit.c:730 kjournald2+0x41c/0x7b0 fs/jbd2/journal.c:201 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244