In the Linux kernel, the following vulnerability has been resolved: mm/secretmem: fix GUP-fast succeeding on secretmem folios folio_is_secretmem() currently relies on secretmem folios being LRU folios, to save some cycles.
Overview
In the Linux kernel, the following vulnerability has been resolved: mm/secretmem: fix GUP-fast succeeding on secretmem folios folio_is_secretmem() currently relies on secretmem folios being LRU folios, to save some cycles. However, folios might reside in a folio batch without the LRU flag set, or temporarily have their LRU flag cleared. Consequently, the LRU flag is unreliable for this purpose. In particular, this is the case when secretmem_fault() allocates a fresh page and calls filemap_add_folio()->folio_add_lru(). The folio might be added to the per-cpu folio batch and won't get the LRU flag set until the batch was drained using e.g., lru_add_drain(). Consequently, folio_is_secretmem() might not detect secretmem folios and GUP-fast can succeed in grabbing a secretmem folio, crashing the kernel when we would later try reading/writing to the folio, because the folio has been unmapped from the directmap. Fix it by removing that unreliable check.
- Published
- 5/19/2024
- Last modified
- 8/4/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 5.14, < 5.15.154 | Verify advisory | Source |
linux kernel linux | ≥ 5.16, < 6.1.85 | Verify advisory | Source |
linux kernel linux | ≥ 6.2, < 6.6.26 | Verify advisory | Source |
linux kernel linux | ≥ 6.7, < 6.8.5 | Verify advisory | Source |
linux kernel linux | 6.9 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
Linux Linux | ≥ 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 6564b014af92b677c1f07c44d7f5b595d589cf6e | Verify advisory | Source |
Linux Linux | ≥ 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 9c2b4b657739ecda38e3b383354a29566955ac48 | Verify advisory | Source |
Linux Linux | ≥ 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 43fad1d0284de30159661d0badfc3cbaf7e6f8f8 | Verify advisory | Source |
Linux Linux | ≥ 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 201e4aaf405dfd1308da54448654053004c579b5 | Verify advisory | Source |
Linux Linux | ≥ 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 65291dcfcf8936e1b23cfd7718fdfde7cfaf7706 | Verify advisory | Source |
Linux Linux | 5.14 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.