# CVE-2026-89576: dm-era: fix shadowed superblock leak on take-snap failure

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-09-11T19:44:43.777Z
- Modified: 2026-10-19T09:17:53.620Z
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from eec40579d84873dfb7021eb24c50360f073237c5 before 54dd21ca945ecc07885012b9f3e8197f091cfba0; from eec40579d84873dfb7021eb24c50360f073237c5 before ef00efb6fcaee88f50891279ceced17c614e97f7; from eec40579d84873dfb7021eb24c50360f073237c5 before e9fa68b89214bc65af0ef963af7ec3cce9f866e0; from eec40579d84873dfb7021eb24c50360f073237c5 before dc731d7fddfd6149f5e88ea080475d18c36d3c64; from eec40579d84873dfb7021eb24c50360f073237c5 before d66ceeefb87ddb097b0546bafc581380b816b048; from eec40579d84873dfb7021eb24c50360f073237c5 before 36ff918637e3517f732188a3c39dbeae5b9cfb1b; from eec40579d84873dfb7021eb24c50360f073237c5 before 6876ca330e741fb8886d12070cb6a7f9cb67257e; from eec40579d84873dfb7021eb24c50360f073237c5 before 39c5aa3bd8ec3912d2cd0b3fe092642b0d2b0713; 3.15 (not affected: before 3.15; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.109 up to 6.12.*; from 6.18.50 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/54dd21ca945ecc07885012b9f3e8197f091cfba0>
- <https://git.kernel.org/stable/c/ef00efb6fcaee88f50891279ceced17c614e97f7>
- <https://git.kernel.org/stable/c/e9fa68b89214bc65af0ef963af7ec3cce9f866e0>
- <https://git.kernel.org/stable/c/dc731d7fddfd6149f5e88ea080475d18c36d3c64>
- <https://git.kernel.org/stable/c/d66ceeefb87ddb097b0546bafc581380b816b048>
- <https://git.kernel.org/stable/c/36ff918637e3517f732188a3c39dbeae5b9cfb1b>
- <https://git.kernel.org/stable/c/6876ca330e741fb8886d12070cb6a7f9cb67257e>
- <https://git.kernel.org/stable/c/39c5aa3bd8ec3912d2cd0b3fe092642b0d2b0713>

## Sources

- CVE List: [CVE-2026-89576](https://www.cve.org/CVERecord?id=CVE-2026-89576), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89576](https://nvd.nist.gov/vuln/detail/CVE-2026-89576), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89576 · Whole record: https://cve.day/CVE-2026-89576.json · Rebuilt by cve.day 2026-11-25T22:59:38.071Z
