INFO: task syz.4.1758:12842 blocked for more than 143 seconds. Not tainted 6.13.0-rc1-syzkaller-00337-g7503345ac5f5 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.1758 state:D stack:23712 pid:12842 tgid:12841 ppid:9386 flags:0x20024002 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 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:205 io_uring_cancel_generic+0x7fb/0x8b0 io_uring/io_uring.c:3203 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+0x16b2/0x1750 kernel/signal.c:3017 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:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xce/0x340 kernel/entry/common.c:218 __do_fast_syscall_32+0xc4/0x110 arch/x86/entry/common.c:389 do_fast_syscall_32+0x34/0x80 arch/x86/entry/common.c:411 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7f22579 RSP: 002b:00000000f50a657c EFLAGS: 00000206 ORIG_RAX: 000000000000016a RAX: fffffffffffffe00 RBX: 000000000000000c RCX: 0000000020000100 RDX: 000000000000001c RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937aa0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937aa0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937aa0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 2 locks held by kworker/u8:3/52: 1 lock held by udevd/5205: 2 locks held by getty/5581: #0: ffff88814d5020a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 3 locks held by kworker/0:9/7698: 3 locks held by kworker/1:8/11120: 1 lock held by iou-wrk-12842/12848: #0: ffff88805bc2a0a8 (&ctx->uring_lock){+.+.}-{4:4}, at: io_ring_submit_lock io_uring/io_uring.h:254 [inline] #0: ffff88805bc2a0a8 (&ctx->uring_lock){+.+.}-{4:4}, at: io_provide_buffers+0xd0b/0x1010 io_uring/kbuf.c:580 1 lock held by iou-wrk-12842/12854: #0: ffff88805bc2a0a8 (&ctx->uring_lock){+.+.}-{4:4}, at: io_ring_submit_lock io_uring/io_uring.h:254 [inline] #0: ffff88805bc2a0a8 (&ctx->uring_lock){+.+.}-{4:4}, at: io_provide_buffers+0xd0b/0x1010 io_uring/kbuf.c:580 1 lock held by iou-wrk-12842/12855: 1 lock held by iou-wrk-12842/12856: #0: ffff88805bc2a0a8 (&ctx->uring_lock){+.+.}-{4:4}, at: io_ring_submit_lock io_uring/io_uring.h:254 [inline] #0: ffff88805bc2a0a8 (&ctx->uring_lock){+.+.}-{4:4}, at: io_provide_buffers+0xd0b/0x1010 io_uring/kbuf.c:580 1 lock held by iou-wrk-12842/12859: #0: ffff88805bc2a0a8 (&ctx->uring_lock){+.+.}-{4:4}, at: io_ring_submit_lock io_uring/io_uring.h:254 [inline] #0: ffff88805bc2a0a8 (&ctx->uring_lock){+.+.}-{4:4}, at: io_provide_buffers+0xd0b/0x1010 io_uring/kbuf.c:580 1 lock held by iou-wrk-12842/12860: #0: ffff88805bc2a0a8 (&ctx->uring_lock){+.+.}-{4:4}, at: io_ring_submit_lock io_uring/io_uring.h:254 [inline] #0: ffff88805bc2a0a8 (&ctx->uring_lock){+.+.}-{4:4}, at: io_provide_buffers+0xd0b/0x1010 io_uring/kbuf.c:580 1 lock held by iou-wrk-12842/12861: #0: ffff88805bc2a0a8 (&ctx->uring_lock){+.+.}-{4:4}, at: io_ring_submit_lock io_uring/io_uring.h:254 [inline] #0: ffff88805bc2a0a8 (&ctx->uring_lock){+.+.}-{4:4}, at: io_provide_buffers+0xd0b/0x1010 io_uring/kbuf.c:580 1 lock held by iou-wrk-12842/12862: #0: ffff88805bc2a0a8 (&ctx->uring_lock){+.+.}-{4:4}, at: io_ring_submit_lock io_uring/io_uring.h:254 [inline] #0: ffff88805bc2a0a8 (&ctx->uring_lock){+.+.}-{4:4}, at: io_provide_buffers+0xd0b/0x1010 io_uring/kbuf.c:580 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc1-syzkaller-00337-g7503345ac5f5 #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:234 [inline] watchdog+0xff6/0x1040 kernel/hung_task.c:397 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5194 Comm: klogd Not tainted 6.13.0-rc1-syzkaller-00337-g7503345ac5f5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3797 [inline] RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3817 [inline] RIP: 0010:validate_chain+0x1b9/0x5920 kernel/locking/lockdep.c:3872 Code: b8 eb 83 b5 80 46 86 c8 61 49 0f af c6 48 c1 e8 2d 48 8d 1c c5 c0 a7 e2 93 48 89 d8 48 c1 e8 03 48 89 44 24 68 42 80 3c 20 00 <74> 08 48 89 df e8 5d f9 8e 00 48 89 5c 24 48 48 8b 1b 48 85 db 74 RSP: 0018:ffffc90003577280 EFLAGS: 00000046 RAX: 1ffffffff27cd410 RBX: ffffffff93e6a080 RCX: ffffffff817b651e RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff942ba890 RBP: ffffc90003577580 R08: ffffffff942ba897 R09: 1ffffffff2857512 R10: dffffc0000000000 R11: fffffbfff2857513 R12: dffffc0000000000 R13: ffff88807d408b50 R14: 7bc41c5788606222 R15: 0000000000000000 FS: 00007fdd4d17d380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c7a150f950 CR3: 00000000344da000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x1397/0x2100 kernel/locking/lockdep.c:5226 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:551 [inline] try_to_wake_up+0xc2/0x1470 kernel/sched/core.c:4205 autoremove_wake_function+0x16/0x110 kernel/sched/wait.c:384 __wake_up_common kernel/sched/wait.c:89 [inline] __wake_up_common_lock+0x130/0x1e0 kernel/sched/wait.c:106 sock_def_readable+0x20f/0x5a0 net/core/sock.c:3453 unix_dgram_sendmsg+0x1493/0x1f80 net/unix/af_unix.c:2167 sock_sendmsg_nosec net/socket.c:711 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:726 __sys_sendto+0x363/0x4c0 net/socket.c:2197 __do_sys_sendto net/socket.c:2204 [inline] __se_sys_sendto net/socket.c:2200 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2200 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdd4d2df9b5 Code: 8b 44 24 08 48 83 c4 28 48 98 c3 48 98 c3 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 26 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 7a 48 8b 15 44 c4 0c 00 f7 d8 64 89 02 48 83 RSP: 002b:00007fffba6778e8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fdd4d2df9b5 RDX: 000000000000008b RSI: 000055bcd2b8b260 RDI: 0000000000000003 RBP: 000055bcd2b84910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000013 R13: 00007fdd4d46d212 R14: 00007fffba6779e8 R15: 0000000000000000