INFO: task hwrng:769 blocked for more than 143 seconds.
Not tainted 6.1.69-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:hwrng state:D stack:29088 pid:769 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5245 [inline]
__schedule+0x142d/0x4550 kernel/sched/core.c:6558
schedule+0xbf/0x180 kernel/sched/core.c:6634
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0x6b9/0xd80 kernel/locking/mutex.c:747
hwrng_fillfn+0xe2/0x3b0 drivers/char/hw_random/core.c:506
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d12a4f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8d12acf0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516
1 lock held by khungtaskd/28:
#0: ffffffff8d12a320 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:306 [inline]
#0: ffffffff8d12a320 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline]
#0: ffffffff8d12a320 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6494
1 lock held by hwrng/769:
#0: ffffffff8d8794a8 (reading_mutex){+.+.}-{3:3}, at: hwrng_fillfn+0xe2/0x3b0 drivers/char/hw_random/core.c:506
2 locks held by getty/3302:
#0: ffff888028ec5098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2188
3 locks held by syz-executor.2/3588:
#0: ffff88814bf60460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393
#1: ffff88814bf60650 (sb_internal){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1875 [inline]
#1: ffff88814bf60650 (sb_internal){.+.+}-{0:0}, at: sb_start_intwrite include/linux/fs.h:1997 [inline]
#1: ffff88814bf60650 (sb_internal){.+.+}-{0:0}, at: ext4_evict_inode+0x46d/0x1150 fs/ext4/inode.c:240
#2: ffff88814bf64990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x1f51/0x21b0 fs/jbd2/transaction.c:463
3 locks held by syz-executor.3/3600:
#0: ffff88814bf60460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393
#1: ffff8880b9927788 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x43d/0x770 kernel/sched/psi.c:1000
#2: ffff888035a8e850 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#2: ffff888035a8e850 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: vfs_unlink+0xe0/0x5f0 fs/namei.c:4242
4 locks held by syz-executor.4/3602:
#0: ffff88814bf60460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393
#1: ffff88814bf60650 (sb_internal){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1875 [inline]
#1: ffff88814bf60650 (sb_internal){.+.+}-{0:0}, at: sb_start_intwrite include/linux/fs.h:1997 [inline]
#1: ffff88814bf60650 (sb_internal){.+.+}-{0:0}, at: ext4_evict_inode+0x46d/0x1150 fs/ext4/inode.c:240
#2: ffff8880b9839e18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xa8/0x140 kernel/sched/core.c:545
#3: ffff88814bf64990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x1f51/0x21b0 fs/jbd2/transaction.c:463
2 locks held by kworker/u4:9/6562:
1 lock held by syz-executor.1/1091:
3 locks held by syz-executor.1/1166:
#0: ffff88814bf60460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393
#1: ffff88814bf60650 (sb_internal){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1875 [inline]
#1: ffff88814bf60650 (sb_internal){.+.+}-{0:0}, at: sb_start_intwrite include/linux/fs.h:1997 [inline]
#1: ffff88814bf60650 (sb_internal){.+.+}-{0:0}, at: ext4_evict_inode+0x46d/0x1150 fs/ext4/inode.c:240
#2: ffff88814bbe2c20 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#2: ffff88814bbe2c20 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_rmdir+0xf9/0x4b0 fs/namei.c:4111
2 locks held by syz-executor.0/1438:
1 lock held by syz-executor.0/1446:
1 lock held by syz-executor.1/2495:
3 locks held by syz-executor.0/3881:
#0: ffff88814bf60460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393
#1: ffff8880b9927788 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x43d/0x770 kernel/sched/psi.c:1000
#2: ffff8880b9927788 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: raw_spin_rq_lock_nested+0xa8/0x140 kernel/sched/core.c:545
1 lock held by syz-executor.0/3886:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.69-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+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
watchdog+0xf88/0xfd0 kernel/hung_task.c:377
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 6562 Comm: kworker/u4:9 Not tainted 6.1.69-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x2a/0x60 kernel/kcov.c:207
Code: 48 8b 04 24 65 48 8b 0d 24 e1 77 7e 65 8b 15 25 e1 77 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 1c 16 00 00 00 <74> 2c 8b 91 f8 15 00 00 83 fa 02 75 21 48 8b 91 00 16 00 00 48 8b
RSP: 0018:ffffc900001e0c00 EFLAGS: 00000246
RAX: ffffffff84632d29 RBX: 0000000000000135 RCX: ffff88807725bb80
RDX: 0000000000000100 RSI: 0000000000000006 RDI: 0000000000000020
RBP: ffff88802076c000 R08: ffffffff84632d17 R09: ffffed100444eadc
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000006
R13: 1ffff11003fd3802 R14: ffff88801fe9c010 R15: ffff88801fe9c014
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9fd5d98000 CR3: 000000016039a000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
sbitmap_deferred_clear_bit include/linux/sbitmap.h:331 [inline]
sbitmap_queue_clear+0x79/0x2d0 lib/sbitmap.c:665
__blk_mq_free_request+0x30d/0x440 block/blk-mq.c:693
scsi_end_request+0x4d3/0xa00 drivers/scsi/scsi_lib.c:576
scsi_io_completion+0x1b9/0x430 drivers/scsi/scsi_lib.c:979
blk_complete_reqs block/blk-mq.c:1113 [inline]
blk_done_softirq+0xf8/0x140 block/blk-mq.c:1118
__do_softirq+0x2e9/0xa4c kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x155/0x240 kernel/softirq.c:650
irq_exit_rcu+0x5/0x20 kernel/softirq.c:662
common_interrupt+0xa4/0xc0 arch/x86/kernel/irq.c:240
asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:644
RIP: 0010:should_resched arch/x86/include/asm/preempt.h:103 [inline]
RIP: 0010:__local_bh_enable_ip+0x16c/0x1f0 kernel/softirq.c:403
Code: 8a e8 a8 07 36 09 65 66 8b 05 e0 89 af 7e 66 85 c0 75 57 bf 01 00 00 00 e8 11 33 0a 00 e8 1c 41 3d 00 fb 65 8b 05 8c 65 ae 7e <85> c0 75 05 e8 cb 83 ac ff 48 c7 44 24 20 0e 36 e0 45 49 c7 04 1c
RSP: 0018:ffffc90007237aa0 EFLAGS: 00000286
RAX: 0000000080000000 RBX: 1ffff92000e46f58 RCX: ffffffff816ab80a
RDX: dffffc0000000000 RSI: ffffffff8aebe6c0 RDI: ffffffff8b3cf8c0
RBP: ffffc90007237b50 R08: dffffc0000000000 R09: fffffbfff2091e60
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff92000e46f5c R14: ffffc90007237ae0 R15: 0000000000000201
spin_unlock_bh include/linux/spinlock.h:395 [inline]
batadv_nc_purge_paths+0x30e/0x3b0 net/batman-adv/network-coding.c:471
batadv_nc_worker+0x361/0x610 net/batman-adv/network-coding.c:722
process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292
worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306