{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-40011",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-04-16T07:20:57.151Z",
        "datePublished": "2025-10-20T15:26:56.558Z",
        "dateUpdated": "2026-05-11T21:40:45.348Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-05-11T21:40:45.348Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/gma500: Fix null dereference in hdmi teardown\n\npci_set_drvdata sets the value of pdev->driver_data to NULL,\nafter which the driver_data obtained from the same dev is\ndereferenced in oaktrail_hdmi_i2c_exit, and the i2c_dev is\nextracted from it. To prevent this, swap these calls.\n\nFound by Linux Verification Center (linuxtesting.org) with Svacer."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpu/drm/gma500/oaktrail_hdmi.c"
                    ],
                    "versions": [
                        {
                            "version": "1b082ccf5901108d3acd860a73d8c0442556c0bb",
                            "lessThan": "70b0c11483d3b90b2d0f416026e475e084a77e62",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1b082ccf5901108d3acd860a73d8c0442556c0bb",
                            "lessThan": "4bbfd1b290857b9d14ea9d91562bde55ff2bc85e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1b082ccf5901108d3acd860a73d8c0442556c0bb",
                            "lessThan": "e15de80737d444ed743b1c60ced4a3a97913169b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1b082ccf5901108d3acd860a73d8c0442556c0bb",
                            "lessThan": "02e4ff4941efb9bbb40d8d5b61efa1a4119b1ba7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1b082ccf5901108d3acd860a73d8c0442556c0bb",
                            "lessThan": "6ffa6b5bc861a3ea9dfcdc007f002b4a347c24ba",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1b082ccf5901108d3acd860a73d8c0442556c0bb",
                            "lessThan": "f800f7054d2cf28b51296c7c575da27c29e3859b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1b082ccf5901108d3acd860a73d8c0442556c0bb",
                            "lessThan": "0fc650fa475b50c1da8236c5e900b9460c7027bc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1b082ccf5901108d3acd860a73d8c0442556c0bb",
                            "lessThan": "352e66900cde63f3dadb142364d3c35170bbaaff",
                            "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/gpu/drm/gma500/oaktrail_hdmi.c"
                    ],
                    "versions": [
                        {
                            "version": "3.3",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "3.3",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.300",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.245",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.194",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.155",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.109",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.50",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.16.10",
                            "lessThanOrEqual": "6.16.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.17",
                            "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": "3.3",
                                    "versionEndExcluding": "5.4.300"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.3",
                                    "versionEndExcluding": "5.10.245"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.3",
                                    "versionEndExcluding": "5.15.194"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.3",
                                    "versionEndExcluding": "6.1.155"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.3",
                                    "versionEndExcluding": "6.6.109"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.3",
                                    "versionEndExcluding": "6.12.50"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.3",
                                    "versionEndExcluding": "6.16.10"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.3",
                                    "versionEndExcluding": "6.17"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/70b0c11483d3b90b2d0f416026e475e084a77e62"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4bbfd1b290857b9d14ea9d91562bde55ff2bc85e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e15de80737d444ed743b1c60ced4a3a97913169b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/02e4ff4941efb9bbb40d8d5b61efa1a4119b1ba7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6ffa6b5bc861a3ea9dfcdc007f002b4a347c24ba"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f800f7054d2cf28b51296c7c575da27c29e3859b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0fc650fa475b50c1da8236c5e900b9460c7027bc"
                },
                {
                    "url": "https://git.kernel.org/stable/c/352e66900cde63f3dadb142364d3c35170bbaaff"
                }
            ],
            "title": "drm/gma500: Fix null dereference in hdmi teardown",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}