{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-98404",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.347Z",
        "datePublished": "2026-10-14T13:26:03.510Z",
        "dateUpdated": "2026-10-19T09:18:57.630Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-10-19T09:18:57.630Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/virtio: Fix a NULL vs ERR_PTR() bug in virtio_gpu_user_framebuffer_create()\n\nSmatch complains that returning a NULL here will lead to a NULL pointer\ndereference in drm_mode_addfb2().  Return an error pointer instead."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpu/drm/virtio/virtgpu_display.c"
                    ],
                    "versions": [
                        {
                            "version": "dc5698e80cf724770283e10414054662bdf6ccfa",
                            "lessThan": "975f3cf302bb7d7336df4c630a7c07e12780ad10",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "dc5698e80cf724770283e10414054662bdf6ccfa",
                            "lessThan": "07de0b31dd64094cd7d25729beaf2ecae74daa72",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "dc5698e80cf724770283e10414054662bdf6ccfa",
                            "lessThan": "5eda6cda0031ba17559d56882353be39e568ec09",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "dc5698e80cf724770283e10414054662bdf6ccfa",
                            "lessThan": "3fe8a33715265ecb24ca0bcd0a575c926da4277c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "dc5698e80cf724770283e10414054662bdf6ccfa",
                            "lessThan": "974845d2535a250b180e62f9ed50284f312c01a3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "dc5698e80cf724770283e10414054662bdf6ccfa",
                            "lessThan": "45dc2788a5b0e1e2824d1f98af521bd3acc340d7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "dc5698e80cf724770283e10414054662bdf6ccfa",
                            "lessThan": "f1050a7d365283678b253828739d3866ae546a72",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "dc5698e80cf724770283e10414054662bdf6ccfa",
                            "lessThan": "94579f24e2b526a04eb41050af0ba018c6f528e7",
                            "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/virtio/virtgpu_display.c"
                    ],
                    "versions": [
                        {
                            "version": "4.2",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.2",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.271",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.222",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.189",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.158",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.111",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.53",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2.7",
                            "lessThanOrEqual": "7.2.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3",
                            "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.2",
                                    "versionEndExcluding": "5.10.271"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "5.15.222"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "6.1.189"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "6.6.158"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "6.12.111"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "6.18.53"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "7.2.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "7.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/975f3cf302bb7d7336df4c630a7c07e12780ad10"
                },
                {
                    "url": "https://git.kernel.org/stable/c/07de0b31dd64094cd7d25729beaf2ecae74daa72"
                },
                {
                    "url": "https://git.kernel.org/stable/c/5eda6cda0031ba17559d56882353be39e568ec09"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3fe8a33715265ecb24ca0bcd0a575c926da4277c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/974845d2535a250b180e62f9ed50284f312c01a3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/45dc2788a5b0e1e2824d1f98af521bd3acc340d7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f1050a7d365283678b253828739d3866ae546a72"
                },
                {
                    "url": "https://git.kernel.org/stable/c/94579f24e2b526a04eb41050af0ba018c6f528e7"
                }
            ],
            "title": "drm/virtio: Fix a NULL vs ERR_PTR() bug in virtio_gpu_user_framebuffer_create()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}