Skip to content
Heist/ feed
Back to feed
UnratedFix available

netfs: Fix folio_queue ENOMEM in writeback by adding a mempool

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: netfs: Fix folio_queue ENOMEM in writeback by adding a mempool Fix the handling of folio_queue allocation failure in writeback by adding a mempool and passing in gfp_t flags to the rolling buffer functions that allocate memory, using the mempool if gfp != GFP_KERNEL. This is then extended upwards and the gfp to be used for a request is stored in the netfs_io_request struct and is then used for both requests and subrequests, eliminating the sleeping loops there. The failure caused: folio != NULL WARNING: fs/netfs/write_issue.c:603 at netfs_writepages+0x883/0xa10 fs/netfs/write_issue.c:603, CPU#3: syz.0.17/5919

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.114, 6.18.57, 7.1.8
CVEs
CVE-2026-74542
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 16:54 UTC · Revision 1

Source evidence

netfs: Fix folio_queue ENOMEM in writeback by adding a mempool

core-osv · Original source

Published 15 Aug 2026, 12:27 UTC

In the Linux kernel, the following vulnerability has been resolved: netfs: Fix folio_queue ENOMEM in writeback by adding a mempool Fix the handling of folio_queue allocation failure in writeback by adding a mempool and passing in gfp_t flags to the rolling buffer functions that allocate memory, using the mempool if gfp != GFP_KERNEL. This is then extended upwards and the gfp to be used for a request is stored in the netfs_io_request struct and is then used for both requests and subrequests, eliminating the sleeping loops there. The failure caused: folio != NULL WARNING: fs/netfs/write_issue.c:603 at netfs_writepages+0x883/0xa10 fs/netfs/write_issue.c:603, CPU#3: syz.0.17/5919

osv:CVE-2026-74542

Kernel

Fixed versions: 6.12.114, 6.18.57, 7.1.8

Complete source record
{
  "id": "a469f3bb5746e429e1696b2e639d60820acb877aa6a1390c4aa348e3fe3986dc",
  "url": "https://osv.dev/vulnerability/CVE-2026-74542",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "netfs: Fix folio_queue ENOMEM in writeback by adding a mempool",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: netfs: Fix folio_queue ENOMEM in writeback by adding a mempool Fix the handling of folio_queue allocation failure in writeback by adding a mempool and passing in gfp_t flags to the rolling buffer functions that allocate memory, using the mempool if gfp != GFP_KERNEL. This is then extended upwards and the gfp to be used for a request is stored in the netfs_io_request struct and is then used for both requests and subrequests, eliminating the sleeping loops there. The failure caused: folio != NULL WARNING: fs/netfs/write_issue.c:603 at netfs_writepages+0x883/0xa10 fs/netfs/write_issue.c:603, CPU#3: syz.0.17/5919",
    "evidence": "osv:CVE-2026-74542",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.114",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.57",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.1.8",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-74542",
      "aliases": [
        "CVE-2026-74542"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "cd0277ed0c188dd40e7744e89299af7b78831ca4"
                },
                {
                  "fixed": "b343252d6f536203dd0660f676190dcbf6d2ecdc"
                },
                {
                  "fixed": "15ed8a9b7c63e9171f5139a6aaa1ffb61809861f"
                },
                {
                  "fixed": "3f6d7f8a5416d852648d15a05e895f1195ee8a85"
                },
                {
                  "fixed": "1d78d56c43ef3768183e8370e7367b162700e049"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74542.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.12.0"
                },
                {
                  "fixed": "6.12.114"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.57"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.1.8"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74542.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:51.100489122Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/15ed8a9b7c63e9171f5139a6aaa1ffb61809861f",
        "https://git.kernel.org/stable/c/1d78d56c43ef3768183e8370e7367b162700e049",
        "https://git.kernel.org/stable/c/3f6d7f8a5416d852648d15a05e895f1195ee8a85",
        "https://git.kernel.org/stable/c/b343252d6f536203dd0660f676190dcbf6d2ecdc",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74542.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-74542",
        "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/74xxx/CVE-2026-74542.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-74542",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 519926,
  "published_at": "2026-08-15T12:27:52.741+00:00"
}