CVE-2026-46256: NFS/localio: prevent direct reclaim recursion into NFS via nfs_writepages
In the Linux kernel, the following vulnerability has been resolved:
NFS/localio: prevent direct reclaim recursion into NFS via nfswritepages
LOCALIO is an NFS loopback mount optimization that avoids using the network for READ, WRITE and COMMIT if the NFS client and server are determined to be on the same system. But because LOCALIO is still fundamentally "just NFS loopback mount" it is susceptible to recursion deadlock via direct reclaim, e.g.: NFS LOCALIO down to XFS and then back into NFS via nfswritepages.
Fix LOCALIO's potential for direct reclaim deadlock by ensuring that all its page cache allocations are done from GFPNOFS context.
Thanks to Ben Coddington for pointing out commit ad22c7a043c2 ("xfs: prevent stack overflows from page cache allocation").
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-46256?
The severity of CVE-2026-46256 is rated at 27.
How do I fix CVE-2026-46256?
To fix CVE-2026-46256, update your Linux kernel to the latest patched version that addresses this vulnerability.
What system components are affected by CVE-2026-46256?
CVE-2026-46256 affects the Linux kernel, specifically the NFS/localio functionality.
What kind of vulnerability is CVE-2026-46256?
CVE-2026-46256 is a vulnerability related to direct reclaim recursion in the NFS module of the Linux kernel.
When was CVE-2026-46256 published?
CVE-2026-46256 was published on June 3, 2026.