INFO: task syz-executor.0:5490 blocked for more than 143 seconds.
Not tainted 6.4.0-rc2-syzkaller-00358-g4927cb98f0ee #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:27000 pid:5490 ppid:5349 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0x18c5/0x4910 kernel/sched/core.c:6669
schedule+0xbf/0x180 kernel/sched/core.c:6745
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6804
__mutex_lock_common+0xe2b/0x2520 kernel/locking/mutex.c:679
__mutex_lock kernel/locking/mutex.c:747 [inline]
mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799
blkdev_put+0xfd/0x750 block/bdev.c:845
blkdev_close+0x56/0x80 block/fops.c:507
__fput+0x3b7/0x890 fs/file_table.c:321
task_work_run+0x246/0x300 kernel/task_work.c:179
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0xd9/0x100 kernel/entry/common.c:171
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204
__syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
syscall_exit_to_user_mode+0x60/0x260 kernel/entry/common.c:297
do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f68e648c169
RSP: 002b:00007f68e57fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 00007f68e65abf80 RCX: 00007f68e648c169
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003
RBP: 00007f68e64e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe95a8b77f R14: 00007f68e57fe300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8d1263f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8d1267b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518
1 lock held by khungtaskd/28:
#0: ffffffff8d126220 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/4749:
#0: ffff888028f23098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2176
1 lock held by udevd/5344:
#0: ffff88802005d4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x141/0xa20 block/bdev.c:747
1 lock held by syz-executor.0/5490:
#0: ffff88802005d4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfd/0x750 block/bdev.c:845
1 lock held by syz-executor.0/5728:
#0: ffff88802005d4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x141/0xa20 block/bdev.c:747
1 lock held by syz-executor.0/5745:
#0: ffff88802005d4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x141/0xa20 block/bdev.c:747
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc2-syzkaller-00358-g4927cb98f0ee #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x494/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x183/0x2d0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xeba/0xf00 kernel/hung_task.c:379
kthread+0x2b0/0x340 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline]
NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:86 [inline]
NMI backtrace for cpu 1 skipped: idling at acpi_safe_halt+0x1c/0x20 drivers/acpi/processor_idle.c:112