{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143224",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.361Z",
        "datePublished": "2026-12-03T09:20:41.060Z",
        "dateUpdated": "2026-12-03T09:20:41.060Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T09:20:41.060Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nspi: virtio: move teardown to .remove()\n\nThe .remove() callback is not marked as optional for a virtio_driver,\nand thus a missing one is a bug. Moreover, the virtio framework expects\na driver to reset the device it controls during teardown and explicitly\nchecks for this reading the device status and WARNing in case it is\nstill running. Any devm cleanup action gets however called after that\ncheck, leading to the WARN_ON condition to always be true for\nspi-virtio; thus, an empty remove() is not an option.\n\nMove the cleanup actions to the .remove() callback of the driver and\nadapt the surrounding code to the new behavior."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/spi/spi-virtio.c"
                    ],
                    "versions": [
                        {
                            "version": "f98cabe3f6cf6396b3ae0264800d9b53d7612433",
                            "lessThan": "feaaed040262e1a74c9e3cff91fd9d27849a4661",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f98cabe3f6cf6396b3ae0264800d9b53d7612433",
                            "lessThan": "0f453d221d53bbe5ce00c2f80c9948f5570cb55d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f98cabe3f6cf6396b3ae0264800d9b53d7612433",
                            "lessThan": "9060f5ba658c9b0a7332be55b3d8abfc2b08618b",
                            "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-virtio.c"
                    ],
                    "versions": [
                        {
                            "version": "6.18",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.18",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.66",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc3",
                            "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": "6.18",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.18",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.18",
                                    "versionEndExcluding": "7.4-rc3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/feaaed040262e1a74c9e3cff91fd9d27849a4661"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0f453d221d53bbe5ce00c2f80c9948f5570cb55d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9060f5ba658c9b0a7332be55b3d8abfc2b08618b"
                }
            ],
            "title": "spi: virtio: move teardown to .remove()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}