CVE-2025-22000: mm/huge_memory: drop beyond-EOF folios with the right number of refs

Published Apr 3, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

mm/hugememory: 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, folioputrefs(folio, folionrpages(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 > pagesize and a truncate is performed, where the blocksize makes folios split to >0 order ones, causing truncated folios not being freed.

Affected Software

10 affected components
Linux Linux kernel
Linux Linux kernel>=6.9<6.12.21
Linux Linux kernel>=6.13<6.13.9
Linux Linux kernel=6.14-rc1
Linux Linux kernel=6.14-rc2
Linux Linux kernel=6.14-rc3
Linux Linux kernel=6.14-rc4
Linux Linux kernel=6.14-rc5
Linux Linux kernel=6.14-rc6
Linux Linux kernel=6.14-rc7

Event History

Apr 3, 2025
CVE Published
via MITRE·07:19 AM
Data Sourced
via MITRE·07:19 AM
Description
Data Sourced
via NVD·08:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-22000?

CVE-2025-22000 has been classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2025-22000?

To fix CVE-2025-22000, upgrade to the latest version of the Linux kernel where the vulnerability has been resolved.

3

What versions of the Linux kernel are affected by CVE-2025-22000?

CVE-2025-22000 affects specific versions of the Linux kernel, particularly those prior to the patch release addressing this vulnerability.

4

What does CVE-2025-22000 impact?

CVE-2025-22000 impacts memory management by incorrectly handling large folios after split operations, potentially leading to resource misuse.

5

Is CVE-2025-22000 a remote or local vulnerability?

CVE-2025-22000 is considered a local vulnerability as it requires local access to exploit the memory management flaw.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203