CVE-2026-143236: NFS/localio: hold the client across an asynchronous LOCALIO probe
In the Linux kernel, the following vulnerability has been resolved:
NFS/localio: hold the client across an asynchronous LOCALIO probe
nfslocalprobeasync() queues the client's own cllocalprobework without a reference on the client, and nfsfreeclient() does not cancel it. The work takes a reference only once it runs. If the last nfsputclient() comes first, for example at umount after an NFSv3 I/O queued a throttled probe, the client is freed with its work queued, and the work then runs on freed memory.
Take the reference when the work is queued, and drop it when the work has run. If the work is already queued, it already holds a reference, and the one just taken is dropped.
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 - Compensating control
In Linux kernel NFS/localio, take a client reference when nfs_local_probe_async() queues cl_local_probe_work, and drop the reference after the work has run.
Event History
Frequently Asked Questions
What systems are most likely to encounter this issue?
Systems using the Linux kernel NFS client with asynchronous LOCALIO probing are affected. The described example involves an NFSv3 I/O operation that queues a throttled probe followed by an unmount that releases the last client reference.
What timing condition causes the unsafe access?
The condition occurs when the client is freed before its queued LOCALIO probe work runs. The queued work can then execute using freed client memory because it did not hold a client reference while waiting in the work queue.
What does the fix change?
The fix takes a client reference when the asynchronous probe is queued and releases it after the work runs. If the work was already queued and therefore already holds a reference, the newly taken reference is dropped.