Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

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

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.270, 5.15.221, 6.1.188, 6.12.109, 6.18.50, 6.6.157, 7.2.4
CVEs
CVE-2026-89576
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 03:02 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 11 Sept 2026, 19:44 UTC

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

osv:CVE-2026-89576

Kernel

Fixed versions: 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.109, 6.18.50, 7.2.4

Complete source record
{
  "id": "8fbbd3247778b88080d5c14354ae01c57613a131cefcd6aff4dacaecf9ca8218",
  "url": "https://osv.dev/vulnerability/CVE-2026-89576",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "dm-era: fix shadowed superblock leak on take-snap failure",
    "summary": "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().",
    "evidence": "osv:CVE-2026-89576",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.270",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.221",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.188",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.157",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.109",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.50",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-89576",
      "aliases": [
        "CVE-2026-89576"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "eec40579d84873dfb7021eb24c50360f073237c5"
                },
                {
                  "fixed": "54dd21ca945ecc07885012b9f3e8197f091cfba0"
                },
                {
                  "fixed": "ef00efb6fcaee88f50891279ceced17c614e97f7"
                },
                {
                  "fixed": "e9fa68b89214bc65af0ef963af7ec3cce9f866e0"
                },
                {
                  "fixed": "dc731d7fddfd6149f5e88ea080475d18c36d3c64"
                },
                {
                  "fixed": "d66ceeefb87ddb097b0546bafc581380b816b048"
                },
                {
                  "fixed": "36ff918637e3517f732188a3c39dbeae5b9cfb1b"
                },
                {
                  "fixed": "6876ca330e741fb8886d12070cb6a7f9cb67257e"
                },
                {
                  "fixed": "39c5aa3bd8ec3912d2cd0b3fe092642b0d2b0713"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89576.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.15.0"
                },
                {
                  "fixed": "5.10.270"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.221"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.188"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.157"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.109"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.50"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89576.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.076732460Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/36ff918637e3517f732188a3c39dbeae5b9cfb1b",
        "https://git.kernel.org/stable/c/39c5aa3bd8ec3912d2cd0b3fe092642b0d2b0713",
        "https://git.kernel.org/stable/c/54dd21ca945ecc07885012b9f3e8197f091cfba0",
        "https://git.kernel.org/stable/c/6876ca330e741fb8886d12070cb6a7f9cb67257e",
        "https://git.kernel.org/stable/c/d66ceeefb87ddb097b0546bafc581380b816b048",
        "https://git.kernel.org/stable/c/dc731d7fddfd6149f5e88ea080475d18c36d3c64",
        "https://git.kernel.org/stable/c/e9fa68b89214bc65af0ef963af7ec3cce9f866e0",
        "https://git.kernel.org/stable/c/ef00efb6fcaee88f50891279ceced17c614e97f7",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89576.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-89576",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89576.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-89576",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 517589,
  "published_at": "2026-09-11T19:44:43.777+00:00"
}