{"id":"CVE-2025-22000","published":"2025-04-03T07:19:03Z","modified":"2026-05-11T21:10:42Z","title":"mm/huge_memory: drop beyond-EOF folios with the right number of refs","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/huge_memory: drop beyond-EOF folios with the right number of refs\n\nWhen an after-split folio is large and needs to be dropped due to EOF,\nfolio_put_refs(folio, folio_nr_pages(folio)) should be used to drop all\npage cache refs.  Otherwise, the folio will not be freed, causing memory\nleak.\n\nThis leak would happen on a filesystem with blocksize > page_size and a\ntruncate is performed, where the blocksize makes folios split to >0 order\nones, causing truncated folios not being freed.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00281,"percentile":0.13196,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://git.kernel.org/stable/c/86368616a9ce51f6b41efa251b6e066893851d67","tags":[]},{"url":"https://git.kernel.org/stable/c/92ad820a1f2d95d5a8d6c2bd3f391bbb068a5f9e","tags":[]},{"url":"https://git.kernel.org/stable/c/14efb4793519d73fb2902bb0ece319b886e4b4b9","tags":[]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":2.64},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c010d47f107f609b9f4d6a103b6dfc53889049e9, < 86368616a9ce51f6b41efa251b6e066893851d67",">= c010d47f107f609b9f4d6a103b6dfc53889049e9, < 92ad820a1f2d95d5a8d6c2bd3f391bbb068a5f9e",">= c010d47f107f609b9f4d6a103b6dfc53889049e9, < 14efb4793519d73fb2902bb0ece319b886e4b4b9"]},{"vendor":"Linux","product":"Linux","versions":["6.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T17:10:40.636099Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-9595","exploited":false,"provenance":"source"}}