INFO: task kworker/0:5:5049 blocked for more than 143 seconds.
Not tainted 6.6.0-rc4-syzkaller-00229-g82714078aee4 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:5 state:D stack:25760 pid:5049 ppid:2 flags:0x00004000
Workqueue: events_long flush_old_commits
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0xee1/0x5a10 kernel/sched/core.c:6695
schedule+0xe7/0x1b0 kernel/sched/core.c:6771
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0x969/0x1340 kernel/locking/mutex.c:747
reiserfs_write_lock+0x79/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+0x884/0x15c0 kernel/workqueue.c:2630
process_scheduled_works kernel/workqueue.c:2703 [inline]
worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784
kthread+0x33c/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:304
Showing all locks held in the system:
1 lock held by khungtaskd/28:
#0: ffffffff8cba7920 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline]
#0: ffffffff8cba7920 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline]
#0: ffffffff8cba7920 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613
2 locks held by getty/4788:
#0: ffff8880282260a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900020382f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc5/0x1480 drivers/tty/n_tty.c:2206
4 locks held by kworker/0:5/5049:
#0: ffff888012c77538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605
#1: ffffc9000374fd80 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606
#2: ffff8880768240e0 (&type->s_umount_key#24){++++}-{3:3}, at: flush_old_commits+0x79/0x1f0 fs/reiserfs/super.c:97
#3: ffff88801c87d090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x79/0x100 fs/reiserfs/lock.c:27
8 locks held by syz-executor.0/5458:
2 locks held by syz-executor.0/5955:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.6.0-rc4-syzkaller-00229-g82714078aee4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/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+0xf87/0x1210 kernel/hung_task.c:379
kthread+0x33c/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:304
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 5955 Comm: syz-executor.0 Not tainted 6.6.0-rc4-syzkaller-00229-g82714078aee4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
RIP: 0010:lock_acquire+0x23/0x510 kernel/locking/lockdep.c:5721
Code: 00 00 00 0f 1f 40 00 f3 0f 1e fa 48 b8 00 00 00 00 00 fc ff df 41 57 4d 89 cf 41 56 49 89 fe 41 55 41 89 d5 41 54 45 89 c4 55 <53> 48 81 ec b0 00 00 00 48 8d 5c 24 10 89 34 24 48 c1 eb 03 89 4c
RSP: 0018:ffffc9000416f708 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: ffff888141e42000 RCX: 0000000000000002
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8cba7920
RBP: ffffea0001838240 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: dffffc0000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffffff8cba7920 R15: 0000000000000000
FS: 00007f5baef9a6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020126000 CR3: 000000001ccae000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rcu_lock_acquire include/linux/rcupdate.h:303 [inline]
rcu_read_lock include/linux/rcupdate.h:749 [inline]
get_mem_cgroup_from_mm+0x4b/0x4c0 mm/memcontrol.c:1060
__mem_cgroup_charge+0x1a/0x90 mm/memcontrol.c:7016
mem_cgroup_charge include/linux/memcontrol.h:686 [inline]
__filemap_add_folio+0x661/0xf10 mm/filemap.c:857
filemap_add_folio+0xb1/0x1e0 mm/filemap.c:939
__filemap_get_folio+0x4cf/0xbc0 mm/filemap.c:1944
ext4_da_write_begin+0x3c7/0x8c0 fs/ext4/inode.c:2881
generic_perform_write+0x278/0x600 mm/filemap.c:3969
ext4_buffered_write_iter+0x11f/0x3c0 fs/ext4/file.c:299
ext4_file_write_iter+0x7f7/0x1860 fs/ext4/file.c:717
call_write_iter include/linux/fs.h:1956 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x650/0xe40 fs/read_write.c:584
ksys_write+0x12f/0x250 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f5bae27cb29
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f5baef9a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f5bae39bf80 RCX: 00007f5bae27cb29
RDX: 000000000208e24b RSI: 0000000020000280 RDI: 0000000000000003
RBP: 00007f5bae2c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f5bae39bf80 R15: 00007ffc101209c8