NFS/localio: prevent direct reclaim recursion into NFS via nfs_writepages (Linux Linux)

CVE-2026-46256
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 3 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Modified

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

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 70ba381e1a431245c137ed597ec6a05991c79bd9 < 9118e1cab8a5571c6a95011f77ff28480aee9cb0
affected : ≥ 70ba381e1a431245c137ed597ec6a05991c79bd9 < ae26a4cf2baf0a44c538dc093504d1994b02dade
affected : ≥ 70ba381e1a431245c137ed597ec6a05991c79bd9 < 6a5de0c4fc0f217eea945d3d72c34ee30d72cbc9
affected : ≥ 70ba381e1a431245c137ed597ec6a05991c79bd9 < 67435d2d8a33a75f9647724952cb1b18279d2e95
Other versions : unaffected
Linux · Linux
affected : 6.12
unaffected : ≥ 0 < 6.12
unaffected : ≥ 6.12.114 ≤ 6.12.*
unaffected : ≥ 6.18.14 ≤ 6.18.*
unaffected : ≥ 6.19.4 ≤ 6.19.*
unaffected : ≥ 7.0 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD