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").
CVE-2026-46256
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-46256
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "70ba381e1a431245c137ed597ec6a05991c79bd9",
"lessThan": "9118e1cab8a5571c6a95011f77ff28480aee9cb0",
"versionType": "git"
},
{
"status": "affected",
"version": "70ba381e1a431245c137ed597ec6a05991c79bd9",
"lessThan": "ae26a4cf2baf0a44c538dc093504d1994b02dade",
"versionType": "git"
},
{
"status": "affected",
"version": "70ba381e1a431245c137ed597ec6a05991c79bd9",
"lessThan": "6a5de0c4fc0f217eea945d3d72c34ee30d72cbc9",
"versionType": "git"
},
{
"status": "affected",
"version": "70ba381e1a431245c137ed597ec6a05991c79bd9",
"lessThan": "67435d2d8a33a75f9647724952cb1b18279d2e95",
"versionType": "git"
}
],
"programFiles": [
"fs/nfs/localio.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.12"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.12",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.12.114",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.14",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "6.19.4",
"versionType": "semver",
"lessThanOrEqual": "6.19.*"
},
{
"status": "unaffected",
"version": "7.0",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"fs/nfs/localio.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-46256
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #46337 · Revision 1
- Added to Heist Feed
- Publisher date