CVE-2026-46256

NFS/localio: prevent direct reclaim recursion into NFS via nfs_writepages

State
Published
Severity
Not scored
Published
Jun 3, 2026
Updated
Oct 21, 2026
Reserved
May 13, 2026

Read the record on cve.org

Description

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").

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 70ba381e1a431245c137ed597ec6a05991c79bd9 to before 9118e1cab8a5571c6a95011f77ff28480aee9cb0Affected
  • 70ba381e1a431245c137ed597ec6a05991c79bd9 to before ae26a4cf2baf0a44c538dc093504d1994b02dadeAffected
  • 70ba381e1a431245c137ed597ec6a05991c79bd9 to before 6a5de0c4fc0f217eea945d3d72c34ee30d72cbc9Affected
  • 70ba381e1a431245c137ed597ec6a05991c79bd9 to before 67435d2d8a33a75f9647724952cb1b18279d2e95Affected
LinuxLinux
  • 6.12Affected
  • before 6.12Not affected
  • 6.12.114 through 6.12.*Not affected
  • 6.18.14 through 6.18.*Not affected
  • 6.19.4 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.