INFO: task syz-executor310:5068 blocked for more than 143 seconds.
Not tainted 6.2.0-rc5-syzkaller-00047-g7c46948a6e9c #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor310 state:D stack:25992 pid:5068 ppid:5066 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5293 [inline]
__schedule+0x9d1/0xe40 kernel/sched/core.c:6606
schedule+0xcb/0x190 kernel/sched/core.c:6682
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6741
__mutex_lock_common+0xecf/0x26c0 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+0x100/0x730 block/bdev.c:911
blkdev_close+0x55/0x80 block/fops.c:492
__fput+0x3ba/0x880 fs/file_table.c:320
task_work_run+0x243/0x300 kernel/task_work.c:179
ptrace_notify+0x29a/0x340 kernel/signal.c:2354
ptrace_report_syscall include/linux/ptrace.h:411 [inline]
ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline]
syscall_exit_work+0x8c/0xe0 kernel/entry/common.c:251
syscall_exit_to_user_mode_prepare+0x6b/0xc0 kernel/entry/common.c:278
__syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
syscall_exit_to_user_mode+0xa/0x60 kernel/entry/common.c:296
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f67646b8bbb
RSP: 002b:00007ffed0f88720 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f67646b8bbb
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006
RBP: 0000000000000006 R08: 0000000000000000 R09: 0000000000000064
R10: 0000000000000000 R11: 0000000000000293 R12: 000000000000e3b7
R13: 00007f67647814dc R14: 00007ffed0f88780 R15: 00007f67647814c0
INFO: task syz-executor310:5069 blocked for more than 143 seconds.
Not tainted 6.2.0-rc5-syzkaller-00047-g7c46948a6e9c #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor310 state:D stack:25992 pid:5069 ppid:5066 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5293 [inline]
__schedule+0x9d1/0xe40 kernel/sched/core.c:6606
schedule+0xcb/0x190 kernel/sched/core.c:6682
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6741
__mutex_lock_common+0xecf/0x26c0 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+0x100/0x730 block/bdev.c:911
blkdev_close+0x55/0x80 block/fops.c:492
__fput+0x3ba/0x880 fs/file_table.c:320
task_work_run+0x243/0x300 kernel/task_work.c:179
ptrace_notify+0x29a/0x340 kernel/signal.c:2354
ptrace_report_syscall include/linux/ptrace.h:411 [inline]
ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline]
syscall_exit_work+0x8c/0xe0 kernel/entry/common.c:251
syscall_exit_to_user_mode_prepare+0x6b/0xc0 kernel/entry/common.c:278
__syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
syscall_exit_to_user_mode+0xa/0x60 kernel/entry/common.c:296
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f67646fc589
RSP: 002b:00007f67646a9308 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 00007f67647814c8 RCX: 00007f67646fc589
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000005
RBP: 00007f67647814c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f67647814cc
R13: 00007f676474e1a4 R14: 64626e2f7665642f R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d523a50 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8d524250 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/28:
#0: ffffffff8d523880 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/4738:
#0: ffff88802cb03098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2177
1 lock held by syz-executor310/5068:
#0: ffff88801eec94c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x100/0x730 block/bdev.c:911
1 lock held by syz-executor310/5069:
#0: ffff88801eec94c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x100/0x730 block/bdev.c:911
1 lock held by udevd/5070:
#0: ffff88801eec94c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfe/0xa60 block/bdev.c:813
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc5-syzkaller-00047-g7c46948a6e9c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x4e3/0x560 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x19b/0x3e0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
watchdog+0xcd5/0xd20 kernel/hung_task.c:377
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 9 Comm: kworker/u4:0 Not tainted 6.2.0-rc5-syzkaller-00047-g7c46948a6e9c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:__preempt_count_add arch/x86/include/asm/preempt.h:80 [inline]
RIP: 0010:rcu_read_lock_sched_notrace include/linux/rcupdate.h:864 [inline]
RIP: 0010:trace_lock_release+0x65/0x220 include/trace/events/lock.h:69
Code: 86 9e 00 00 00 89 ed 48 89 e8 48 c1 e8 06 48 8d 3c c5 a8 4c b0 8e be 08 00 00 00 e8 05 d1 77 00 48 0f a3 2d e5 6d 43 0d 73 3d <65> ff 05 7c b9 96 7e 48 c7 c0 88 bf 9c 8e 48 c1 e8 03 80 3c 18 00
RSP: 0018:ffffc900000e75f0 EFLAGS: 00000057
RAX: 0000000000000001 RBX: dffffc0000000000 RCX: ffffffff816cdebb
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8eb04ca8
RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1d60996
R10: fffffbfff1d60996 R11: 1ffffffff1d60995 R12: dffffc0000000000
R13: ffffffff81650960 R14: ffff88813fe6f058 R15: 1ffff9200001ced0
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff14a79c990 CR3: 000000000d28e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_release+0x81/0x870 kernel/locking/lockdep.c:5679
rcu_read_unlock include/linux/rcupdate.h:797 [inline]
newidle_balance+0xadd/0xff0 kernel/sched/fair.c:11604
pick_next_task_fair+0x2a4/0xdf0 kernel/sched/fair.c:7821
__pick_next_task kernel/sched/core.c:5916 [inline]
pick_next_task+0xf2/0x2040 kernel/sched/core.c:5991
__schedule+0x4ff/0xe40 kernel/sched/core.c:6570
schedule+0xcb/0x190 kernel/sched/core.c:6682
toggle_allocation_gate+0x16a/0x250 mm/kfence/core.c:801
process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308