INFO: task syz-executor.5:7105 blocked for more than 143 seconds.
Not tainted 6.6.0-rc6-syzkaller-00334-g1acfd2bd3f0d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:27632 pid:7105 ppid:5404 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0xee1/0x5a10 kernel/sched/core.c:6695
schedule+0xe7/0x1b0 kernel/sched/core.c:6771
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830
rwsem_down_write_slowpath+0x53d/0x12a0 kernel/locking/rwsem.c:1178
__down_write_common kernel/locking/rwsem.c:1306 [inline]
__down_write kernel/locking/rwsem.c:1315 [inline]
down_write_nested+0x1d7/0x200 kernel/locking/rwsem.c:1690
inode_lock_nested include/linux/fs.h:837 [inline]
filename_create+0x1c2/0x530 fs/namei.c:3890
do_mkdirat+0xb3/0x330 fs/namei.c:4136
__do_sys_mkdir fs/namei.c:4164 [inline]
__se_sys_mkdir fs/namei.c:4162 [inline]
__x64_sys_mkdir+0xf2/0x140 fs/namei.c:4162
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7efc15a7cae9
RSP: 002b:00007efc167250c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007efc15b9bf80 RCX: 00007efc15a7cae9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000
RBP: 00007efc15ac847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007efc15b9bf80 R15: 00007ffc2d6a5bc8
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8cbab2e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline]
#0: ffffffff8cbab2e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline]
#0: ffffffff8cbab2e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613
1 lock held by udevd/4486:
2 locks held by getty/4782:
#0: ffff88802a93a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc5/0x1480 drivers/tty/n_tty.c:2206
2 locks held by syz-executor.5/7105:
#0: ffff888078022410 (sb_writers#13){.+.+}-{0:0}, at: filename_create+0x10d/0x530 fs/namei.c:3883
#1: ffff888061970930 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:837 [inline]
#1: ffff888061970930 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: filename_create+0x1c2/0x530 fs/namei.c:3890
3 locks held by syz-executor.5/7119:
2 locks held by udevd/7139:
#0: ffff88807e8bc410 (sb_writers#5){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3553 [inline]
#0: ffff88807e8bc410 (sb_writers#5){.+.+}-{0:0}, at: path_openat+0x197e/0x29c0 fs/namei.c:3794
#1: ffff8880b9928888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:999
2 locks held by udevd/7169:
2 locks held by udevd/7172:
2 locks held by udevd/7173:
#0: ffff88807e8bc410 (sb_writers#5){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3553 [inline]
#0: ffff88807e8bc410 (sb_writers#5){.+.+}-{0:0}, at: path_openat+0x197e/0x29c0 fs/namei.c:3794
#1: ffff88802585fa20 (&type->i_mutex_dir_key#5){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline]
#1: ffff88802585fa20 (&type->i_mutex_dir_key#5){++++}-{3:3}, at: open_last_lookups fs/namei.c:3561 [inline]
#1: ffff88802585fa20 (&type->i_mutex_dir_key#5){++++}-{3:3}, at: path_openat+0x8c9/0x29c0 fs/namei.c:3794
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc6-syzkaller-00334-g1acfd2bd3f0d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/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:304
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4486 Comm: udevd Not tainted 6.6.0-rc6-syzkaller-00334-g1acfd2bd3f0d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
RIP: 0010:tomoyo_encode2+0xb0/0x3d0 security/tomoyo/realpath.c:34
Code: 48 83 c5 01 44 89 ee e8 9e 7d a5 fd 45 39 ec 74 4e e8 a4 82 a5 fd 48 89 e8 48 89 ea 48 c1 e8 03 83 e2 07 42 0f b6 04 38 38 d0 <7f> 08 84 c0 0f 85 9b 02 00 00 0f b6 5d 00 bf 5c 00 00 00 89 de e8
RSP: 0018:ffffc9000320f9b8 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000052 RCX: 0000000000000000
RDX: 0000000000000002 RSI: ffffffff83e2478c RDI: 0000000000000004
RBP: ffff88807b9aafe2 R08: 0000000000000004 R09: 0000000000000027
R10: 000000000000000c R11: 0000000000000000 R12: 0000000000000027
R13: 000000000000000c R14: 000000000000000c R15: dffffc0000000000
FS: 00007fe6032f5c80(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c614ded7a8 CR3: 0000000027f23000 CR4: 0000000000350ef0
Call Trace:
tomoyo_encode+0x29/0x50 security/tomoyo/realpath.c:80
tomoyo_realpath_from_path+0x196/0x710 security/tomoyo/realpath.c:283
tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
tomoyo_path_perm+0x26f/0x450 security/tomoyo/file.c:822
security_inode_getattr+0xf1/0x150 security/security.c:2153
vfs_getattr fs/stat.c:169 [inline]
vfs_statx+0x180/0x430 fs/stat.c:244
vfs_fstatat+0xb3/0x140 fs/stat.c:295
__do_sys_newfstatat+0x98/0x110 fs/stat.c:459
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fe602f165f4
Code: 64 c7 00 09 00 00 00 83 c8 ff c3 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 00 00 00 00 41 89 ca b8 06 01 00 00 0f 05 <45> 31 c0 3d 00 f0 ff ff 76 10 48 8b 15 03 a8 0d 00 f7 d8 41 83 c8
RSP: 002b:00007ffe011a9588 EFLAGS: 00000246 ORIG_RAX: 0000000000000106
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe602f165f4
RDX: 00007ffe011a9598 RSI: 00007ffe011a9a28 RDI: 00000000ffffff9c
RBP: 00007ffe011a9628 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe011a9a28
R13: 00007ffe011a9598 R14: 000055c614d05910 R15: 0000000000000000