Linux Kernel NFS/LOCALIO Direct Reclaim Recursion Deadlock
CVE-2026-46256 Published on June 3, 2026
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 nfs_writepages
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 nfs_writepages.
Fix LOCALIO's potential for direct reclaim deadlock by ensuring that
all its page cache allocations are done from GFP_NOFS context.
Thanks to Ben Coddington for pointing out commit ad22c7a043c2 ("xfs:
prevent stack overflows from page cache allocation").
Products Associated with CVE-2026-46256
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version 70ba381e1a431245c137ed597ec6a05991c79bd9 and below ae26a4cf2baf0a44c538dc093504d1994b02dade is affected.
- Version 70ba381e1a431245c137ed597ec6a05991c79bd9 and below 6a5de0c4fc0f217eea945d3d72c34ee30d72cbc9 is affected.
- Version 70ba381e1a431245c137ed597ec6a05991c79bd9 and below 67435d2d8a33a75f9647724952cb1b18279d2e95 is affected.
- Version 6.12 is affected.
- Before 6.12 is unaffected.
- Version 6.18.14, <= 6.18.* is unaffected.
- Version 6.19.4, <= 6.19.* is unaffected.
- Version 7.0, <= * is unaffected.