INFO: task syz.0.15:5009 blocked for more than 143 seconds.
Not tainted 5.15.175-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.15 state:D stack:28512 pid: 5009 ppid: 4769 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5027 [inline]
__schedule+0x12c4/0x45b0 kernel/sched/core.c:6373
schedule+0x11b/0x1f0 kernel/sched/core.c:6456
rwsem_down_write_slowpath+0xf0c/0x16a0 kernel/locking/rwsem.c:1165
inode_lock_nested include/linux/fs.h:824 [inline]
do_rmdir+0x225/0x670 fs/namei.c:4197
__do_sys_rmdir fs/namei.c:4229 [inline]
__se_sys_rmdir fs/namei.c:4227 [inline]
__x64_sys_rmdir+0x45/0x50 fs/namei.c:4227
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f7906851849
RSP: 002b:00007f7905aae058 EFLAGS: 00000246 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 00007f7906a17080 RCX: 00007f7906851849
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200000c0
RBP: 00007f79068c4986 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f7906a17080 R15: 00007ffed714f6f8
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8cb1fd20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3924:
#0: ffff88802c507098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc90002cd62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158
3 locks held by kworker/u4:5/4762:
3 locks held by syz.0.15/5008:
2 locks held by syz.0.15/5009:
#0: ffff88802c046460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
#1: ffff88806a1782b0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline]
#1: ffff88806a1782b0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197
3 locks held by syz.1.16/5025:
2 locks held by syz.1.16/5026:
#0: ffff88807d768460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
#1: ffff88806a178930 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline]
#1: ffff88806a178930 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197
3 locks held by syz.2.17/5041:
2 locks held by syz.2.17/5042:
#0: ffff8880779e4460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
#1: ffff88806a3f82b0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline]
#1: ffff88806a3f82b0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197
3 locks held by syz.3.18/5059:
2 locks held by syz.3.18/5060:
#0: ffff88807e688460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
#1: ffff88806a3f8930 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline]
#1: ffff88806a3f8930 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197
3 locks held by syz.4.19/5082:
2 locks held by syz.4.19/5083:
#0: ffff888024a00460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
#1: ffff88806a178fb0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline]
#1: ffff88806a178fb0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197
3 locks held by syz.5.20/5106:
2 locks held by syz.5.20/5107:
#0: ffff888021ee2460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
#1: ffff88806a3f8fb0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline]
#1: ffff88806a3f8fb0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197
3 locks held by syz.6.21/5136:
2 locks held by syz.6.21/5137:
#0: ffff888074b22460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
#1: ffff88806a179630 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline]
#1: ffff88806a179630 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197
3 locks held by syz.7.22/5160:
2 locks held by syz.7.22/5161:
#0: ffff88807e5b2460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
#1: ffff88806a179cb0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline]
#1: ffff88806a179cb0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.175-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
watchdog+0xe72/0xeb0 kernel/hung_task.c:295
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 23 Comm: kworker/1:1 Not tainted 5.15.175-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events nsim_dev_trap_report_work
RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x60 kernel/kcov.c:205
Code: 00 00 00 0f 1f 00 53 48 89 fb e8 17 00 00 00 48 8b 3d c8 dd 89 0c 48 89 de 5b e9 07 05 49 00 cc cc cc cc cc cc cc 48 8b 04 24 <65> 48 8b 0d d4 ea 81 7e 65 8b 15 d5 ea 81 7e 81 e2 00 01 ff 00 74
RSP: 0018:ffffc90000ddf640 EFLAGS: 00000086
RAX: ffffffff8414756e RBX: ffffc90000ddfa60 RCX: 0000000000000000
RDX: 0000000000000040 RSI: 0000000000000014 RDI: ffffc90000ddf800
RBP: ffffc90000ddf8b0 R08: dffffc0000000000 R09: fffff520001bbf08
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000ddf800
R13: ffffc90000ddf920 R14: 0000000000000014 R15: 0000000000000014
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055555a8615c8 CR3: 000000007e30d000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
chacha_permute+0x1e/0x1050 lib/crypto/chacha.c:17
chacha_block_generic+0x9b/0x1340 lib/crypto/chacha.c:83
chacha20_block include/crypto/chacha.h:36 [inline]
crng_fast_key_erasure drivers/char/random.c:296 [inline]
crng_make_state+0x30e/0x690 drivers/char/random.c:391
_get_random_bytes+0xd3/0x2b0 drivers/char/random.c:405
eth_random_addr include/linux/etherdevice.h:225 [inline]
nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:671 [inline]
nsim_dev_trap_report drivers/net/netdevsim/dev.c:721 [inline]
nsim_dev_trap_report_work+0x306/0xab0 drivers/net/netdevsim/dev.c:762
process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287