INFO: task hwrng:750 blocked for more than 143 seconds.
Not tainted 6.6.0-syzkaller-10396-g4652b8e4f3ff #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:hwrng state:D stack:29384 pid:750 tgid:750 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5376 [inline]
__schedule+0xee2/0x59a0 kernel/sched/core.c:6688
__schedule_loop kernel/sched/core.c:6763 [inline]
schedule+0xe7/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+0x969/0x1340 kernel/locking/mutex.c:747
hwrng_fillfn+0x145/0x430 drivers/char/hw_random/core.c:504
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:242
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8cfad320 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline]
#0: ffffffff8cfad320 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline]
#0: ffffffff8cfad320 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613
1 lock held by hwrng/750:
#0: ffffffff8dbace08 (reading_mutex){+.+.}-{3:3}, at: hwrng_fillfn+0x145/0x430 drivers/char/hw_random/core.c:504
2 locks held by kworker/0:2/778:
#0: ffff888013072938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605
#1: ffffc90003ddfd80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606
3 locks held by kworker/u4:8/2458:
2 locks held by getty/4813:
#0: ffff8880263470a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc5/0x1480 drivers/tty/n_tty.c:2206
3 locks held by kworker/0:9/5173:
#0: ffff888013070d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605
#1: ffffc900045f7d80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606
#2: ffffffff8ea9e028 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:277
3 locks held by kworker/0:0/5851:
#0: ffff88814a47d938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605
#1: ffffc90002e4fd80 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606
#2: ffffffff8ea9e028 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcf/0x14b0 net/ipv6/addrconf.c:4137
2 locks held by kworker/0:1/6484:
2 locks held by syz-executor.5/10104:
1 lock held by syz-executor.5/10110:
1 lock held by syz-executor.1/10189:
1 lock held by syz-executor.5/10257:
2 locks held by syz-executor.2/10271:
1 lock held by syz-executor.5/10361:
1 lock held by syz-executor.1/10385:
1 lock held by syz-executor.5/10417:
#0: ffffffff8ea9e028 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8ea9e028 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe00 net/core/rtnetlink.c:6555
8 locks held by syz-executor.2/10424:
#0: ffff88801c496418 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x12f/0x250 fs/read_write.c:637
#1: ffff888071efe488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x281/0x610 fs/kernfs/file.c:325
#2: ffff88801f790660 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2a4/0x610 fs/kernfs/file.c:326
#3: ffffffff8e143be8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xd2/0x4b0 drivers/net/netdevsim/bus.c:216
#4: ffff8880384790e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline]
#4: ffff8880384790e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline]
#4: ffff8880384790e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1292
#5: ffff88803847a250 (&devlink->lock_key#3){+.+.}-{3:3}, at: nsim_drv_remove+0x4a/0x1d0 drivers/net/netdevsim/dev.c:1672
#6: ffffffff8ea9e028 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x39/0x190 drivers/net/netdevsim/netdev.c:411
#7: ffffffff8cfb8d78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#7: ffffffff8cfb8d78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x69e/0x7e0 kernel/rcu/tree_exp.h:996
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.6.0-syzkaller-10396-g4652b8e4f3ff #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+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:242
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 10271 Comm: syz-executor.2 Not tainted 6.6.0-syzkaller-10396-g4652b8e4f3ff #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
RIP: 0010:hlock_class kernel/locking/lockdep.c:240 [inline]
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4773 [inline]
RIP: 0010:__lock_acquire+0x4dc/0x5de0 kernel/locking/lockdep.c:5086
Code: 0f b7 e4 be 08 00 00 00 4c 89 e0 48 c1 e8 06 48 8d 3c c5 c0 8e ef 91 e8 f2 75 76 00 4c 0f a3 25 da f2 86 10 0f 83 07 0c 00 00 <4d> 69 e4 d0 00 00 00 49 81 c4 e0 92 ef 91 49 8d bc 24 c9 00 00 00
RSP: 0018:ffffc9000dbc72c8 EFLAGS: 00000047
RAX: 0000000000000001 RBX: 0000000000000020 RCX: ffffffff81689bde
RDX: fffffbfff23df1d9 RSI: 0000000000000008 RDI: ffffffff91ef8ec0
RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff23df1d8
R10: ffffffff91ef8ec7 R11: dffffc0000000000 R12: 0000000000000020
R13: ffff88807bca46a0 R14: 0000000000000000 R15: 0000000000000002
FS: 00007f6a487ea6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f80dac6b440 CR3: 000000009678d000 CR4: 0000000000350ef0
Call Trace:
lock_acquire kernel/locking/lockdep.c:5753 [inline]
lock_acquire+0x1ae/0x510 kernel/locking/lockdep.c:5718
rcu_lock_acquire include/linux/rcupdate.h:301 [inline]
rcu_read_lock include/linux/rcupdate.h:747 [inline]
__mod_lruvec_page_state+0xbb/0x420 mm/memcontrol.c:860
__lruvec_stat_mod_folio include/linux/vmstat.h:615 [inline]
__filemap_add_folio+0x7e2/0xf10 mm/filemap.c:908
filemap_add_folio+0xb1/0x1e0 mm/filemap.c:939
page_cache_ra_unbounded+0x1d0/0x5e0 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:3199 [inline]
filemap_fault+0x1804/0x3550 mm/filemap.c:3291
__do_fault+0x107/0x600 mm/memory.c:4207
do_read_fault mm/memory.c:4571 [inline]
do_fault mm/memory.c:4708 [inline]
do_pte_missing mm/memory.c:3672 [inline]
handle_pte_fault mm/memory.c:4981 [inline]
__handle_mm_fault+0x299e/0x3e10 mm/memory.c:5122
handle_mm_fault+0x478/0xa00 mm/memory.c:5287
faultin_page mm/gup.c:956 [inline]
__get_user_pages+0x4b2/0x1480 mm/gup.c:1239
populate_vma_page_range+0x2d4/0x410 mm/gup.c:1666
__mm_populate+0x1d7/0x380 mm/gup.c:1775
mm_populate include/linux/mm.h:3303 [inline]
vm_mmap_pgoff+0x2cd/0x3b0 mm/util.c:551
ksys_mmap_pgoff+0x422/0x5b0 mm/mmap.c:1420
__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:51 [inline]
do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f6a47a7cae9
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:00007f6a487ea0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f6a47b9c120 RCX: 00007f6a47a7cae9
RDX: 0000000001000002 RSI: 0000000000b36015 RDI: 0000000020000000
RBP: 00007f6a47ac847a R08: 0000000000000009 R09: 0000000000000000
R10: 0000000000028011 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f6a47b9c120 R15: 00007fffc9910fb8