INFO: task kworker/0:1:9 blocked for more than 143 seconds.
Not tainted 6.6.0-next-20231103-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:1 state:D stack:25856 pid:9 tgid:9 ppid:2 flags:0x00004000
Workqueue: events_long flush_old_commits
Call Trace:
context_switch kernel/sched/core.c:5376 [inline]
__schedule+0xee5/0x59b0 kernel/sched/core.c:6688
__schedule_loop kernel/sched/core.c:6763 [inline]
schedule+0xe5/0x270 kernel/sched/core.c:6778
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0x960/0x1330 kernel/locking/mutex.c:747
reiserfs_write_lock+0x78/0x100 fs/reiserfs/lock.c:27
reiserfs_sync_fs+0x95/0x140 fs/reiserfs/super.c:76
flush_old_commits+0xf5/0x1f0 fs/reiserfs/super.c:111
process_one_work+0x8a2/0x15e0 kernel/workqueue.c:2630
process_scheduled_works kernel/workqueue.c:2703 [inline]
worker_thread+0x8b6/0x1280 kernel/workqueue.c:2784
kthread+0x337/0x440 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
Showing all locks held in the system:
4 locks held by kworker/0:1/9:
#0: ffff888013071538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x78a/0x15e0 kernel/workqueue.c:2605
#1: ffffc900000e7d80 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7f4/0x15e0 kernel/workqueue.c:2606
#2: ffff88801970a0e0 (&type->s_umount_key#41){++++}-{3:3}, at: flush_old_commits+0x79/0x1f0 fs/reiserfs/super.c:97
#3: ffff888143f88090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x78/0x100 fs/reiserfs/lock.c:27
1 lock held by khungtaskd/29:
#0: ffffffff8cfae060
(
rcu_read_lock){....}-{1:2}
, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline]
, at: rcu_read_lock include/linux/rcupdate.h:747 [inline]
, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613
2 locks held by getty/4828:
#0: ffff8880263a70a0 (&tty->ldisc_sem
){++++}-{0:0}
, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900031332f0
(
&ldata->atomic_read_lock
){+.+.}-{3:3}
, at: n_tty_read+0xfc4/0x1490 drivers/tty/n_tty.c:2201
7 locks held by syz-executor194/5075:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.6.0-next-20231103-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x299/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xf86/0x1210 kernel/hung_task.c:379
kthread+0x337/0x440 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5075 Comm: syz-executor194 Not tainted 6.6.0-next-20231103-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x0/0x20 kernel/kcov.c:289
Code: 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 8b 0c 24 48 89 f2 48 89 fe bf 06 00 00 00 e9 08 ff ff ff 0f 1f 84 00 00 00 00 00 0f 1e fa 48 8b 0c 24 40 0f b6 d6 40 0f b6 f7 bf 01 00 00 00 e9
RSP: 0018:ffffc900040c6a98 EFLAGS: 00000293
RAX: 0000000000000000 RBX: ffffffff8acd8e81 RCX: ffffffff8a76b7e6
RDX: ffff888024bd8000 RSI: 0000000000000000 RDI: 0000000000000002
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000000 R11: 00000000001cfa50 R12: ffffc900040c6ba0
R13: 0000000000000025 R14: ffffc900040c6c38 R15: 000000007fffffff
FS: 000055555664f380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055606725b600 CR3: 0000000016ee4000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
format_decode+0xf1/0xba0 lib/vsprintf.c:2542
vsnprintf+0x13d/0x1870 lib/vsprintf.c:2771
sprintf+0xcd/0x100 lib/vsprintf.c:3023
print_time kernel/printk/printk.c:1324 [inline]
info_print_prefix+0x258/0x350 kernel/printk/printk.c:1350
record_print_text+0x143/0x410 kernel/printk/printk.c:1399
printk_get_next_message+0x2ce/0x7c0 kernel/printk/printk.c:2828
console_emit_next_record kernel/printk/printk.c:2868 [inline]
console_flush_all+0x3af/0xd50 kernel/printk/printk.c:2967
console_unlock+0x10c/0x260 kernel/printk/printk.c:3036
vprintk_emit+0x17f/0x5f0 kernel/printk/printk.c:2303
vprintk+0x7b/0x90 kernel/printk/printk_safe.c:45
_printk+0xc8/0x100 kernel/printk/printk.c:2328
__reiserfs_warning+0x102/0x1a0 fs/reiserfs/prints.c:290
reiserfs_read_bitmap_block+0x3a9/0x520 fs/reiserfs/bitmap.c:1434
scan_bitmap_block.constprop.0+0x1c9/0x1080 fs/reiserfs/bitmap.c:164
scan_bitmap fs/reiserfs/bitmap.c:402 [inline]
allocate_without_wrapping_disk fs/reiserfs/bitmap.c:1161 [inline]
blocknrs_and_prealloc_arrays_from_search_start fs/reiserfs/bitmap.c:1274 [inline]
reiserfs_allocate_blocknrs+0x2b9f/0x5770 fs/reiserfs/bitmap.c:1375
reiserfs_new_unf_blocknrs fs/reiserfs/reiserfs.h:3363 [inline]
_allocate_block fs/reiserfs/inode.c:645 [inline]
reiserfs_get_block+0xb12/0x4560 fs/reiserfs/inode.c:756
__block_write_begin_int+0x3c0/0x1560 fs/buffer.c:2119
reiserfs_write_begin+0x34f/0x7c0 fs/reiserfs/inode.c:2767
generic_perform_write+0x277/0x600 mm/filemap.c:3918
__generic_file_write_iter+0x1f9/0x240 mm/filemap.c:4013
generic_file_write_iter+0xe3/0x350 mm/filemap.c:4039
call_write_iter include/linux/fs.h:2020 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x64d/0xdf0 fs/read_write.c:584
ksys_write+0x12f/0x250 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x62/0x6a
RIP: 0033:0x7f584613df59
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffef39558a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f5846187082 RCX: 00007f584613df59
RDX: 00000000000000c1 RSI: 00000000200002c0 RDI: 0000000000000005
RBP: 00007f58461b35f0 R08: 0000000020000000 R09: 00005555566504c0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffef39558d0
R13: 00007ffef3955af8 R14: 431bde82d7b634db R15: 00007f584618701d
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 3.673 msecs