CVE-2025-71072
shmem: fix recovery on rename failures
Reported by linux · Published January 13, 2026
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().
EPSS 0.36% · 30.5th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-rt-64k-modules | errata.rockylinux.org | 6.12.0-211.46.1.el10 |
| kernel-abi-stablelists | errata.rockylinux.org | 6.12.0-211.46.1.el10 |
| kernel-debug-devel | errata.rockylinux.org | 6.12.0-211.46.1.el10 |
| kernel-rt-debug-modules-extra | errata.rockylinux.org | 6.12.0-211.46.1.el10 |
| kernel-debug-core | errata.rockylinux.org | 6.12.0-211.46.1.el10 |
| kernel-modules-extra-matched | errata.rockylinux.org | 6.12.0-211.46.1.el10 |
| kernel-rt-64k-devel | errata.rockylinux.org | 6.12.0-211.46.1.el10 |
| kernel-zfcpdump-core | errata.rockylinux.org | 6.12.0-211.46.1.el10 |
| libperf-debuginfo | errata.rockylinux.org | 6.12.0-211.46.1.el10 |
| kernel-rt-debug-modules | errata.rockylinux.org | 6.12.0-211.46.1.el10 |
| kernel-tools-libs | errata.rockylinux.org | 6.12.0-211.46.1.el10 |
| perf | errata.rockylinux.org | 6.12.0-211.46.1.el10 |
1 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a2e459555c5f9da3e619b7e47a63f98574dc75f1, a2e459555c5f9da3e619b7e47a63f98574dc75f1, a2e459555c5f9da3e619b7e47a63f98574dc75f1 |
| Linux | Linux | 6.6, 0, 6.6.160 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| Linux | Linux | *, *, * |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| linux | linux_kernel | 6.6, 6.6, 6.6 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | kernel-livepatch-6.12.64-87.122 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
Timeline
- Jan 13, 2026 CVE Published
- Jan 14, 2026 EPSS Score (30 in total, the first dated here)
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (103 in total, the first dated here)
- Apr 29, 2026 Security Advisory (108 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-71072
vulnetix vdb fixes CVE-2025-71072
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-71072/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart