{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2"
            },
            {
              "fixed": "d1941a047ab477ace3ae3b22c4e552cff86d6661"
            },
            {
              "fixed": "5598210206d061f1c4c5a220f0f73ada7821a388"
            },
            {
              "fixed": "0b2a42b46f9341f1750179440cacaaf41cbd4500"
            },
            {
              "fixed": "e233fc4f76029af00004f7a37d11627bbfa1de6d"
            },
            {
              "fixed": "202187569441cf41663f5352288bc338839c8307"
            },
            {
              "fixed": "6b84be6acf4a1e0bc33bbe13faa36ac768e7e1e2"
            },
            {
              "fixed": "e7729f8e7f7773604b8b3003101f9fa392109a71"
            },
            {
              "fixed": "829c4d21148a205eca864429e06530319e1f92d5"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138837.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndm-snapshot: fix crash if dm_io_client_create fails\n\nIf dm_io_client_create() fails, it stores error into the ps-\u003eio_client\nvariable. The code would try to free it later with\ndm_io_client_destroy(ps-\u003eio_client), causing an invalid pointer\ndereference. Fix this by setting ps-\u003eio_client = NULL.",
  "id": "CVE-2026-138837",
  "modified": "2026-11-30T14:45:25.711487896Z",
  "published": "2026-11-30T13:25:26.750Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0b2a42b46f9341f1750179440cacaaf41cbd4500"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/202187569441cf41663f5352288bc338839c8307"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5598210206d061f1c4c5a220f0f73ada7821a388"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6b84be6acf4a1e0bc33bbe13faa36ac768e7e1e2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/829c4d21148a205eca864429e06530319e1f92d5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d1941a047ab477ace3ae3b22c4e552cff86d6661"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e233fc4f76029af00004f7a37d11627bbfa1de6d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e7729f8e7f7773604b8b3003101f9fa392109a71"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138837.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138837"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "dm-snapshot: fix crash if dm_io_client_create fails"
}