INFO: task syz-executor417:5074 blocked for more than 143 seconds. Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor417 state:D stack:20088 pid:5074 tgid:5074 ppid:5072 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17d3/0x4a20 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6828 io_schedule+0x8d/0x110 kernel/sched/core.c:9034 bit_wait_io+0x12/0xd0 kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0xd7/0x530 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0x1d5/0x260 kernel/sched/wait_bit.c:117 lock_buffer include/linux/buffer_head.h:401 [inline] ext4_quota_write+0x381/0x580 fs/ext4/super.c:7240 qtree_write_dquot+0x26b/0x5b0 fs/quota/quota_tree.c:462 v2_write_dquot+0x189/0x2a0 fs/quota/quota_v2.c:372 dquot_commit+0x3cb/0x520 fs/quota/dquot.c:514 ext4_write_dquot+0x1f2/0x2c0 fs/ext4/super.c:6866 mark_dquot_dirty fs/quota/dquot.c:372 [inline] mark_all_dquot_dirty+0xfd/0x410 fs/quota/dquot.c:412 dquot_alloc_inode+0x7ea/0xc90 fs/quota/dquot.c:1789 ext4_xattr_inode_alloc_quota fs/ext4/xattr.c:932 [inline] ext4_xattr_set_entry+0xaf3/0x3fd0 fs/ext4/xattr.c:1715 ext4_xattr_block_set+0x6a2/0x35e0 fs/ext4/xattr.c:1970 ext4_xattr_set_handle+0xe54/0x1780 fs/ext4/xattr.c:2456 ext4_xattr_set+0x241/0x3d0 fs/ext4/xattr.c:2558 __vfs_setxattr+0x46a/0x4a0 fs/xattr.c:200 __vfs_setxattr_noperm+0x12e/0x5e0 fs/xattr.c:234 vfs_setxattr+0x221/0x430 fs/xattr.c:321 do_setxattr fs/xattr.c:629 [inline] setxattr+0x25d/0x2f0 fs/xattr.c:652 path_setxattr+0x1c0/0x2a0 fs/xattr.c:671 __do_sys_setxattr fs/xattr.c:687 [inline] __se_sys_setxattr fs/xattr.c:683 [inline] __x64_sys_setxattr+0xbb/0xd0 fs/xattr.c:683 do_syscall_64+0xfd/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f6d8f0fed99 RSP: 002b:00007ffeb0995e48 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f6d8f0fed99 RDX: 0000000020000380 RSI: 0000000020000340 RDI: 00000000200002c0 RBP: 00007f6d8f1735f0 R08: 0000000000000000 R09: 000055558a0404c0 R10: 000000000000ffed R11: 0000000000000246 R12: 00007ffeb0995e70 R13: 00007ffeb0996098 R14: 431bde82d7b634db R15: 00007f6d8f14803b Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e132020 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e132020 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e132020 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4824: #0: ffff888029efc0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 6 locks held by syz-executor417/5074: #0: ffff8880227c2420 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff88807a960e00 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:793 [inline] #1: ffff88807a960e00 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_setxattr+0x1e1/0x430 fs/xattr.c:320 #2: ffff88807a960ac8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff88807a960ac8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x26b/0x1780 fs/ext4/xattr.c:2371 #3: ffffffff8e291830 (dquot_srcu){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:116 [inline] #3: ffffffff8e291830 (dquot_srcu){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:215 [inline] #3: ffffffff8e291830 (dquot_srcu){.+.+}-{0:0}, at: dquot_alloc_inode+0x1bf/0xc90 fs/quota/dquot.c:1765 #4: ffff88807aac00a8 (&dquot->dq_lock){+.+.}-{3:3}, at: dquot_commit+0x5b/0x520 fs/quota/dquot.c:507 #5: ffff8880227c2210 (&s->s_dquot.dqio_sem){++++}-{3:3}, at: v2_write_dquot+0x9c/0x2a0 fs/quota/quota_v2.c:369 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 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+0xfb0/0xff0 kernel/hung_task.c:379 kthread+0x2f2/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 11 Comm: kworker/u8:1 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:_static_cpu_has arch/x86/include/asm/cpufeature.h:171 [inline] RIP: 0010:build_cr3 arch/x86/mm/tlb.c:162 [inline] RIP: 0010:load_new_mm_cr3+0xbb/0x210 arch/x86/mm/tlb.c:289 Code: 06 48 8d bc c3 96 d1 03 00 be 08 00 00 00 e8 ec 41 b6 00 48 0f ab ab 96 d1 03 00 f3 0f 1e fa 4c 89 ff e8 38 e9 ff ff 4c 09 f0 1b 01 00 00 f3 0f 1e fa 41 0f b7 cd 81 f9 ff 07 00 00 0f 83 a4 RSP: 0018:ffffc90000107608 EFLAGS: 00000006 RAX: 0000000014c64000 RBX: 0000000000000001 RCX: ffff888016eabc00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000107730 R08: ffffffff8141ef1c R09: 1ffff1100298d0c4 R10: dffffc0000000000 R11: ffffed100298d0c5 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff888014c64000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d97672d600 CR3: 000000000df32000 CR4: 0000000000350ef0 Call Trace: switch_mm_irqs_off+0x7c1/0xae0 use_temporary_mm arch/x86/kernel/alternative.c:1810 [inline] __text_poke+0x71a/0xd30 arch/x86/kernel/alternative.c:1921 text_poke arch/x86/kernel/alternative.c:1985 [inline] text_poke_bp_batch+0x59c/0xb30 arch/x86/kernel/alternative.c:2318 text_poke_flush arch/x86/kernel/alternative.c:2487 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2494 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:826 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0xa02/0x1770 kernel/workqueue.c:3335 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416 kthread+0x2f2/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 2.135 msecs