dm-era: fix shadowed superblock leak on take-snap failure (Linux Linux)

CVE-2026-89576
Not available

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 12 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: dm-era: fix shadowed superblock leak on take-snap failure metadata_take_snap() bumps the live superblock refcount and then dm_tm_shadow_block() allocates a new block for the metadata snapshot. If the subsequent dm_sm_inc_block() of writeset_tree_root or era_array_root fails, the function only unlocks the clone and returns. The newly allocated shadow block is never returned to the metadata space map, so each failed take-snap permanently leaks one metadata block. Free the clone with dm_sm_dec_block() on those error paths, matching the final step of metadata_drop_snap().

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected eec40579d84873dfb7021eb24c50360f073237c5 < 54dd21ca945ecc07885012b9f3e8197f091cfba0 ; affected eec40579d84873dfb7021eb24c50360f073237c5 < ef00efb6fcaee88f50891279ceced17c614e97f7 ; affected eec40579d84873dfb7021eb24c50360f073237c5 < e9fa68b89214bc65af0ef963af7ec3cce9f866e0 ; affected eec40579d84873dfb7021eb24c50360f073237c5 < dc731d7fddfd6149f5e88ea080475d18c36d3c64 ; affected eec40579d84873dfb7021eb24c50360f073237c5 < d66ceeefb87ddb097b0546bafc581380b816b048 ; affected eec40579d84873dfb7021eb24c50360f073237c5 < 36ff918637e3517f732188a3c39dbeae5b9cfb1b
Linux · Linuxaffected 3.15 ; unaffected 0 < 3.15 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD