INFO: task hwrng:751 blocked for more than 143 seconds.
Not tainted 6.7.0-rc7-syzkaller-00041-gf016f7547aee #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:hwrng state:D stack:29504 pid:751 tgid:751 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/28:
#0: ffffffff8cfa7d60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline]
#0: ffffffff8cfa7d60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline]
#0: ffffffff8cfa7d60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614
1 lock held by hwrng/751:
#0: ffffffff8dba5a48 (reading_mutex){+.+.}-{3:3}, at: hwrng_fillfn+0x145/0x430 drivers/char/hw_random/core.c:504
2 locks held by getty/4817:
#0: ffff88814ca000a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900020482f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc6/0x1490 drivers/tty/n_tty.c:2201
3 locks held by kworker/1:0/16655:
#0: ffff888013069d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x789/0x15d0 kernel/workqueue.c:2602
#1: ffffc9001ba9fd80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15d0 kernel/workqueue.c:2603
#2: ffffffff8eaa2a28 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:277
2 locks held by kworker/1:3/1567:
#0: ffff88801307b938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x789/0x15d0 kernel/workqueue.c:2602
#1: ffffc90004e67d80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15d0 kernel/workqueue.c:2603
3 locks held by syz-executor.2/2285:
1 lock held by syz-executor.2/2302:
1 lock held by syz-executor.2/2405:
2 locks held by syz-executor.2/2470:
2 locks held by syz-executor.2/2518:
#0: ffffffff8eaa2a28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8eaa2a28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe00 net/core/rtnetlink.c:6555
#1: ffffffff8cfb37b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#1: ffffffff8cfb37b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x6b1/0x800 kernel/rcu/tree_exp.h:996
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.7.0-rc7-syzkaller-00041-gf016f7547aee #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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 2405 Comm: syz-executor.2 Not tainted 6.7.0-rc7-syzkaller-00041-gf016f7547aee #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:__mod_memcg_lruvec_state+0x14/0x3a0 mm/memcontrol.c:814
Code: e8 11 c0 f8 ff e9 aa fe ff ff e8 07 c0 f8 ff e9 81 fe ff ff 66 90 66 0f 1f 00 48 b8 00 00 00 00 00 fc ff df 41 57 41 56 41 55 <41> 54 49 89 fc 48 81 c7 78 0b 00 00 55 89 d5 48 89 fa 53 48 c1 ea
RSP: 0018:ffffc900051a65a0 EFLAGS: 00000096
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 1ffffffff1e314ef
RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffff8880277e2000
RBP: ffff8880277e2000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000002 R12: 0000000000000002
R13: 0000000000000001 R14: 0000000000000003 R15: 0000000000000001
FS: 00007f12dc0ec6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7f772c5000 CR3: 000000009bc51000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__update_lru_size include/linux/mm_inline.h:47 [inline]
lru_gen_update_size+0x8f1/0xde0 include/linux/mm_inline.h:214
folio_inc_gen+0x205/0x2e0 mm/vmscan.c:3119
sort_folio mm/vmscan.c:4256 [inline]
scan_folios mm/vmscan.c:4336 [inline]
isolate_folios+0x243c/0x3fd0 mm/vmscan.c:4456
evict_folios+0x1a2/0x1b90 mm/vmscan.c:4487
try_to_shrink_lruvec+0x638/0xa10 mm/vmscan.c:4704
lru_gen_shrink_lruvec mm/vmscan.c:4849 [inline]
shrink_lruvec+0x314/0x2990 mm/vmscan.c:5622
shrink_node_memcgs mm/vmscan.c:5842 [inline]
shrink_node+0x811/0x3710 mm/vmscan.c:5877
shrink_zones mm/vmscan.c:6116 [inline]
do_try_to_free_pages+0x36c/0x1940 mm/vmscan.c:6178
try_to_free_mem_cgroup_pages+0x31a/0x770 mm/vmscan.c:6493
try_charge_memcg+0x3d3/0x11f0 mm/memcontrol.c:2742
try_charge mm/memcontrol.c:2884 [inline]
charge_memcg mm/memcontrol.c:7210 [inline]
__mem_cgroup_charge+0xa6/0x140 mm/memcontrol.c:7225
mem_cgroup_charge include/linux/memcontrol.h:684 [inline]
__filemap_add_folio+0x88c/0xed0 mm/filemap.c:854
filemap_add_folio+0xb1/0x1e0 mm/filemap.c:937
page_cache_ra_unbounded+0x1d0/0x5f0 mm/readahead.c:250
do_page_cache_ra mm/readahead.c:299 [inline]
page_cache_ra_order+0x72b/0xa80 mm/readahead.c:546
do_sync_mmap_readahead mm/filemap.c:3150 [inline]
filemap_fault+0x16a8/0x3570 mm/filemap.c:3242
__do_fault+0x107/0x600 mm/memory.c:4266
do_read_fault mm/memory.c:4629 [inline]
do_fault mm/memory.c:4763 [inline]
do_pte_missing mm/memory.c:3731 [inline]
handle_pte_fault mm/memory.c:5039 [inline]
__handle_mm_fault+0x2683/0x3d70 mm/memory.c:5180
handle_mm_fault+0x47a/0xa10 mm/memory.c:5345
faultin_page mm/gup.c:956 [inline]
__get_user_pages+0x4b2/0x1490 mm/gup.c:1239
populate_vma_page_range+0x2d4/0x420 mm/gup.c:1677
__mm_populate+0x1d7/0x380 mm/gup.c:1786
mm_populate include/linux/mm.h:3379 [inline]
vm_mmap_pgoff+0x2cd/0x3c0 mm/util.c:561
ksys_mmap_pgoff+0x422/0x5b0 mm/mmap.c:1425
__do_sys_mmap arch/x86/kernel/sys_x86_64.c:93 [inline]
__se_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline]
__x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:86
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:0x7f12db47cce9
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:00007f12dc0ec0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f12db59c120 RCX: 00007f12db47cce9
RDX: 0000000001000006 RSI: 0000000000b34902 RDI: 0000000020000000
RBP: 00007f12db4c947a R08: 0000000000000008 R09: 0000000000000000
R10: 0000000000028011 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f12db59c120 R15: 00007fff83b88bf8