Bug 2517042 (CVE-2026-74542) - CVE-2026-74542 kernel: netfs: Fix folio_queue ENOMEM in writeback by adding a mempool
Summary: CVE-2026-74542 kernel: netfs: Fix folio_queue ENOMEM in writeback by adding a...
Keywords:
Status: NEW
Alias: CVE-2026-74542
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-15 12:46 UTC by OSIDB Bzimport
Modified: 2026-08-19 18:24 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-15 12:46:21 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

Comment 1 Mauro Matteo Cascella 2026-08-19 18:19:34 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026081548-CVE-2026-74542-883e@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.