recovery on rename failures in shmem
Linux Linux
At a glance
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().
Source description · CVE List / CNA
System impact
CVSS summary v3.1
- Published:
- Updated:
- EPSS:
- 0.425%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:Linux | Linux | Affected versions:6.6Show full version range for Linux
Git commit ranges (source code)
|
| Vendor:Red Hat | Red Hat Enterprise Linux 6 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux AppStream (v. 10) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux BaseOS (v. 10) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux Real Time (v. 10) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux Real Time for NFV (v. 10) | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Liberty Linux 10 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise High Availability Extension 16.0 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise Server 16.0 | Affected versions:Source does not specify a version range |
1–10 of 15 · Page 1 of 2
CVSS scores and metrics6
Linux · CVE List / CNA (cna)Primary8.2 / 10HighCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Low
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H416baaa9-dc9f-4396-8d5f-8c081fb06d67 · NVD (Secondary)8.2 / 10HighCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Low
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H[email protected] · NVD (Primary)5.5 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCVE-2025-71072 · OSV (source-vector)8.2 / 10HighCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Low
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:HRed Hat · Red Hat VEX (adp)2.5 / 10LowCVSS 3.1Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:LSUSE · SUSE VEX (adp)5.5 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences