dcache: report a Tasks-RCU quiescent state in dentry_kill()

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

dcache: report a Tasks-RCU quiescent state in dentry_kill()

I am constantly seeing the following warning on Meta's fleet:

INFO: rcu_tasks detected stalls on tasks: native_queued_spin_lock_slowpath locked_inode_to_wb_and_lock_list inode_io_list_del evict __dentry_kill shrink_dentry_list shrink_dcache_tree d_invalidate btrfs_delete_subvolume btrfs_ioctl_snap_destroy btrfs_ioctl do_syscall_64

dentry_kill() is the common funnel for dentry teardown: dput(), shrink_dentry_list() and shrink_dcache_tree() all reach it, once per dentry, and its cond_resched() is the only reschedule point on that path.

cond_resched() is not an RCU-tasks quiescent state.

Use cond_resched_tasks_rcu_qs() so the teardown reports an RCU-tasks quiescent state as it proceeds.

ProductVersions
Linux Linux9c5f1d30199d09f7e2776c24ecb63c843ada876d to before d317dcc35da37259653d8082d48e9e1c49956668 Affected9c5f1d30199d09f7e2776c24ecb63c843ada876d to before 918b90d2cda7c81ae4c5e47ee1e2d24fce8914ce Affected9c5f1d30199d09f7e2776c24ecb63c843ada876d to before 4914663dc5abfb3205ddf43586e7aeed08408be3 Affected9c5f1d30199d09f7e2776c24ecb63c843ada876d to before c3a52ae8d5c2d64616e57baeb9cc92c619bb161b Affected9c5f1d30199d09f7e2776c24ecb63c843ada876d to before a7c82e4ded7a8db5812275d33338c4b60837ae39 Affected9c5f1d30199d09f7e2776c24ecb63c843ada876d to before 07d54cfeba41db246bf72642fc8516aa5f265c0e Affected9c5f1d30199d09f7e2776c24ecb63c843ada876d to before e8bcf91b79298ba1d30da616b70cb1c1fcc7b2e7 Affected9c5f1d30199d09f7e2776c24ecb63c843ada876d to before a647a53bc89a046bee4a12a0a5627f2dfaaef807 Affected
Linux Linux4.18 Affectedbefore 4.18 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.