{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142866",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.334Z",
        "datePublished": "2026-12-03T03:21:06.170Z",
        "dateUpdated": "2026-12-03T03:21:06.170Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T03:21:06.170Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid5: fix NULL pointer dereference in raid5_free_percpu\n\nIf cpuhp_state_add_instance() fails in raid5_alloc_percpu() (e.g., the\nstartup callback raid456_cpu_up_prepare fails due to an allocation\nfailure), conf->node is never added to the cpuhp instance list and\nits pprev remains NULL (from kzalloc initialization).\n\nWhen setup_conf() then jumps to abort, free_conf() calls\nraid5_free_percpu(), which checks conf->percpu (non-NULL, since it was\nallocated before the cpuhp failure) and proceeds to call\ncpuhp_state_remove_instance().  This calls hlist_del() on the unhashed\nnode, which dereferences node->pprev (NULL), causing a kernel panic.\n\nGuard the removal with hlist_unhashed_lockless() so that the cpuhp\ninstance is only removed if it was actually added.  The lockless variant\nuses READ_ONCE() for the pprev read, which is safe here because the\nactual removal is synchronized by cpuhp_state_mutex inside\ncpuhp_state_remove_instance()."
                }
            ],
            "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": "29c6d1bbd7a2cd88a197ea7cef171f616e198526",
                            "lessThan": "408363a4fa9e377b5c9aed07543ffff88a18a6e4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "29c6d1bbd7a2cd88a197ea7cef171f616e198526",
                            "lessThan": "d9128e169d36f8e57a55b2277022e596f9e13730",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "29c6d1bbd7a2cd88a197ea7cef171f616e198526",
                            "lessThan": "febe0bf350cbf38bb75241234aea2948b7f2eb90",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "29c6d1bbd7a2cd88a197ea7cef171f616e198526",
                            "lessThan": "b643d32dfd3cfeac237eb9795dc795f766181342",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "29c6d1bbd7a2cd88a197ea7cef171f616e198526",
                            "lessThan": "9410f368f1b70a564950d714ba3b9b145eaa93dd",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "29c6d1bbd7a2cd88a197ea7cef171f616e198526",
                            "lessThan": "45ceac48961d92e1d056457a5690cd95d2f25450",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "29c6d1bbd7a2cd88a197ea7cef171f616e198526",
                            "lessThan": "8b8435630e45636664fb9bb0da7f0822be955464",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "29c6d1bbd7a2cd88a197ea7cef171f616e198526",
                            "lessThan": "41742e35268d6a45161b187f51f42bc2ade14d0d",
                            "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.9",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.9",
                            "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": "4.9",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "6.12.117"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "6.18.63"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/408363a4fa9e377b5c9aed07543ffff88a18a6e4"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d9128e169d36f8e57a55b2277022e596f9e13730"
                },
                {
                    "url": "https://git.kernel.org/stable/c/febe0bf350cbf38bb75241234aea2948b7f2eb90"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b643d32dfd3cfeac237eb9795dc795f766181342"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9410f368f1b70a564950d714ba3b9b145eaa93dd"
                },
                {
                    "url": "https://git.kernel.org/stable/c/45ceac48961d92e1d056457a5690cd95d2f25450"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8b8435630e45636664fb9bb0da7f0822be955464"
                },
                {
                    "url": "https://git.kernel.org/stable/c/41742e35268d6a45161b187f51f42bc2ade14d0d"
                }
            ],
            "title": "md/raid5: fix NULL pointer dereference in raid5_free_percpu",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}