# CVE-2026-46256: NFS/localio: prevent direct reclaim recursion into NFS via nfs_writepages

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-06-03T15:49:53.168Z
- Modified: 2026-10-21T13:19:05.943Z
- Weaknesses: CWE-667
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 70ba381e1a431245c137ed597ec6a05991c79bd9 before 9118e1cab8a5571c6a95011f77ff28480aee9cb0; from 70ba381e1a431245c137ed597ec6a05991c79bd9 before ae26a4cf2baf0a44c538dc093504d1994b02dade; from 70ba381e1a431245c137ed597ec6a05991c79bd9 before 6a5de0c4fc0f217eea945d3d72c34ee30d72cbc9; from 70ba381e1a431245c137ed597ec6a05991c79bd9 before 67435d2d8a33a75f9647724952cb1b18279d2e95; 6.12 (not affected: before 6.12; from 6.12.114 up to 6.12.*; from 6.18.14 up to 6.18.*; from 6.19.4 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.12 before 6.18.14; from 6.19 before 6.19.4

## References

- <https://git.kernel.org/stable/c/9118e1cab8a5571c6a95011f77ff28480aee9cb0>
- <https://git.kernel.org/stable/c/ae26a4cf2baf0a44c538dc093504d1994b02dade> (patch)
- <https://git.kernel.org/stable/c/6a5de0c4fc0f217eea945d3d72c34ee30d72cbc9> (patch)
- <https://git.kernel.org/stable/c/67435d2d8a33a75f9647724952cb1b18279d2e95> (patch)

## Sources

- CVE List: [CVE-2026-46256](https://www.cve.org/CVERecord?id=CVE-2026-46256), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-46256](https://nvd.nist.gov/vuln/detail/CVE-2026-46256), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2026-46256 · Whole record: https://cve.day/CVE-2026-46256.json · Rebuilt by cve.day 2026-11-25T22:59:23.658Z
