shmem: fix recovery on rename failures
Published Jan 13, 2026
8.2
HIGHCVSS 3.1
EPSS 0.28%
Description
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().
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 6.6StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<6.6
- Version 6.12.64StatusunaffectedConstraints<=6.12.*
- Version 6.18.3StatusunaffectedConstraints<=6.18.*
- Version 6.19StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
- ≥ 6.6.1 · < 6.12.64
- ≥ 6.13 · < 6.18.3
- 6.6
- 6.19
- 6.19
- 6.19
- 6.19
- 6.19
- 6.19
- 6.19
- 6.19
No data.
Red Hat Enterprise Linux 10
kernel-0:6.12.0-211.46.1.el10_2
Fixed · RHSA-2026:53330
Red Hat Enterprise Linux 6
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel-0:6.12.0-211.46.1.el10_2 | Fixed | RHSA-2026:53330 |
| Red Hat Enterprise Linux 6 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Triggering this vulnerability requires extreme memory exhaustion conditions during tmpfs rename operations. Normal system operation with adequate memory is unaffected. The filesystem inconsistency could cause subsequent directory operations to fail unexpectedly.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
2 other sources (CVE.org, Red Hat) ▾
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
Jan–Oct 2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (3 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.28% (0.00282) | 18.66th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.12% (0.00121) | 2.21th | v5 (v2026.06.15) |
| Jan 14, 2026 | 0.02% (0.00017) | 3.13th | v4 (v2025.03.14) |
References (8)
- https://access.redhat.com/security/cve/CVE-2025-71072 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2429083 Issue Tracking
- https://git.kernel.org/stable/c/4642686699a46718d7f2fb5acd1e9d866a9d9cca Patch
- https://git.kernel.org/stable/c/4b0fe71fb3965d0db83cdfc2f4fe0b3227d70113 Patch
- https://git.kernel.org/stable/c/e1b4c6a58304fd490124cc2b454d80edc786665c Patch
- https://lore.kernel.org/linux-cve-announce/2026011325-CVE-2025-71072-b52b@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2025-71072
- https://www.cve.org/CVERecord?id=CVE-2025-71072
Change history (0)
No recorded changes yet.