INFO: task syz.3.108:6418 blocked for more than 143 seconds.
Not tainted 6.12.0-rc2-syzkaller-00305-g7234e2ea0edd #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.108 state:D stack:23424 pid:6418 tgid:6417 ppid:6221 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5322 [inline]
__schedule+0x1843/0x4ae0 kernel/sched/core.c:6682
__schedule_loop kernel/sched/core.c:6759 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6774
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6831
rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176
__down_write_common kernel/locking/rwsem.c:1304 [inline]
__down_write kernel/locking/rwsem.c:1313 [inline]
down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578
__super_lock fs/super.c:56 [inline]
super_lock+0x196/0x400 fs/super.c:120
user_get_super+0xd2/0x180 fs/super.c:1000
quotactl_block fs/quota/quota.c:890 [inline]
__do_sys_quotactl fs/quota/quota.c:955 [inline]
__se_sys_quotactl+0x527/0xa30 fs/quota/quota.c:917
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f883837dff9
RSP: 002b:00007f88391a4038 EFLAGS: 00000246 ORIG_RAX: 00000000000000b3
RAX: ffffffffffffffda RBX: 00007f8838535f80 RCX: 00007f883837dff9
RDX: 000000000000ee01 RSI: 0000000020006280 RDI: ffffffff80000301
RBP: 00007f88383f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f8838535f80 R15: 00007ffc780fcaf8
INFO: task syz.3.108:6458 blocked for more than 144 seconds.
Not tainted 6.12.0-rc2-syzkaller-00305-g7234e2ea0edd #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.108 state:D stack:25752 pid:6458 tgid:6417 ppid:6221 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5322 [inline]
__schedule+0x1843/0x4ae0 kernel/sched/core.c:6682
__schedule_loop kernel/sched/core.c:6759 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6774
xfs_ail_push_all_sync+0x236/0x310 fs/xfs/xfs_trans_ail.c:726
xfs_log_quiesce+0xdf/0x5b0 fs/xfs/xfs_log.c:1018
xfs_fs_freeze+0x8d/0x1a0 fs/xfs/xfs_super.c:936
freeze_super+0x81b/0xee0 fs/super.c:2107
fs_bdev_freeze+0x1ac/0x320 fs/super.c:1484
bdev_freeze+0xd6/0x220 block/bdev.c:257
xfs_fs_goingdown+0xa9/0x160 fs/xfs/xfs_fsops.c:446
xfs_file_ioctl+0x12e5/0x1a30 fs/xfs/xfs_ioctl.c:1343
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:907 [inline]
__se_sys_ioctl+0xf9/0x170 fs/ioctl.c:893
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f883837dff9
RSP: 002b:00007f8839183038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f8838536058 RCX: 00007f883837dff9
RDX: 000000002001f980 RSI: 000000008004587d RDI: 0000000000000004
RBP: 00007f88383f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f8838536058 R15: 00007ffc780fcaf8
Showing all locks held in the system:
1 lock held by pool_workqueue_/3:
#0: ffffffff8e93d378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline]
#0: ffffffff8e93d378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:976
1 lock held by khungtaskd/30:
#0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720
2 locks held by getty/4982:
#0: ffff88814bfaa0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
1 lock held by syz.3.108/6418:
#0: ffff88805506e0e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline]
#0: ffff88805506e0e0 (&type->s_umount_key#57){++++}-{3:3}, at: super_lock+0x196/0x400 fs/super.c:120
5 locks held by syz.3.108/6458:
#0: ffff888023636930 (&bdev->bd_fsfreeze_mutex){+.+.}-{3:3}, at: bdev_freeze+0x2a/0x220 block/bdev.c:248
#1: ffff88805506e420 (sb_writers#13){++++}-{0:0}, at: sb_wait_write fs/super.c:1896 [inline]
#1: ffff88805506e420 (sb_writers#13){++++}-{0:0}, at: freeze_super+0x4e9/0xee0 fs/super.c:2085
#2: ffff88805506e0e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline]
#2: ffff88805506e0e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
#2: ffff88805506e0e0 (&type->s_umount_key#57){++++}-{3:3}, at: freeze_super+0x4f1/0xee0 fs/super.c:2086
#3: ffff88805506e518 (sb_pagefaults#2){++++}-{0:0}, at: sb_wait_write fs/super.c:1896 [inline]
#3: ffff88805506e518 (sb_pagefaults#2){++++}-{0:0}, at: freeze_super+0x519/0xee0 fs/super.c:2090
#4: ffff88805506e610 (sb_internal#2){++++}-{0:0}, at: sb_wait_write fs/super.c:1896 [inline]
#4: ffff88805506e610 (sb_internal#2){++++}-{0:0}, at: freeze_super+0x7cc/0xee0 fs/super.c:2104
1 lock held by syz.3.138/6832:
#0: ffff88805506e0e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88805506e0e0 (&type->s_umount_key#57){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.3.164/7240:
#0: ffff88805506e0e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88805506e0e0 (&type->s_umount_key#57){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.3.204/7691:
#0: ffff88805506e0e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88805506e0e0 (&type->s_umount_key#57){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.3.224/8117:
#0: ffff88805506e0e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88805506e0e0 (&type->s_umount_key#57){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.4.232/8184:
#0: ffff88805506e0e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88805506e0e0 (&type->s_umount_key#57){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.0.261/8552:
#0: ffffffff8e93d378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline]
#0: ffffffff8e93d378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976
2 locks held by syz.2.264/8560:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc2-syzkaller-00305-g7234e2ea0edd #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
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:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xff4/0x1040 kernel/hung_task.c:379
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 8560 Comm: syz.2.264 Not tainted 6.12.0-rc2-syzkaller-00305-g7234e2ea0edd #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:validate_chain+0x5ce/0x5920 kernel/locking/lockdep.c:3916
Code: 00 00 0f 84 2e 3f 00 00 b8 01 00 00 00 48 c7 84 24 00 01 00 00 0e 36 e0 45 49 c7 04 0c 00 00 00 00 49 c7 44 0c 09 00 00 00 00 <49> c7 44 0c 11 00 00 00 00 49 c7 44 0c 1f 00 00 00 00 49 c7 44 0c
RSP: 0018:ffffc90004acee60 EFLAGS: 00000002
RAX: 0000000000000001 RBX: ffffffff94292d60 RCX: 1ffff92000959dec
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff94292800
RBP: ffffc90004acf160 R08: ffffffff94292807 R09: 1ffffffff2852500
R10: dffffc0000000000 R11: fffffbfff2852501 R12: dffffc0000000000
R13: ffff888024f6c700 R14: 784bb2a7ec10647d R15: ffffffff94292d78
FS: 00007fd0165736c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555577b6a5c8 CR3: 00000000424ce000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__lock_acquire+0x1384/0x2050 kernel/locking/lockdep.c:5202
lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162
__debug_check_no_obj_freed lib/debugobjects.c:978 [inline]
debug_check_no_obj_freed+0x234/0x580 lib/debugobjects.c:1019
free_pages_prepare mm/page_alloc.c:1115 [inline]
free_unref_folios+0x59c/0x18a0 mm/page_alloc.c:2686
folios_put_refs+0x76c/0x860 mm/swap.c:1007
folio_batch_release include/linux/pagevec.h:101 [inline]
shmem_undo_range+0x64c/0x1cf0 mm/shmem.c:1032
shmem_truncate_range mm/shmem.c:1144 [inline]
shmem_evict_inode+0x29b/0xa80 mm/shmem.c:1272
evict+0x4e8/0x9b0 fs/inode.c:725
__dentry_kill+0x20d/0x630 fs/dcache.c:615
dput+0x19f/0x2b0 fs/dcache.c:857
__fput+0x5d2/0x880 fs/file_table.c:439
__do_sys_close fs/open.c:1565 [inline]
__se_sys_close fs/open.c:1550 [inline]
__x64_sys_close+0x7f/0x110 fs/open.c:1550
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd01577cc8a
Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 13 8c 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 73 8c 02 00 8b 44 24
RSP: 002b:00007fd016572e00 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 00007fd01577cc8a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007
RBP: 0000000000000010 R08: 0000000000000000 R09: 0000000000009841
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000007
R13: 00007fd016572ef0 R14: 00007fd016572eb0 R15: 00007fd00ae00000