CVE-2025-71072 json
shmem: fix recovery on rename failures
published 2026-01-13 9 mo ago modified 2026-10-21 18 d ago also EUVD-2026-2281
- cvss
- 8.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 30%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
shmem: fix recovery on rename failures
maple_tree insertions can fail if we are seriously short on memory; simple_offset_rename() does not recover well if it runs into that. The same goes for simple_offset_rename_exchange().
Moreover, shmem_whiteout() expects that if it succeeds, the caller will progress to d_move(), i.e. that shmem_rename2() won't fail past the successful call of shmem_whiteout().
Not hard to fix, fortunately - mtree_store() can't fail if the index we are trying to store into is already present in the tree as a singleton.
For simple_offset_rename_exchange() that's enough - we just need to be careful about the order of operations.
For simple_offset_rename() solution is to preinsert the target into the tree for new_dir; the rest can be done without any potentially failing operations.
That preinsertion has to be done in shmem_rename2() rather than in simple_offset_rename() itself - otherwise we'd need to deal with the possibility of failure after successful shmem_whiteout().
Patch / fix
- Linux Linux 6.6.160, 6.12.64, 6.18.3, 6.19
- linux Debian 13 6.12.69-1
- linux Debian 14 6.18.3-1
debian advisories DEBIAN-CVE-2025-71072
- linux Ubuntu 24.04 LTS 6.8.0-110.110
- linux Ubuntu 25.10 6.17.0-22.22
- linux-aws Ubuntu 24.04 LTS 6.8.0-1052.55
- linux-aws Ubuntu 25.10 6.17.0-1012.12
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1054.57
- linux-gcp Ubuntu 25.10 6.17.0-1012.12
- linux-gke Ubuntu 24.04 LTS 6.8.0-1050.56
- linux-ibm Ubuntu 24.04 LTS 6.8.0-1051.51
ubuntu advisories UBUNTU-CVE-2025-71072
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 10.2 6.12.0-211.46.1.el10_2
- rv RHEL 10.2 6.12.0-211.46.1.el10_2
- perf RHEL 10.2 6.12.0-211.46.1.el10_2
- rtla RHEL 10.2 6.12.0-211.46.1.el10_2
- libperf RHEL 10.2 6.12.0-211.46.1.el10_2
- kernel-rt RHEL 10.2 6.12.0-211.46.1.el10_2
- kernel-64k RHEL 10.2 6.12.0-211.46.1.el10_2
- kernel-core RHEL 10.2 6.12.0-211.46.1.el10_2
red hat advisories RHSA-2026:53330
- kernel AlmaLinux 10 6.12.0-211.46.1.el10_2
- rv AlmaLinux 10 6.12.0-211.46.1.el10_2
- perf AlmaLinux 10 6.12.0-211.46.1.el10_2
- rtla AlmaLinux 10 6.12.0-211.46.1.el10_2
- libperf AlmaLinux 10 6.12.0-211.46.1.el10_2
- kernel-rt AlmaLinux 10 6.12.0-211.46.1.el10_2
- kernel-64k AlmaLinux 10 6.12.0-211.46.1.el10_2
- kernel-core AlmaLinux 10 6.12.0-211.46.1.el10_2
almalinux advisories ALSA-2026:53330
- kernel Rocky Linux 10 6.12.0-211.46.1.el10_2
rocky linux advisories RLSA-2026:53330
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-71072 updated cvss 2.5
kernel: shmem: fix recovery on rename failures
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AppStream (v. 10) rv 6.12.0-211.46.1.el10_2, perf 6.12.0-211.46.1.el10_2, rtla 6.12.0-211.46.1.el10_2, python3-perf 6.12.0-211.46.1.el10_2, kernel-devel-matched 6.12.0-211.46.1.el10_2, kernel-64k-devel-matched 6.12.0-211.46.1.el10_2, +7 more Red Hat Enterprise Linux BaseOS (v. 10) kernel 6.12.0-211.46.1.el10_2, kernel-64k 6.12.0-211.46.1.el10_2, kernel-core 6.12.0-211.46.1.el10_2, kernel-tools 6.12.0-211.46.1.el10_2, kernel-modules 6.12.0-211.46.1.el10_2, kernel-64k-core 6.12.0-211.46.1.el10_2, +28 more Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) libperf 6.12.0-211.46.1.el10_2, kernel-debuginfo-common-s390x 6.12.0-211.46.1.el10_2, kernel-debuginfo-common-x86_64 6.12.0-211.46.1.el10_2, kernel-debuginfo-common-aarch64 6.12.0-211.46.1.el10_2, kernel-debuginfo-common-ppc64le 6.12.0-211.46.1.el10_2 Red Hat Enterprise Linux Real Time (v. 10) kernel-rt 6.12.0-211.46.1.el10_2, kernel-rt-64k 6.12.0-211.46.1.el10_2, kernel-rt-core 6.12.0-211.46.1.el10_2, kernel-rt-modules 6.12.0-211.46.1.el10_2, kernel-rt-64k-core 6.12.0-211.46.1.el10_2, kernel-rt-debug-core 6.12.0-211.46.1.el10_2, +14 more Red Hat Enterprise Linux Real Time for NFV (v. 10) kernel-rt 6.12.0-211.46.1.el10_2, kernel-rt-core 6.12.0-211.46.1.el10_2, kernel-rt-modules 6.12.0-211.46.1.el10_2, kernel-rt-debug-core 6.12.0-211.46.1.el10_2, kernel-rt-modules-core 6.12.0-211.46.1.el10_2, kernel-rt-debug-modules 6.12.0-211.46.1.el10_2, +4 morefixed: vendor fix RHSA-2026:53330
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.36% chance of exploitation in the next 30 days, higher than 30% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
Sources
- CVE List CVE-2025-71072
- NVD CVE-2025-71072
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.