CVE-2026-143132: netfs: don't hang a read whose retry is abandoned
In the Linux kernel, the following vulnerability has been resolved:
netfs: don't hang a read whose retry is abandoned
When ->prepareread() fails while retrying a read, or a subrequest can't be allocated, netfsretryreadsubrequests() marks the remaining subrequests failed without reissuing them. If none was reissued in that pass, nothing is in progress any more to wake the collector, which returned after the retry, so an offloaded read (readahead, async direct I/O) never completes and its folios stay locked.
Wake the collector after abandoning, so it collects the failed subrequests and completes the request.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7
Event History
Frequently Asked Questions
What workloads are most likely to be affected?
The issue affects offloaded reads, specifically readahead and asynchronous direct I/O. Affected operations can fail to complete and leave their folios locked when a read retry is abandoned.
What condition triggers the hang?
The condition occurs during a read retry if prepare_read() fails or a subrequest cannot be allocated. The remaining subrequests are marked failed without being reissued, and if no subrequest was reissued, no in-progress work remains to wake the collector.
How can I recognize a potentially affected system?
Look for readahead or asynchronous direct-I/O reads that never complete, accompanied by folios that remain locked. The described failure path involves abandoned retries caused by prepare_read() failure or subrequest allocation failure.