CVE-2026-74542

netfs: Fix folio_queue ENOMEM in writeback by adding a mempool

Published Aug 15, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
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

Analysis

AI-generated

Technical impact

During the writeback process in the Linux kernel’s netfs module, the system attempts to allocate a folio queue. If this allocation fails with an ENOMEM error, the code enters a retry loop that repeatedly attempts the same allocation. The result is a resource exhaustion condition that can lock up the writeback thread and prevent normal file system activity. The weakness is characterized by CWE-770 (Memory Allocation Errors) and manifests as a denial‑of‑service condition.

Affected Systems

The flaw exists in the netfs component of the Linux kernel, which is part of the upstream source that is used by virtually all Linux distributions. Any kernel release that omits the recent commit adding a mempool-based allocation path for folio_queue is subject to this issue; no specific kernel versions have been officially identified in the advisory, so systems running pre‑patch kernels are potentially vulnerable.

Risk and Exploitability

The CVSS score of 5.5 and the EPSS score of < 1% indicate a moderate severity and a very low probability of exploitation. The vulnerability appears to be limited to a local or privileged attacker, as it requires triggering a writeback operation in a mounted netfs file system. No known exploits have been reported and the issue is not listed in the CISA KEV catalog. The overall impact is confined to service interruption rather than data compromise. The implemented patch introduces a mempool and proper gfp flags to prevent the sleeping loop, thereby mitigating the denial of service risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a release that includes the netfs writeback patch for CVE-2026-74542.
  • If an immediate kernel update is not possible, limit or disable netfs writeback operations, for example by mounting the affected file system with read‑only or no‑writeback options.
  • Actively monitor system logs for repeated "write_issue" warnings or folio allocation errors to confirm that the patch or workaround is effective.

Generated by OpenCVE AI on August 21, 2026 at 21:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-400
Type Values Removed Values Added
Weaknesses CWE-770
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-400
Type Values Removed Values Added
Description 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
Title netfs: Fix folio_queue ENOMEM in writeback by adding a mempool
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 21, 2026, 12:45 PM
Reserved
Aug 15, 2026, 5:44 AM
Status
Received
Published
Aug 15, 2026, 1:17 PM
Modified
Oct 21, 2026, 1:19 PM
Severity
Moderate
Public date
Aug 15, 2026, 12:00 AM