{
  "id": "CVE-2026-46107",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-46107",
  "published_at": "2026-05-28T09:35:13.051Z",
  "title": "dm-thin: fix metadata refcount underflow",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\ndm-thin: fix metadata refcount underflow\n\nThere's a bug in dm-thin in the function rebalance_children. If the\ninternal btree node has one entry, the code tries to copy all btree\nentries from the node's child to the node itself and then decrement the\nchild's reference count.\n\nIf the child node is shared (it has reference count \u003e 1), we won't free\nit, so there would be two pointers to each of the grandchildren nodes.\nBut the reference counts of the grandchildren is not increased, thus the\nreference count doesn't match the number of pointers that point to the\ngrandchildren. This results in \"device mapper: space map common: unable\nto decrement block\" errors.\n\nFix this bug by incrementing reference counts on the grandchildren if the\nbtree node is shared.",
  "cwe": "CWE-667",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4, \u003c b719d12cb94df345e9ad2715fd0abe9afcaeb111",
          "\u003e= 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4, \u003c f49b41c9eb7c6ff00df27cd49cea210abbadd8ad",
          "\u003e= 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4, \u003c f06f6aededd792a754cd677c02b3d3016d868c2c",
          "\u003e= 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4, \u003c 12161e03d33afce781f68fa11cc6060538862fad",
          "\u003e= 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4, \u003c 323d252a4a378834e4fe68298ca61cfc5dd3a460",
          "\u003e= 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4, \u003c 85311a585a26640760cd0f3349ab9f2905691044",
          "\u003e= 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4, \u003c 5ec0debbcfd43596e32c1239e993de06a704e04c",
          "\u003e= 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4, \u003c 09a65adc7d8bbfce06392cb6d375468e2728ead5"
        ],
        "fixed_in": [
          "b719d12cb94df345e9ad2715fd0abe9afcaeb111",
          "f49b41c9eb7c6ff00df27cd49cea210abbadd8ad",
          "f06f6aededd792a754cd677c02b3d3016d868c2c",
          "12161e03d33afce781f68fa11cc6060538862fad",
          "323d252a4a378834e4fe68298ca61cfc5dd3a460",
          "85311a585a26640760cd0f3349ab9f2905691044",
          "5ec0debbcfd43596e32c1239e993de06a704e04c",
          "09a65adc7d8bbfce06392cb6d375468e2728ead5"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "3.2"
        ],
        "fixed_in": [
          "0",
          "5.10.259",
          "5.15.209",
          "6.1.175",
          "6.6.140",
          "6.12.88",
          "6.18.30",
          "7.0.7",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to b719d12cb94df345e9ad2715fd0abe9afcaeb111 or f49b41c9eb7c6ff00df27cd49cea210abbadd8ad or f06f6aededd792a754cd677c02b3d3016d868c2c or 12161e03d33afce781f68fa11cc6060538862fad or 323d252a4a378834e4fe68298ca61cfc5dd3a460 or 85311a585a26640760cd0f3349ab9f2905691044 or 5ec0debbcfd43596e32c1239e993de06a704e04c or 09a65adc7d8bbfce06392cb6d375468e2728ead5 or later.",
      "Upgrade Linux to 0 or 5.10.259 or 5.15.209 or 6.1.175 or 6.6.140 or 6.12.88 or 6.18.30 or 7.0.7 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
