In the Linux kernel, the following vulnerability has been resolved: mm: fix unexpected zeroed page mapping with zram swap Two processes under CLONE_VM cloning, user process can be corrupted by seeing zeroed page unexpectedly.
Overview
In the Linux kernel, the following vulnerability has been resolved: mm: fix unexpected zeroed page mapping with zram swap Two processes under CLONE_VM cloning, user process can be corrupted by seeing zeroed page unexpectedly. CPU A CPU B do_swap_page do_swap_page SWP_SYNCHRONOUS_IO path SWP_SYNCHRONOUS_IO path swap_readpage valid data swap_slot_free_notify delete zram entry swap_readpage zeroed(invalid) data pte_lock map the *zero data* to userspace pte_unlock pte_lock if (!pte_same) goto out_nomap; pte_unlock return and next refault will read zeroed data The swap_slot_free_notify is bogus for CLONE_VM case since it doesn't increase the refcount of swap slot at copy_mm so it couldn't catch up whether it's safe or not to discard data from backing device. In the case, only the lock it could rely on to synchronize swap slot freeing is page table lock. Thus, this patch gets rid of the swap_slot_free_notify function. With this patch, CPU A will see correct data. CPU A CPU B do_swap_page do_swap_page SWP_SYNCHRONOUS_IO path SWP_SYNCHRONOUS_IO path swap_readpage original data pte_lock map the original data swap_free swap_range_free bd_disk->fops->swap_slot_free_notify swap_readpage read zeroed data pte_unlock pte_lock if (!pte_same) goto out_nomap; pte_unlock return on next refault will see mapped data by CPU B The concern of the patch would increase memory consumption since it could keep wasted memory with compressed form in zram as well as uncompressed form in address space. However, most of cases of zram uses no readahead and do_swap_page is followed by swap_free so it will free the compressed form from in zram quickly.
- Published
- 2/26/2025
- 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 | ≥ 4.15, < 4.19.242 | Verify advisory | Source |
linux kernel linux | ≥ 4.20, < 5.4.193 | Verify advisory | Source |
linux kernel linux | ≥ 5.5, < 5.10.112 | Verify advisory | Source |
linux kernel linux | ≥ 5.11, < 5.15.35 | Verify advisory | Source |
linux kernel linux | ≥ 5.16, < 5.17.4 | Verify advisory | Source |
linux kernel linux | 5.18 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
Linux Linux | ≥ 0bcac06f27d7528591c27ac2b093ccd71c5d0168, < f86d55cf616199404c05f5b0c5c41b17351baa02 | Verify advisory | Source |
Linux Linux | ≥ 0bcac06f27d7528591c27ac2b093ccd71c5d0168, < f098f8b9820fe3f2e41aefc4329dfe8a3859d1c1 | Verify advisory | Source |
Linux Linux | ≥ 0bcac06f27d7528591c27ac2b093ccd71c5d0168, < 20ed94f8181a25212e7404e44958e234f407624b | Verify advisory | Source |
Linux Linux | ≥ 0bcac06f27d7528591c27ac2b093ccd71c5d0168, < 12ba1d38115a101c45d8e0ca3aa1181fd148e57f | Verify advisory | Source |
Linux Linux | ≥ 0bcac06f27d7528591c27ac2b093ccd71c5d0168, < afac4b88699a06c8b9369f9d759a1ec3c254b788 | Verify advisory | Source |
Linux Linux | ≥ 0bcac06f27d7528591c27ac2b093ccd71c5d0168, < e914d8f00391520ecc4495dd0ca0124538ab7119 | Verify advisory | Source |
Linux Linux | 4.15 | 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.1. 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.