CVE-2025-22000

MediumCVSS 5.5/10Last modified Jun 17, 2026

Description

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.

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= c010d47f107f609b9f4d6a103b6dfc53889049e9, < 86368616a9ce51f6b41efa251b6e066893851d67; >= c010d47f107f609b9f4d6a103b6dfc53889049e9, < 92ad820a1f2d95d5a8d6c2bd3f391bbb068a5f9e; >= c010d47f107f609b9f4d6a103b6dfc53889049e9, < 14efb4793519d73fb2902bb0ece319b886e4b4b9
LinuxLinux6.9

References

Timeline

Published
Apr 3, 2025
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2025

CVE-2025-220015.5In the Linux kernel, the following vulnerability has been resolved: accel/qaic: Fix integer overflow in qaic_validate_req() These are u64 CVE-2025-220025.5In the Linux kernel, the following vulnerability has been resolved: netfs: Call `invalidate_cache` only if implemented Many filesystems suCVE-2025-220035.5In the Linux kernel, the following vulnerability has been resolved: can: ucan: fix out of bound read in strscpy() source Commit 7fdaf8966aCVE-2025-220048.6In the Linux kernel, the following vulnerability has been resolved: net: atm: fix use after free in lec_send() The ->send() operation freeCVE-2025-220055.5In the Linux kernel, the following vulnerability has been resolved: ipv6: Fix memleak of nhc_pcpu_rth_output in fib_check_nh_v6_gw(). fib_CVE-2025-220065.5In the Linux kernel, the following vulnerability has been resolved: net: ethernet: ti: am65-cpsw: Fix NAPI registration sequence RegisteriCVE-2025-220075.5In the Linux kernel, the following vulnerability has been resolved: Bluetooth: Fix error code in chan_alloc_skb_cb() The chan_alloc_skb_cbCVE-2025-220085.5In the Linux kernel, the following vulnerability has been resolved: regulator: check that dummy regulator has been probed before using it CVE-2025-220095.5In the Linux kernel, the following vulnerability has been resolved: regulator: dummy: force synchronous probing Sometimes I get a NULL poiCVE-2025-22016.9Broken access control vulnerability in the IcProgress Innovación y Cualificación plugin. This vulnerability allows an attacker to obtain senCVE-2025-220105.5In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Fix soft lockup during bt pages loop Driver runs a for-loop CVE-2025-220115.5In the Linux kernel, the following vulnerability has been resolved: ARM: dts: bcm2711: Fix xHCI power-domain During s2idle tests on the Ra
CVE-2025-22000: Medium severity, CVSS 5.5 | Vulnix