Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

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
Kernel
Affected versions
Not specified
Fixed versions
6.12.114, 6.18.14, 6.19.4
CVEs
CVE-2026-46256
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 13:45 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 3 Jun 2026, 15:49 UTC

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

osv:CVE-2026-46256

Kernel

Fixed versions: 6.12.114, 6.18.14, 6.19.4

Complete source record
{
  "id": "692822652d60470a6c5486ad7c92025f485b7cd5fb9c5a6d3ca8c5c89d9dce96",
  "url": "https://osv.dev/vulnerability/CVE-2026-46256",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "NFS/localio: prevent direct reclaim recursion into NFS via nfs_writepages",
    "summary": "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\").",
    "evidence": "osv:CVE-2026-46256",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.114",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.14",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.19.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-46256",
      "aliases": [
        "CVE-2026-46256"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "70ba381e1a431245c137ed597ec6a05991c79bd9"
                },
                {
                  "fixed": "9118e1cab8a5571c6a95011f77ff28480aee9cb0"
                },
                {
                  "fixed": "ae26a4cf2baf0a44c538dc093504d1994b02dade"
                },
                {
                  "fixed": "6a5de0c4fc0f217eea945d3d72c34ee30d72cbc9"
                },
                {
                  "fixed": "67435d2d8a33a75f9647724952cb1b18279d2e95"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46256.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.12.0"
                },
                {
                  "fixed": "6.12.114"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.14"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "6.19.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46256.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.860632094Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/67435d2d8a33a75f9647724952cb1b18279d2e95",
        "https://git.kernel.org/stable/c/6a5de0c4fc0f217eea945d3d72c34ee30d72cbc9",
        "https://git.kernel.org/stable/c/9118e1cab8a5571c6a95011f77ff28480aee9cb0",
        "https://git.kernel.org/stable/c/ae26a4cf2baf0a44c538dc093504d1994b02dade",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46256.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-46256",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46256.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-46256",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 519507,
  "published_at": "2026-06-03T15:49:53.168+00:00"
}