INFO: task syz-executor274:5071 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-executor274 state:D stack:19472 pid:5071 tgid:5071 ppid:5070 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_free_space+0x974/0xeb0 fs/quota/dquot.c:1930
dquot_free_space_nodirty include/linux/quotaops.h:374 [inline]
ext4_xattr_inode_free_quota+0x125/0x1a0 fs/ext4/xattr.c:948
ext4_xattr_set_entry+0xfce/0x3fd0 fs/ext4/xattr.c:1749
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_lsetxattr fs/xattr.c:694 [inline]
__se_sys_lsetxattr fs/xattr.c:690 [inline]
__x64_sys_lsetxattr+0xb8/0xd0 fs/xattr.c:690
do_syscall_64+0xfd/0x240
entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7fc95339ce19
RSP: 002b:00007ffe8bd11218 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd
RAX: ffffffffffffffda RBX: 0072657070752e79 RCX: 00007fc95339ce19
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000020000000
RBP: 0030656c69662f2e R08: 0000000000000002 R09: 00005555686e94c0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe8bd11240
R13: 00007ffe8bd11468 R14: 431bde82d7b634db R15: 00007fc9533e603b
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/4825:
#0: ffff88802d0f80a0 (&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-executor274/5071:
#0: ffff88807f7b2420 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409
#1: ffff888059f15e00 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:793 [inline]
#1: ffff888059f15e00 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_setxattr+0x1e1/0x430 fs/xattr.c:320
#2: ffff888059f15ac8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#2: ffff888059f15ac8 (&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_free_space+0x1f3/0xeb0 fs/quota/dquot.c:1903
#4: ffff88807ad980a8 (&dquot->dq_lock){+.+.}-{3:3}, at: dquot_commit+0x5b/0x520 fs/quota/dquot.c:507
#5: ffff88807f7b2210 (&s->s_dquot.dqio_sem){++++}-{3:3}, at: v2_write_dquot+0x9c/0x2a0 fs/quota/quota_v2.c:369
=============================================
NMI backtrace for cpu 1
CPU: 1 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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4511 Comm: klogd Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:match_held_lock+0x76/0xb0 kernel/locking/lockdep.c:5231
Code: 48 c7 c2 00 b4 9c 92 48 29 d0 48 c1 f8 03 48 ba 29 5c 8f c2 f5 28 5c 8f 48 0f af d0 bd 01 00 00 00 48 39 ca 74 02 31 ed 89 e8 <5b> 5d e9 23 02 0b 00 90 e8 cd e3 2d f9 85 c0 74 22 83 3d 52 23 13
RSP: 0018:ffffc9000316f920 EFLAGS: 00000046
RAX: 0000000000000001 RBX: ffff88807e390ad8 RCX: 0000000080000000
RDX: ffff88807e390000 RSI: ffffffff8e132020 RDI: ffff88807e390ad8
RBP: 0000000000000001 R08: ffffffff8952cce3 R09: 1ffffffff259caa0
R10: dffffc0000000000 R11: fffffbfff259caa1 R12: 0000000000000246
R13: ffff88807e390000 R14: 00000000ffffffff R15: ffffffff8e132020
FS: 00007f7e466bb380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000564970671600 CR3: 000000002ada8000 CR4: 0000000000350ef0
Call Trace:
__lock_is_held kernel/locking/lockdep.c:5495 [inline]
lock_is_held_type+0xa9/0x190 kernel/locking/lockdep.c:5825
sk_filter_trim_cap+0x28c/0xa70 net/core/filter.c:152
sk_filter include/linux/filter.h:909 [inline]
unix_dgram_sendmsg+0xb10/0x1f80 net/unix/af_unix.c:2053
sock_sendmsg_nosec net/socket.c:730 [inline]
__sock_sendmsg+0x223/0x270 net/socket.c:745
__sys_sendto+0x3a4/0x4f0 net/socket.c:2191
__do_sys_sendto net/socket.c:2203 [inline]
__se_sys_sendto net/socket.c:2199 [inline]
__x64_sys_sendto+0xde/0x100 net/socket.c:2199
do_syscall_64+0xfd/0x240
entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7f7e4681d9b5
Code: 8b 44 24 08 48 83 c4 28 48 98 c3 48 98 c3 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 26 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 7a 48 8b 15 44 c4 0c 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffd87db3618 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f7e4681d9b5
RDX: 000000000000004d RSI: 0000563e36e8cc70 RDI: 0000000000000003
RBP: 0000563e36e88910 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000013
R13: 00007f7e469ab212 R14: 00007ffd87db3718 R15: 0000000000000000
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.795 msecs