INFO: task syz.8.712:11747 blocked for more than 143 seconds. Not tainted 6.15.0-rc5-syzkaller-00032-g0d8d44db295c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.8.712 state:D stack:26152 pid:11747 tgid:11734 ppid:8693 task_flags:0x400140 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x168f/0x4c70 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x165/0x360 kernel/sched/core.c:6860 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917 rwsem_down_write_slowpath+0xbec/0x1030 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write_nested+0x1b5/0x200 kernel/locking/rwsem.c:1694 inode_lock_nested include/linux/fs.h:902 [inline] do_rmdir+0x1b2/0x630 fs/namei.c:4501 __do_sys_rmdir fs/namei.c:4528 [inline] __se_sys_rmdir fs/namei.c:4526 [inline] __x64_sys_rmdir+0x47/0x50 fs/namei.c:4526 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff3c718e969 RSP: 002b:00007ff3c7f2b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 00007ff3c73b6080 RCX: 00007ff3c718e969 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000000 RBP: 00007ff3c7210ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff3c73b6080 R15: 00007ffd30a2d598 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6764 2 locks held by getty/5573: #0: ffff88802dd200a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900036e32f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 3 locks held by syz.8.712/11736: 2 locks held by syz.8.712/11747: #0: ffff88806a5cc420 (sb_writers#4){++++}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:556 #1: ffff88804d8eabd8 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:902 [inline] #1: ffff88804d8eabd8 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: do_rmdir+0x1b2/0x630 fs/namei.c:4501 2 locks held by syz-executor/11941: #0: ffff8880579c40e0 (&type->s_umount_key#82){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880579c40e0 (&type->s_umount_key#82){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880579c40e0 (&type->s_umount_key#82){++++}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:505 #1: ffffffff8e365488 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb4/0x520 fs/jfs/jfs_logmgr.c:1444 1 lock held by syz-executor/13636: 2 locks held by syz.3.910/13773: #0: ffff88807a3540e0 (&type->s_umount_key#67/1){+.+.}-{4:4}, at: alloc_super+0x204/0x970 fs/super.c:344 #1: ffffffff8e365488 (jfs_log_mutex){+.+.}-{4:4}, at: open_dummy_log fs/jfs/jfs_logmgr.c:1191 [inline] #1: ffffffff8e365488 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogOpen+0x1a1/0xfb0 fs/jfs/jfs_logmgr.c:1066 3 locks held by syz.8.921/13977: 2 locks held by syz.6.922/13987: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc5-syzkaller-00032-g0d8d44db295c #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/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:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:274 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:437 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 11736 Comm: syz.8.712 Not tainted 6.15.0-rc5-syzkaller-00032-g0d8d44db295c #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025 RIP: 0010:i_user_ns include/linux/fs.h:1457 [inline] RIP: 0010:i_gid_read include/linux/fs.h:1472 [inline] RIP: 0010:ext4_fill_raw_inode+0x346/0x22d0 fs/ext4/inode.c:4330 Code: 48 c1 e8 03 0f b6 04 18 84 c0 4c 89 74 24 18 0f 85 89 13 00 00 41 8b 34 24 e8 36 e3 4a ff 41 89 c5 48 8b 44 24 28 80 3c 18 00 <74> 08 4c 89 f7 e8 40 f5 ae ff 41 bc 90 07 00 00 4d 03 26 4c 89 e0 RSP: 0018:ffffc9000b1c6f70 EFLAGS: 00000246 RAX: 1ffff1100f1a4cc5 RBX: dffffc0000000000 RCX: 0000000000080000 RDX: ffffc9000c001000 RSI: 000000000007ffff RDI: ffffffff8dddebc4 RBP: 0000000000008000 R08: ffff888078d26367 R09: 1ffff1100f1a4c6c R10: dffffc0000000000 R11: ffffed100f1a4c6d R12: ffff888078d26604 R13: 0000000000000000 R14: ffff888078d26628 R15: ffff888078d26600 FS: 00007ff3c7f4c6c0(0000) GS:ffff8881261fd000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efd37e3e378 CR3: 00000000695a4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_do_update_inode fs/ext4/inode.c:5208 [inline] ext4_mark_iloc_dirty+0x54d/0x1ca0 fs/ext4/inode.c:5869 __ext4_mark_inode_dirty+0x4be/0x700 fs/ext4/inode.c:6074 ext4_dirty_inode+0xd0/0x110 fs/ext4/inode.c:6103 __mark_inode_dirty+0x2ce/0xdf0 fs/fs-writeback.c:2527 mark_inode_dirty include/linux/fs.h:2545 [inline] dquot_alloc_space include/linux/quotaops.h:319 [inline] dquot_alloc_block include/linux/quotaops.h:336 [inline] ext4_xattr_block_set+0x12ca/0x2ac0 fs/ext4/xattr.c:2048 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+0x29d/0x3f0 security/security.c:1852 __ext4_new_inode+0x3257/0x3bd0 fs/ext4/ialloc.c:1326 ext4_create+0x22d/0x460 fs/ext4/namei.c:2824 lookup_open fs/namei.c:3701 [inline] open_last_lookups fs/namei.c:3800 [inline] path_openat+0x14f1/0x3830 fs/namei.c:4036 do_filp_open+0x1fa/0x410 fs/namei.c:4066 do_sys_openat2+0x121/0x1c0 fs/open.c:1429 do_sys_open fs/open.c:1444 [inline] __do_sys_openat fs/open.c:1460 [inline] __se_sys_openat fs/open.c:1455 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1455 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff3c718e969 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:00007ff3c7f4c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ff3c73b5fa0 RCX: 00007ff3c718e969 RDX: 000000000000275a RSI: 0000200000000040 RDI: ffffffffffffff9c RBP: 00007ff3c7210ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff3c73b5fa0 R15: 00007ffd30a2d598