Back to CVE catalog
CVE-2025-71072

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

Attack complexityLow
ConfidentialityNone
IntegrityLow
AvailabilityHigh

CVSS summary v3.1

8.2High
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 and affected versions
Vendor:LinuxLinuxAffected versions:
6.6Show full version range for Linux
  • Other versions are affected by default; consult the source for exceptions.
  • Other source statuses: unaffected: < 6.6; unaffected: ≥ 6.6.160, ≤ 6.6.*; unaffected: ≥ 6.12.64, ≤ 6.12.*; unaffected: ≥ 6.18.3, ≤ 6.18.*; unaffected: ≥ 6.19

Git commit ranges (source code)

  • From commit a2e459555c5f9da3e619b7e47a63f98574dc75f1; before commit 8fdbc6f9a994eb327868a4aa74a58953f31a2d0f
  • From commit a2e459555c5f9da3e619b7e47a63f98574dc75f1; before commit 4b0fe71fb3965d0db83cdfc2f4fe0b3227d70113
  • From commit a2e459555c5f9da3e619b7e47a63f98574dc75f1; before commit 4642686699a46718d7f2fb5acd1e9d866a9d9cca
  • From commit a2e459555c5f9da3e619b7e47a63f98574dc75f1; before commit e1b4c6a58304fd490124cc2b454d80edc786665c
Vendor:Red HatRed Hat Enterprise Linux 6Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux AppStream (v. 10)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux BaseOS (v. 10)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux CodeReady Linux Builder (v. 10)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux Real Time (v. 10)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux Real Time for NFV (v. 10)Affected versions:Source does not specify a version range
Vendor:SUSESUSE Liberty Linux 10Affected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise High Availability Extension 16.0Affected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise Server 16.0Affected 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:H
416baaa9-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:H
CVE-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:H
Red 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:L
SUSE · 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:H

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories12

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