CVE-2025-22000

EUVD-2025-9595
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.5 MEDIUM
LOCAL
LOW
LOW
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 7%
Affected Products (NVD)
VendorProductVersion
linuxlinux_kernel
6.9 ≤
𝑥
< 6.12.21
linuxlinux_kernel
6.13 ≤
𝑥
< 6.13.9
linuxlinux_kernel
6.14:rc1
linuxlinux_kernel
6.14:rc2
linuxlinux_kernel
6.14:rc3
linuxlinux_kernel
6.14:rc4
linuxlinux_kernel
6.14:rc5
linuxlinux_kernel
6.14:rc6
linuxlinux_kernel
6.14:rc7
𝑥
= Vulnerable software versions
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
bpftool
Amazon Linux 2023
0:6.12.22-27.96.amzn2023
fixed
bpftool-debuginfo
Amazon Linux 2023
0:6.12.22-27.96.amzn2023
fixed
kernel-devel
Amazon Linux 2023
0:6.12.22-27.96.amzn2023
fixed
kernel-headers
Amazon Linux 2023
0:6.12.22-27.96.amzn2023
fixed
kernel-libbpf
Amazon Linux 2023
0:6.12.22-27.96.amzn2023
fixed
kernel-libbpf-debuginfo
Amazon Linux 2023
0:6.12.22-27.96.amzn2023
fixed
kernel-libbpf-devel
Amazon Linux 2023
0:6.12.22-27.96.amzn2023
fixed
kernel-libbpf-static
Amazon Linux 2023
0:6.12.22-27.96.amzn2023
fixed
kernel-livepatch-6.12.22-27.96
Amazon Linux 2023
0:1.0-0.amzn2023
fixed
kernel-modules-extra-common
Amazon Linux 2023
0:6.12.22-27.96.amzn2023
fixed
kernel-tools
Amazon Linux 2023
0:6.12.22-27.96.amzn2023
fixed
kernel-tools-debuginfo
Amazon Linux 2023
0:6.12.22-27.96.amzn2023
fixed
kernel-tools-devel
Amazon Linux 2023
0:6.12.22-27.96.amzn2023
fixed
kernel6.12
Amazon Linux 2023
0:6.12.22-27.96.amzn2023
fixed
kernel6.12-debuginfo
Amazon Linux 2023
0:6.12.22-27.96.amzn2023
fixed
kernel6.12-debuginfo-common-aarch64
Amazon Linux 2023
0:6.12.22-27.96.amzn2023
fixed
kernel6.12-debuginfo-common-x86_64
Amazon Linux 2023
0:6.12.22-27.96.amzn2023
fixed
kernel6.12-modules-extra
Amazon Linux 2023
0:6.12.22-27.96.amzn2023
fixed
perf6.12
Amazon Linux 2023
0:6.12.22-27.96.amzn2023
fixed
perf6.12-debuginfo
Amazon Linux 2023
0:6.12.22-27.96.amzn2023
fixed
python3-perf6.12
Amazon Linux 2023
0:6.12.22-27.96.amzn2023
fixed
python3-perf6.12-debuginfo
Amazon Linux 2023
0:6.12.22-27.96.amzn2023
fixed