CVE-2025-68356 in Folio products
In the Linux kernel, the following vulnerability has been resolved: gfs2: Prevent recursive memory reclaim Function new_inode() returns a new inode with inode->i_mapping->gfp_mask set to GFP_HIGHUSER_MOVABLE. This value includes the __GFP_FS flag, so allocations in that address space can recurse into filesystem m...
Affects 1 product from 3 vendors. Facts below cite their sources.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In the Linux kernel, the following vulnerability has been resolved: gfs2: Prevent recursive memory reclaim Function new_inode() returns a new inode with inode->i_mapping->gfp_mask set to GFP_HIGHUSER_MOVABLE. This value includes the __GFP_FS flag, so allocations in that address space can recurse into filesystem memory reclaim. We don't want that to happen because it can consume a significant amount of stack memory. Worse than that is that it can also deadlock: for example, in several places, gfs2_unstuff_dinode() is called inside filesystem transactions. This calls filemap_grab_folio(), which can allocate a new folio, which can trigger memory reclaim. If memory reclaim recurses into the filesystem and starts another transaction, a deadlock will ensue. To fix these kinds of problems, prevent memory reclaim from recursing into filesystem code by making sure that the gfp_mask of inode address spaces doesn't include __GFP_FS. The "meta" and resource group address spaces were already using GFP_NOFS as their gfp_mask (which doesn't include __GFP_FS). The default value of GFP_HIGHUSER_MOVABLE is less restrictive than GFP_NOFS, though. To avoid being overly limiting, use the default value and only knock off the __GFP_FS flag. I'm not sure if this will actually make a difference, but it also shouldn't hurt. This patch is loosely based on commit ad22c7a043c2 ("xfs: prevent stack overflows from page cache allocation"). Fixes xfstest generic/273.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-68356 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-030054-I |
| Published | 2025-12-24 |
| Last modified | 2026-10-13 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A vulnerability in the Linux kernel's GFS2 filesystem could lead to recursive memory reclaim, potentially consuming significant system resources.
The vulnerability arises from the new_inode() function setting inode->i_mapping->gfp_mask to GFP_HIGHUSER_MOVABLE, which includes the __GFP_FS flag. This allows allocations in the address space to recurse into filesystem memory reclaim, which is undesirable.
Questions
What is CVE-2025-68356?
A vulnerability in the Linux kernel's GFS2 filesystem could lead to recursive memory reclaim, potentially consuming significant system resources.
Is CVE-2025-68356 actively exploited?
No confirmed active exploitation of CVE-2025-68356 as of 2026-10-14.
How do I remediate CVE-2025-68356?
Priority: MEDIUM.
What systems are affected by CVE-2025-68356?
CVE-2025-68356 affects Folio; Kernel; Linux Linux.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Folio","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-13.