INFO: task hwrng:749 blocked for more than 143 seconds.
Not tainted 6.7.0-rc8-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:hwrng state:D stack:29424 pid:749 tgid:749 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5376 [inline]
__schedule+0xedb/0x5af0 kernel/sched/core.c:6688
__schedule_loop kernel/sched/core.c:6763 [inline]
schedule+0xe9/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+0x5b9/0x9d0 kernel/locking/mutex.c:747
hwrng_fillfn+0x145/0x430 drivers/char/hw_random/core.c:504
kthread+0x2c6/0x3a0 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:
1 lock held by khungtaskd/29:
#0: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline]
#0: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline]
#0: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614
1 lock held by hwrng/749:
#0: ffffffff8dbb0128 (reading_mutex){+.+.}-{3:3}, at: hwrng_fillfn+0x145/0x430 drivers/char/hw_random/core.c:504
2 locks held by getty/4817:
#0: ffff88814bb1a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc6/0x1490 drivers/tty/n_tty.c:2201
1 lock held by syz-executor.3/25390:
3 locks held by syz-executor.3/25392:
2 locks held by syz-executor.3/27570:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc8-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/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/0x390 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+0x2c6/0x3a0 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: 27570 Comm: syz-executor.3 Not tainted 6.7.0-rc8-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:memcg_events_index mm/memcontrol.c:728 [inline]
RIP: 0010:__count_memcg_events+0x24/0x200 mm/memcontrol.c:929
Code: 66 0f 1f 44 00 00 66 0f 1f 00 41 55 41 54 49 89 fc 55 89 f5 53 48 89 d3 48 83 ec 08 83 fe 71 0f 87 8f 01 00 00 0f 1f 44 00 00 <48> 8d 3c ad c0 68 19 8f 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48
RSP: 0018:ffffc90004c5f910 EFLAGS: 00000093
RAX: 00fff00000080001 RBX: 0000000000000001 RCX: ffffffff81e601ee
RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff888083750000
RBP: 0000000000000000 R08: 0000000000000000 R09: fffff9400027dae8
R10: ffffea00013ed747 R11: 0000000000000002 R12: ffff888083750000
R13: 0000000000000000 R14: 0000000000000cc0 R15: ffff88803f465f88
FS: 00007fa146b806c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa13d5fe000 CR3: 00000000973b6000 CR4: 0000000000350ef0
Call Trace:
mem_cgroup_charge_statistics+0x17/0x70 mm/memcontrol.c:964
mem_cgroup_commit_charge+0x18f/0x3f0 mm/memcontrol.c:2928
charge_memcg mm/memcontrol.c:7214 [inline]
__mem_cgroup_charge+0xb5/0x140 mm/memcontrol.c:7225
mem_cgroup_charge include/linux/memcontrol.h:684 [inline]
shmem_alloc_and_add_folio+0x1d1/0x7b0 mm/shmem.c:1679
shmem_get_folio_gfp+0x623/0x1360 mm/shmem.c:2054
shmem_get_folio mm/shmem.c:2136 [inline]
shmem_write_begin+0x15a/0x360 mm/shmem.c:2719
generic_perform_write+0x278/0x600 mm/filemap.c:3927
shmem_file_write_iter+0x110/0x140 mm/shmem.c:2895
call_write_iter include/linux/fs.h:2020 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x64f/0xdf0 fs/read_write.c:584
ksys_write+0x12f/0x250 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fa145e7ba2f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 b9 80 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 0c 81 02 00 48
RSP: 002b:00007fa146b7fe70 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007fa145e7ba2f
RDX: 0000000001000000 RSI: 00007fa13c5ff000 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000005597
R10: 0000000000000002 R11: 0000000000000293 R12: 0000000000000003
R13: 00007fa146b7ff3c R14: 00007fa146b7ff40 R15: 00007fa13c5ff000