{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139680",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.947Z",
        "datePublished": "2026-11-30T13:36:59.302Z",
        "dateUpdated": "2026-11-30T13:36:59.302Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:36:59.302Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid5: setup_conf: Fix null-ptr-def in error handling path\n\nFor raid5 setup_conf, if an error(eg. bioset_init fails) happens before\n'conf->mddev = mddev', following error handling path could trigger a\nnull-ptr-def problem:\n\n free_conf\n  log_exit\n   raid5_has_ppl\n    test_bit(MD_HAS_PPL, &conf->mddev->flags) // conf->mddev is NULL !\n\nFix it by initializing conf->mddev in advance."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/md/raid5.c"
                    ],
                    "versions": [
                        {
                            "version": "3418d036c81dcb604b7c7c71b209d5890a8418aa",
                            "lessThan": "241748f206c38042dc289944bfa5527a2a714f6d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3418d036c81dcb604b7c7c71b209d5890a8418aa",
                            "lessThan": "6786c076ef4ff85b0ec9e9a9558153599b8316cd",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3418d036c81dcb604b7c7c71b209d5890a8418aa",
                            "lessThan": "c9fcd1bd5dc42f1cb2af5c08ea42261f383fd8ff",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3418d036c81dcb604b7c7c71b209d5890a8418aa",
                            "lessThan": "a11f75a0b24b761d50cf5d422e6b0776a3ce9006",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3418d036c81dcb604b7c7c71b209d5890a8418aa",
                            "lessThan": "0588354036c98f8d293f15462bbf0631b60bb9bb",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3418d036c81dcb604b7c7c71b209d5890a8418aa",
                            "lessThan": "1acc56bd8896fe2bb1974fdc61398a4a40037a3e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3418d036c81dcb604b7c7c71b209d5890a8418aa",
                            "lessThan": "e12457f33c3a5bd1270db85b05bf97a75c273680",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3418d036c81dcb604b7c7c71b209d5890a8418aa",
                            "lessThan": "eba5f518701b1c7f2d883504f89c41611bd2de46",
                            "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/raid5.c"
                    ],
                    "versions": [
                        {
                            "version": "4.12",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.12",
                            "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.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "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": "4.12",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/241748f206c38042dc289944bfa5527a2a714f6d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6786c076ef4ff85b0ec9e9a9558153599b8316cd"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c9fcd1bd5dc42f1cb2af5c08ea42261f383fd8ff"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a11f75a0b24b761d50cf5d422e6b0776a3ce9006"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0588354036c98f8d293f15462bbf0631b60bb9bb"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1acc56bd8896fe2bb1974fdc61398a4a40037a3e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e12457f33c3a5bd1270db85b05bf97a75c273680"
                },
                {
                    "url": "https://git.kernel.org/stable/c/eba5f518701b1c7f2d883504f89c41611bd2de46"
                }
            ],
            "title": "md/raid5: setup_conf: Fix null-ptr-def in error handling path",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}