Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-74542

netfs: Fix folio_queue ENOMEM in writeback by adding a mempool

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

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • cd0277ed0c188dd40e7744e89299af7b78831ca4 to < b343252d6f536203dd0660f676190dcbf6d2ecdcaffected
  • cd0277ed0c188dd40e7744e89299af7b78831ca4 to < 15ed8a9b7c63e9171f5139a6aaa1ffb61809861faffected
  • cd0277ed0c188dd40e7744e89299af7b78831ca4 to < 3f6d7f8a5416d852648d15a05e895f1195ee8a85affected
  • cd0277ed0c188dd40e7744e89299af7b78831ca4 to < 1d78d56c43ef3768183e8370e7367b162700e049affected

Linux Linux

Default version status: affected

  • 6.12affected
  • 0 to < 6.12unaffected
  • 6.12.114 to ≤ 6.12.*unaffected
  • 6.18.57 to ≤ 6.18.*unaffected
  • 7.1.8 to ≤ 7.1.*unaffected
  • 7.2 to ≤ *unaffected

References