CVE-2026-138831: mm/shmem: report RCU-tasks quiescent states while undoing a range

Published Nov 30, 2026
·
Updated

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

mm/shmem: report RCU-tasks quiescent states while undoing a range

This shows up in the Meta fleet on ftruncate() of large tmpfs files:

INFO: rcutasks detected stalls on tasks: 00000000752fd185: .. nvcsw: 59455/59455 holdout: 1 idlecpu: -1/0 task:rocksdb:bottom state:R running task foliosplit findgetentry findgetentries truncateinodepartialfolio shmemundorange shmemsetattr notifychange doftruncate x64sysftruncate dosyscall64

shmemundorange() walks the whole of the requested range in foliobatch sized steps, twice, and its two condresched() calls are the only reschedule points in that walk.

condresched() is not an RCU-tasks quiescent state. Use condreschedtasksrcuqs() at both points so the walk reports an RCU-tasks quiescent state as it proceeds.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In mm/shmem's shmem_undo_range(), replace both cond_resched() calls with cond_resched_tasks_rcu_qs() so the range walk reports RCU-tasks quiescent states.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:25 PM
Data Sourced
via MITRE·01:25 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203