INFO: task syz-executor992:5005 blocked for more than 143 seconds.
Not tainted 6.3.0-next-20230428-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor992 state:D stack:27408 pid:5005 ppid:5003 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0x1d15/0x5790 kernel/sched/core.c:6669
schedule+0xde/0x1a0 kernel/sched/core.c:6745
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
blkdev_put+0xba/0x780 block/bdev.c:845
blkdev_close+0x68/0x80 block/fops.c:507
__fput+0x27c/0xa90 fs/file_table.c:321
task_work_run+0x16f/0x270 kernel/task_work.c:179
ptrace_notify+0x118/0x140 kernel/signal.c:2369
ptrace_report_syscall include/linux/ptrace.h:411 [inline]
ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline]
syscall_exit_work kernel/entry/common.c:252 [inline]
syscall_exit_to_user_mode_prepare+0x129/0x220 kernel/entry/common.c:279
__syscall_exit_to_user_mode_work kernel/entry/common.c:284 [inline]
syscall_exit_to_user_mode+0xd/0x50 kernel/entry/common.c:297
do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f414dfd7bcb
RSP: 002b:00007ffc2776deb0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f414dfd7bcb
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006
RBP: 0000000000000007 R08: 0000000000000000 R09: 00007ffc277d9080
R10: 0000000000000000 R11: 0000000000000293 R12: 000000000000db50
R13: 00007f414e0a04dc R14: 00007ffc2776df10 R15: 00007f414e0a04c0
INFO: task syz-executor992:5008 blocked for more than 143 seconds.
Not tainted 6.3.0-next-20230428-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor992 state:D stack:28592 pid:5008 ppid:5003 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0x1d15/0x5790 kernel/sched/core.c:6669
schedule+0xde/0x1a0 kernel/sched/core.c:6745
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
blkdev_get_by_dev.part.0+0x95/0xb80 block/bdev.c:747
blkdev_get_by_dev+0x6f/0x90 block/bdev.c:790
disk_scan_partitions+0x1eb/0x310 block/genhd.c:379
blkdev_common_ioctl+0x5bb/0x1a40 block/ioctl.c:531
blkdev_ioctl+0x2c8/0x7f0 block/ioctl.c:609
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl fs/ioctl.c:856 [inline]
__x64_sys_ioctl+0x197/0x210 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f414e01b599
RSP: 002b:00007f414dfa7308 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f414e0a04d8 RCX: 00007f414e01b599
RDX: 0000000000000000 RSI: 000000000000125f RDI: 0000000000000003
RBP: 00007f414e0a04d0 R08: 00007f414dfa7700 R09: 0000000000000000
R10: 00007f414dfa7700 R11: 0000000000000246 R12: 00007f414e0a04dc
R13: 00007f414e06d1a4 R14: 64626e2f7665642f R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8c798df0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8c798af0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518
1 lock held by khungtaskd/28:
#0: ffffffff8c799a00 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6545
5 locks held by kworker/u4:6/3141:
#0: ffff8880b993c5d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:558
#1: ffff8880b9928848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2de/0x950 kernel/sched/psi.c:996
#2: ffff8880b9928848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_change+0x1bf/0x300 kernel/sched/psi.c:920
#3: ffffffff91ff5820 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x134/0x3f0 lib/debugobjects.c:690
#4: ffffffff8c65c708 (text_mutex){+.+.}-{3:3}, at: arch_jump_label_transform_apply+0x12/0x30 arch/x86/kernel/jump_label.c:145
2 locks held by getty/4754:
#0: ffff88802861b098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176
1 lock held by syz-executor992/5005:
#0: ffff888140f344c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xba/0x780 block/bdev.c:845
1 lock held by syz-executor992/5008:
#0: ffff888140f344c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x95/0xb80 block/bdev.c:747
1 lock held by udevd/5007:
#0: ffff888140f344c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x95/0xb80 block/bdev.c:747
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-next-20230428-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x2a4/0x300 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+0xe16/0x1090 kernel/hung_task.c:379
kthread+0x344/0x440 kernel/kthread.c:379
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: 0 Comm: swapper/0 Not tainted 6.3.0-next-20230428-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
RIP: 0010:hrtimer_reprogram+0x0/0x440 kernel/time/hrtimer.c:809
Code: 65 48 8b 2c 25 c0 bb 03 00 80 3c 02 00 75 10 48 89 6b 40 5b 5d 41 5c c3 e8 fd 86 63 00 eb c4 e8 f6 86 63 00 eb e9 0f 1f 40 00 <41> 57 41 56 49 c7 c6 40 b8 02 00 41 55 41 54 55 53 48 89 fb 48 83
RSP: 0018:ffffffff8c407d18 EFLAGS: 00000093
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffffffff8c495780 RSI: 0000000000000001 RDI: ffff8880b982c170
RBP: ffff8880b982b840 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880b982b8c0 R14: ffff8880b982c170 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9866134580 CR3: 0000000029213000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
hrtimer_start_range_ns+0x7e6/0xbd0 kernel/time/hrtimer.c:1299
hrtimer_start_expires include/linux/hrtimer.h:432 [inline]
tick_nohz_restart+0x191/0x200 kernel/time/tick-sched.c:772
tick_nohz_restart_sched_tick kernel/time/tick-sched.c:981 [inline]
tick_nohz_idle_update_tick kernel/time/tick-sched.c:1316 [inline]
tick_nohz_idle_exit+0x267/0x310 kernel/time/tick-sched.c:1350
do_idle+0x25b/0x3c0 kernel/sched/idle.c:295
cpu_startup_entry+0x18/0x20 kernel/sched/idle.c:379
rest_init+0x16f/0x2b0 init/main.c:735
arch_call_rest_init+0x13/0x30 init/main.c:834
start_kernel+0x3b6/0x490 init/main.c:1088
x86_64_start_reservations+0x18/0x30 arch/x86/kernel/head64.c:556
x86_64_start_kernel+0xb3/0xc0 arch/x86/kernel/head64.c:537
secondary_startup_64_no_verify+0xf4/0xfb