{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-138837",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.897Z",
        "datePublished": "2026-11-30T13:25:26.750Z",
        "dateUpdated": "2026-12-02T09:21:26.248Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-02T09:21:26.248Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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->io_client\nvariable. The code would try to free it later with\ndm_io_client_destroy(ps->io_client), causing an invalid pointer\ndereference. Fix this by setting ps->io_client = NULL."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/md/dm-snap-persistent.c"
                    ],
                    "versions": [
                        {
                            "version": "6cca1e7af543aa396b3e4919c251080741a49e69",
                            "lessThan": "d1941a047ab477ace3ae3b22c4e552cff86d6661",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6cca1e7af543aa396b3e4919c251080741a49e69",
                            "lessThan": "5598210206d061f1c4c5a220f0f73ada7821a388",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6cca1e7af543aa396b3e4919c251080741a49e69",
                            "lessThan": "0b2a42b46f9341f1750179440cacaaf41cbd4500",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6cca1e7af543aa396b3e4919c251080741a49e69",
                            "lessThan": "e233fc4f76029af00004f7a37d11627bbfa1de6d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6cca1e7af543aa396b3e4919c251080741a49e69",
                            "lessThan": "202187569441cf41663f5352288bc338839c8307",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6cca1e7af543aa396b3e4919c251080741a49e69",
                            "lessThan": "6b84be6acf4a1e0bc33bbe13faa36ac768e7e1e2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6cca1e7af543aa396b3e4919c251080741a49e69",
                            "lessThan": "e7729f8e7f7773604b8b3003101f9fa392109a71",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6cca1e7af543aa396b3e4919c251080741a49e69",
                            "lessThan": "829c4d21148a205eca864429e06530319e1f92d5",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/md/dm-snap-persistent.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.22",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.22",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.117",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.63",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.4",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.22",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.22",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.22",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.22",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.22",
                                    "versionEndExcluding": "6.12.117"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.22",
                                    "versionEndExcluding": "6.18.63"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.22",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.22",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/d1941a047ab477ace3ae3b22c4e552cff86d6661"
                },
                {
                    "url": "https://git.kernel.org/stable/c/5598210206d061f1c4c5a220f0f73ada7821a388"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0b2a42b46f9341f1750179440cacaaf41cbd4500"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e233fc4f76029af00004f7a37d11627bbfa1de6d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/202187569441cf41663f5352288bc338839c8307"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6b84be6acf4a1e0bc33bbe13faa36ac768e7e1e2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e7729f8e7f7773604b8b3003101f9fa392109a71"
                },
                {
                    "url": "https://git.kernel.org/stable/c/829c4d21148a205eca864429e06530319e1f92d5"
                }
            ],
            "title": "dm-snapshot: fix crash if dm_io_client_create fails",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}