First published: Thu Apr 03 2025(Updated: )
In the Linux kernel, the following vulnerability has been resolved: mm/huge_memory: drop beyond-EOF folios with the right number of refs When an after-split folio is large and needs to be dropped due to EOF, folio_put_refs(folio, folio_nr_pages(folio)) should be used to drop all page cache refs. Otherwise, the folio will not be freed, causing memory leak. This leak would happen on a filesystem with blocksize > page_size and a truncate is performed, where the blocksize makes folios split to >0 order ones, causing truncated folios not being freed.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | ||
Linux Kernel | >=6.9<6.12.21 | |
Linux Kernel | >=6.13<6.13.9 | |
Linux Kernel | =6.14-rc1 | |
Linux Kernel | =6.14-rc2 | |
Linux Kernel | =6.14-rc3 | |
Linux Kernel | =6.14-rc4 | |
Linux Kernel | =6.14-rc5 | |
Linux Kernel | =6.14-rc6 | |
Linux Kernel | =6.14-rc7 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2025-22000 has been classified as a medium severity vulnerability in the Linux kernel.
To fix CVE-2025-22000, upgrade to the latest version of the Linux kernel where the vulnerability has been resolved.
CVE-2025-22000 affects specific versions of the Linux kernel, particularly those prior to the patch release addressing this vulnerability.
CVE-2025-22000 impacts memory management by incorrectly handling large folios after split operations, potentially leading to resource misuse.
CVE-2025-22000 is considered a local vulnerability as it requires local access to exploit the memory management flaw.