INFO: task syz-executor.2:28502 blocked for more than 143 seconds.
Not tainted 6.1.0-rc4-syzkaller-00362-gfef7fd48922d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:26248 pid:28502 ppid:3646 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5191 [inline]
__schedule+0xae9/0x53f0 kernel/sched/core.c:6503
schedule+0xda/0x1b0 kernel/sched/core.c:6579
io_schedule+0xba/0x130 kernel/sched/core.c:8723
folio_wait_bit_common+0x394/0x9b0 mm/filemap.c:1296
__folio_lock mm/filemap.c:1659 [inline]
folio_lock include/linux/pagemap.h:939 [inline]
folio_lock include/linux/pagemap.h:935 [inline]
__filemap_get_folio+0xb76/0xd90 mm/filemap.c:1931
truncate_inode_pages_range+0x382/0x1020 mm/truncate.c:378
kill_bdev block/bdev.c:76 [inline]
blkdev_flush_mapping+0x140/0x2f0 block/bdev.c:662
blkdev_put_whole+0xd1/0xf0 block/bdev.c:693
blkdev_put+0x226/0x770 block/bdev.c:953
blkdev_close+0x64/0x80 block/fops.c:499
__fput+0x27c/0xa90 fs/file_table.c:320
task_work_run+0x16b/0x270 kernel/task_work.c:179
get_signal+0x1c3/0x2430 kernel/signal.c:2635
arch_do_signal_or_restart+0x82/0x2300 arch/x86/kernel/signal.c:869
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:203
__syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:296
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fc7b028b639
RSP: 002b:00007fc7af5bd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: fffffffffffffffc RBX: 00007fc7b03ac1f0 RCX: 00007fc7b028b639
RDX: 0000000020000140 RSI: 0000000000000006 RDI: 000000000000000a
RBP: 00007fc7b02e67e1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000de1 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdb9f6c63f R14: 00007fc7af5bd300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8bf87e30 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8bf87b30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/27:
#0: ffffffff8bf88980 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6494
1 lock held by udevd/2971:
2 locks held by getty/3283:
#0: ffff88814a78a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef0/0x13e0 drivers/tty/n_tty.c:2177
1 lock held by syz-executor.2/28502:
#0: ffff88801e4cd4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xbc/0x770 block/bdev.c:911
1 lock held by syz-executor.2/28639:
#0: ffff88801e4cd4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb90 block/bdev.c:813
1 lock held by syz-executor.2/28640:
#0: ffff88801e4cd4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb90 block/bdev.c:813
1 lock held by syz-executor.2/28702:
#0: ffff88801e4cd4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb90 block/bdev.c:813
1 lock held by syz-executor.2/28703:
#0: ffff88801e4cd4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb90 block/bdev.c:813
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 6.1.0-rc4-syzkaller-00362-gfef7fd48922d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x32f/0x3c0 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+0xc71/0xfc0 kernel/hung_task.c:377
kthread+0x2e4/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 15 Comm: ksoftirqd/0 Not tainted 6.1.0-rc4-syzkaller-00362-gfef7fd48922d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:lock_release+0x3e/0x810 kernel/locking/lockdep.c:5676
Code: fc 55 53 48 81 ec 90 00 00 00 48 8d 6c 24 10 48 89 74 24 08 48 c7 44 24 10 b3 8a b5 41 48 c1 ed 03 48 c7 44 24 18 00 d1 79 8b <48> 01 e8 48 c7 44 24 20 b0 c0 5f 81 c7 00 f1 f1 f1 f1 c7 40 04 f1
RSP: 0018:ffffc90000147b68 EFLAGS: 00000016
RAX: dffffc0000000000 RBX: 0000000000000212 RCX: 0000000000000000
RDX: 0000000000000001 RSI: ffffffff84081120 RDI: ffffffff9149cfe8
RBP: 1ffff92000028f6f R08: ffffffff9149cfd0 R09: 0000000000000000
R10: fffff52000028f77 R11: 0000000000000001 R12: ffffffff9149cfe8
R13: ffffffff89ee1d40 R14: 1ffff92000028f8d R15: ffff88808d3a75b8
FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c022e0d380 CR3: 0000000027499000 CR4: 0000000000350ef0
Call Trace:
__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline]
_raw_spin_unlock_irqrestore+0x16/0x70 kernel/locking/spinlock.c:194
debug_object_active_state lib/debugobjects.c:942 [inline]
debug_object_active_state+0x260/0x350 lib/debugobjects.c:911
debug_rcu_head_unqueue kernel/rcu/rcu.h:198 [inline]
rcu_do_batch kernel/rcu/tree.c:2243 [inline]
rcu_core+0x7c8/0x1980 kernel/rcu/tree.c:2510
__do_softirq+0x1f7/0xad8 kernel/softirq.c:571
run_ksoftirqd kernel/softirq.c:934 [inline]
run_ksoftirqd+0x2d/0x60 kernel/softirq.c:926
smpboot_thread_fn+0x645/0xa00 kernel/smpboot.c:164
kthread+0x2e4/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306