INFO: task syz.0.16:6681 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.16 state:D stack:27912 pid:6681 tgid:6676 ppid:6563 task_flags:0x400040 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5357 [inline]
__schedule+0x16f3/0x4c20 kernel/sched/core.c:6961
__schedule_loop kernel/sched/core.c:7043 [inline]
rt_mutex_schedule+0x77/0xf0 kernel/sched/core.c:7339
rt_mutex_slowlock_block kernel/locking/rtmutex.c:1647 [inline]
__rt_mutex_slowlock kernel/locking/rtmutex.c:1721 [inline]
__rt_mutex_slowlock_locked+0x1e04/0x25e0 kernel/locking/rtmutex.c:1760
rt_mutex_slowlock+0xb5/0x160 kernel/locking/rtmutex.c:1800
__rt_mutex_lock kernel/locking/rtmutex.c:1815 [inline]
rwbase_write_lock+0x14f/0x750 kernel/locking/rwbase_rt.c:244
inode_lock_nested include/linux/fs.h:915 [inline]
lock_two_directories+0x16b/0x220 fs/namei.c:3243
lock_rename fs/namei.c:3277 [inline]
do_renameat2+0x36f/0xa80 fs/namei.c:5224
__do_sys_rename fs/namei.c:5325 [inline]
__se_sys_rename fs/namei.c:5323 [inline]
__x64_sys_rename+0x82/0x90 fs/namei.c:5323
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f49d53fe969
RSP: 002b:00007f49d464d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007f49d5626080 RCX: 00007f49d53fe969
RDX: 0000000000000000 RSI: 00002000000001c0 RDI: 0000200000000000
RBP: 00007f49d5480ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f49d5626080 R15: 00007ffd61aa3078
INFO: task syz.1.17:6712 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.17 state:D stack:29224 pid:6712 tgid:6706 ppid:6683 task_flags:0x400040 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5357 [inline]
__schedule+0x16f3/0x4c20 kernel/sched/core.c:6961
__schedule_loop kernel/sched/core.c:7043 [inline]
rt_mutex_schedule+0x77/0xf0 kernel/sched/core.c:7339
rt_mutex_slowlock_block kernel/locking/rtmutex.c:1647 [inline]
__rt_mutex_slowlock kernel/locking/rtmutex.c:1721 [inline]
__rt_mutex_slowlock_locked+0x1e04/0x25e0 kernel/locking/rtmutex.c:1760
rt_mutex_slowlock+0xb5/0x160 kernel/locking/rtmutex.c:1800
__rt_mutex_lock kernel/locking/rtmutex.c:1815 [inline]
rwbase_write_lock+0x14f/0x750 kernel/locking/rwbase_rt.c:244
inode_lock_nested include/linux/fs.h:915 [inline]
lock_two_directories+0x16b/0x220 fs/namei.c:3243
lock_rename fs/namei.c:3277 [inline]
do_renameat2+0x36f/0xa80 fs/namei.c:5224
__do_sys_rename fs/namei.c:5325 [inline]
__se_sys_rename fs/namei.c:5323 [inline]
__x64_sys_rename+0x82/0x90 fs/namei.c:5323
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fdb1580e969
RSP: 002b:00007fdb14a5d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007fdb15a36080 RCX: 00007fdb1580e969
RDX: 0000000000000000 RSI: 00002000000001c0 RDI: 0000200000000000
RBP: 00007fdb15890ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fdb15a36080 R15: 00007ffcdab61058
Showing all locks held in the system:
1 lock held by khungtaskd/38:
#0: ffffffff8d9a8d80 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8d9a8d80 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8d9a8d80 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
2 locks held by kworker/u8:14/3592:
2 locks held by getty/5600:
#0: ffff88823bf340a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90003e762e0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x444/0x1410 drivers/tty/n_tty.c:2222
4 locks held by syz.0.16/6677:
4 locks held by syz.0.16/6681:
#0: ffff888036bdc488 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557
#1: ffff888036bdc888 (&type->s_vfs_rename_key){+.+.}-{4:4}, at: lock_rename fs/namei.c:3276 [inline]
#1: ffff888036bdc888 (&type->s_vfs_rename_key){+.+.}-{4:4}, at: do_renameat2+0x364/0xa80 fs/namei.c:5224
#2: ffff888058a53fe8 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:915 [inline]
#2: ffff888058a53fe8 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: lock_two_directories+0x141/0x220 fs/namei.c:3242
#3: ffff88804122e370 (&type->i_mutex_dir_key#3/5){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:915 [inline]
#3: ffff88804122e370 (&type->i_mutex_dir_key#3/5){+.+.}-{4:4}, at: lock_two_directories+0x16b/0x220 fs/namei.c:3243
3 locks held by syz.1.17/6707:
4 locks held by syz.1.17/6712:
#0: ffff888027d1c488 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557
#1: ffff888027d1c888 (&type->s_vfs_rename_key){+.+.}-{4:4}, at: lock_rename fs/namei.c:3276 [inline]
#1: ffff888027d1c888 (&type->s_vfs_rename_key){+.+.}-{4:4}, at: do_renameat2+0x364/0xa80 fs/namei.c:5224
#2: ffff888041332838 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:915 [inline]
#2: ffff888041332838 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: lock_two_directories+0x141/0x220 fs/namei.c:3242
#3: ffff888041271088 (&type->i_mutex_dir_key#3/5){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:915 [inline]
#3: ffff888041271088 (&type->i_mutex_dir_key#3/5){+.+.}-{4:4}, at: lock_two_directories+0x16b/0x220 fs/namei.c:3243
3 locks held by syz.2.18/6738:
4 locks held by syz.2.18/6742:
#0: ffff888036f30488 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557
#1: ffff888036f30888 (&type->s_vfs_rename_key){+.+.}-{4:4}, at: lock_rename fs/namei.c:3276 [inline]
#1: ffff888036f30888 (&type->s_vfs_rename_key){+.+.}-{4:4}, at: do_renameat2+0x364/0xa80 fs/namei.c:5224
#2: ffff888041333fe8 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:915 [inline]
#2: ffff888041333fe8 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: lock_two_directories+0x141/0x220 fs/namei.c:3242
#3: ffff888058b584b0 (&type->i_mutex_dir_key#3/5){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:915 [inline]
#3: ffff888058b584b0 (&type->i_mutex_dir_key#3/5){+.+.}-{4:4}, at: lock_two_directories+0x16b/0x220 fs/namei.c:3243
3 locks held by syz.3.19/6767:
4 locks held by syz.3.19/6771:
#0: ffff888058c0c488 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557
#1: ffff888058c0c888 (&type->s_vfs_rename_key){+.+.}-{4:4}, at: lock_rename fs/namei.c:3276 [inline]
#1: ffff888058c0c888 (&type->s_vfs_rename_key){+.+.}-{4:4}, at: do_renameat2+0x364/0xa80 fs/namei.c:5224
#2: ffff888058b5ef48 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:915 [inline]
#2: ffff888058b5ef48 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: lock_two_directories+0x141/0x220 fs/namei.c:3242
#3: ffff888058a55798 (&type->i_mutex_dir_key#3/5){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:915 [inline]
#3: ffff888058a55798 (&type->i_mutex_dir_key#3/5){+.+.}-{4:4}, at: lock_two_directories+0x16b/0x220 fs/namei.c:3243
3 locks held by syz.4.20/6809:
4 locks held by syz.4.20/6813:
#0: ffff888021780488 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557
#1: ffff888021780888 (&type->s_vfs_rename_key){+.+.}-{4:4}, at: lock_rename fs/namei.c:3276 [inline]
#1: ffff888021780888 (&type->s_vfs_rename_key){+.+.}-{4:4}, at: do_renameat2+0x364/0xa80 fs/namei.c:5224
#2: ffff888041336370 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:915 [inline]
#2: ffff888041336370 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: lock_two_directories+0x141/0x220 fs/namei.c:3242
#3: ffff8880413a5798 (&type->i_mutex_dir_key#3/5){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:915 [inline]
#3: ffff8880413a5798 (&type->i_mutex_dir_key#3/5){+.+.}-{4:4}, at: lock_two_directories+0x16b/0x220 fs/namei.c:3243
3 locks held by syz.5.21/6844:
4 locks held by syz.5.21/6848:
#0: ffff88803601e488 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557
#1: ffff88803601e888 (&type->s_vfs_rename_key){+.+.}-{4:4}, at: lock_rename fs/namei.c:3276 [inline]
#1: ffff88803601e888 (&type->s_vfs_rename_key){+.+.}-{4:4}, at: do_renameat2+0x364/0xa80 fs/namei.c:5224
#2: ffff888058b22838 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:915 [inline]
#2: ffff888058b22838 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: lock_two_directories+0x141/0x220 fs/namei.c:3242
#3: ffff888041272838 (&type->i_mutex_dir_key#3/5){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:915 [inline]
#3: ffff888041272838 (&type->i_mutex_dir_key#3/5){+.+.}-{4:4}, at: lock_two_directories+0x16b/0x220 fs/namei.c:3243
4 locks held by syz.6.22/6880:
4 locks held by syz.6.22/6884:
#0: ffff888021fac488 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557
#1: ffff888021fac888 (&type->s_vfs_rename_key){+.+.}-{4:4}, at: lock_rename fs/namei.c:3276 [inline]
#1: ffff888021fac888 (&type->s_vfs_rename_key){+.+.}-{4:4}, at: do_renameat2+0x364/0xa80 fs/namei.c:5224
#2: ffff888058b23fe8 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:915 [inline]
#2: ffff888058b23fe8 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: lock_two_directories+0x141/0x220 fs/namei.c:3242
#3: ffff888058b25798 (&type->i_mutex_dir_key#3/5){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:915 [inline]
#3: ffff888058b25798 (&type->i_mutex_dir_key#3/5){+.+.}-{4:4}, at: lock_two_directories+0x16b/0x220 fs/namei.c:3243
2 locks held by syz-executor/6892:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 38 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT_{RT,(full)}
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:328 [inline]
watchdog+0xf93/0xfe0 kernel/hung_task.c:491
kthread+0x70e/0x8a0 kernel/kthread.c:463
ret_from_fork+0x436/0x7d0 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 6844 Comm: syz.5.21 Not tainted syzkaller #0 PREEMPT_{RT,(full)}
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:109 [inline]
RIP: 0010:check_preemption_disabled+0x58/0x120 lib/smp_processor_id.c:19
Code: 48 8b 0d db 14 ff 06 48 3b 4c 24 08 0f 85 cc 00 00 00 48 83 c4 10 5b 41 5e 41 5f 5d e9 41 95 03 00 cc 48 c7 04 24 00 00 00 00 <9c> 8f 04 24 f7 04 24 00 02 00 00 74 c8 65 4c 8b 3c 25 08 40 f6 91
RSP: 0018:ffffc90004ca6fe8 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000080000000
RDX: 0000000000000000 RSI: ffffffff8d21af4f RDI: ffffffff8b621680
RBP: ffffffff82109ded R08: 0000000000000000 R09: ffffffff82109ded
R10: dffffc0000000000 R11: fffff9400027d1a1 R12: 0000000000000000
R13: ffffffff8dabf760 R14: 0000000000000001 R15: 0000000000000246
FS: 00007f8be18fe6c0(0000) GS:ffff8881268bc000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f332040fe80 CR3: 0000000038b16000 CR4: 00000000003526f0
Call Trace:
lockdep_recursion_finish kernel/locking/lockdep.c:470 [inline]
lock_acquire+0x130/0x360 kernel/locking/lockdep.c:5870
fs_reclaim_acquire+0x99/0x100 mm/page_alloc.c:4251
might_alloc include/linux/sched/mm.h:318 [inline]
bdev_getblk+0x56/0x660 fs/buffer.c:1457
sb_getblk_gfp include/linux/buffer_head.h:392 [inline]
__ext4_sb_bread_gfp+0x6e/0x210 fs/ext4/super.c:236
ext4_xattr_block_cache_find fs/ext4/xattr.c:3110 [inline]
ext4_xattr_block_set+0xa4f/0x2ac0 fs/ext4/xattr.c:2029
ext4_xattr_set_handle+0xdfb/0x1590 fs/ext4/xattr.c:2447
ext4_initxattrs+0x9f/0x110 fs/ext4/xattr_security.c:44
security_inode_init_security+0x2a0/0x3f0 security/security.c:1852
__ext4_new_inode+0x3314/0x3cb0 fs/ext4/ialloc.c:1325
ext4_create+0x22d/0x460 fs/ext4/namei.c:2822
lookup_open fs/namei.c:3708 [inline]
open_last_lookups fs/namei.c:3807 [inline]
path_openat+0x1500/0x3840 fs/namei.c:4043
do_filp_open+0x1fa/0x410 fs/namei.c:4073
do_sys_openat2+0x121/0x1c0 fs/open.c:1435
do_sys_open fs/open.c:1450 [inline]
__do_sys_openat fs/open.c:1466 [inline]
__se_sys_openat fs/open.c:1461 [inline]
__x64_sys_openat+0x138/0x170 fs/open.c:1461
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8be268e969
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8be18fe038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f8be28b5fa0 RCX: 00007f8be268e969
RDX: 0000000000101042 RSI: 0000200000000140 RDI: ffffffffffffff9c
RBP: 00007f8be2710ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f8be28b5fa0 R15: 00007ffd8cfdac38