CVE-2026-74542

Source
https://cve.org/CVERecord?id=CVE-2026-74542
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74542.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74542
Downstream
Published
2026-08-15T12:27:52Z
Modified
2026-08-18T03:31:20Z
Summary
netfs: Fix folio_queue ENOMEM in writeback by adding a mempool
Details

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
Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74542.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cd0277ed0c188dd40e7744e89299af7b78831ca4
Fixed
3f6d7f8a5416d852648d15a05e895f1195ee8a85
Fixed
1d78d56c43ef3768183e8370e7367b162700e049

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74542.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.12.0
Fixed
7.1.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74542.json"