{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-46241",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-05-13T15:03:33.107Z",
        "datePublished": "2026-05-28T09:41:09.145Z",
        "dateUpdated": "2026-06-14T18:05:11.651Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-06-14T18:05:11.651Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nspi: mpc52xx: fix use-after-free on registration failure\n\nMake sure to disable and free the interrupts in case controller\nregistration fails to avoid a potential use-after-free and resource\nleak.\n\nThis issue was flagged by Sashiko when reviewing a controller\nderegistration fix."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/spi/spi-mpc52xx.c"
                    ],
                    "versions": [
                        {
                            "version": "42bbb70980f3720b0ae6da6af862af0e95a04351",
                            "lessThan": "8b49b6aadd0c622ca7d68b4a53ae10362e221cf3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "42bbb70980f3720b0ae6da6af862af0e95a04351",
                            "lessThan": "336d9ad7560b3baba17af06727a888040ee93390",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "42bbb70980f3720b0ae6da6af862af0e95a04351",
                            "lessThan": "5c77f11b9b5f1ad5a704dad875260c44016ede10",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "42bbb70980f3720b0ae6da6af862af0e95a04351",
                            "lessThan": "f62c060272b9d7423b1650b844e8e4e7b8f9f925",
                            "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/spi/spi-mpc52xx.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.33",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.33",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.90",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.32",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0.9",
                            "lessThanOrEqual": "7.0.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1",
                            "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.33",
                                    "versionEndExcluding": "6.12.90"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.33",
                                    "versionEndExcluding": "6.18.32"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.33",
                                    "versionEndExcluding": "7.0.9"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.33",
                                    "versionEndExcluding": "7.1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/8b49b6aadd0c622ca7d68b4a53ae10362e221cf3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/336d9ad7560b3baba17af06727a888040ee93390"
                },
                {
                    "url": "https://git.kernel.org/stable/c/5c77f11b9b5f1ad5a704dad875260c44016ede10"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f62c060272b9d7423b1650b844e8e4e7b8f9f925"
                }
            ],
            "title": "spi: mpc52xx: fix use-after-free on registration failure",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}