{"id":"CVE-2026-98404","title":"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 …","summary":"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 …","severity":"medium","published":"2026-10-14","updated":"2026-10-14","sourceUpdated":"2026-10-14T14:17:51.483","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-98404","references":[{"url":"https://git.kernel.org/stable/c/07de0b31dd64094cd7d25729beaf2ecae74daa72","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/3fe8a33715265ecb24ca0bcd0a575c926da4277c","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/45dc2788a5b0e1e2824d1f98af521bd3acc340d7","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/5eda6cda0031ba17559d56882353be39e568ec09","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/94579f24e2b526a04eb41050af0ba018c6f528e7","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/974845d2535a250b180e62f9ed50284f312c01a3","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/975f3cf302bb7d7336df4c630a7c07e12780ad10","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f1050a7d365283678b253828739d3866ae546a72","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98404.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-98404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2552228"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98404"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98404"},{"url":"https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98404.mbox"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"ingestedAt":"2026-10-14T15:36:13.982Z","vendor":"Linux","product":"Linux","affected":["Linux >= dc5698e80cf724770283e10414054662bdf6ccfa < 975f3cf302bb7d7336df4c630a7c07e12780ad10","Linux >= dc5698e80cf724770283e10414054662bdf6ccfa < 07de0b31dd64094cd7d25729beaf2ecae74daa72","Linux >= dc5698e80cf724770283e10414054662bdf6ccfa < 5eda6cda0031ba17559d56882353be39e568ec09","Linux >= dc5698e80cf724770283e10414054662bdf6ccfa < 3fe8a33715265ecb24ca0bcd0a575c926da4277c","Linux >= dc5698e80cf724770283e10414054662bdf6ccfa < 974845d2535a250b180e62f9ed50284f312c01a3","Linux >= dc5698e80cf724770283e10414054662bdf6ccfa < 45dc2788a5b0e1e2824d1f98af521bd3acc340d7","Linux >= dc5698e80cf724770283e10414054662bdf6ccfa < f1050a7d365283678b253828739d3866ae546a72","Linux >= dc5698e80cf724770283e10414054662bdf6ccfa < 94579f24e2b526a04eb41050af0ba018c6f528e7","Linux 4.2"],"cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cvssSource":"vendor","cwe":["CWE-476"],"slug":"CVE-2026-98404","body":"## Overview\n\nIn 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · updated 2026-10-15 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98404.json)","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":222237,"id":"CVE-2026-98404","ts":1792065148349,"field":"cvss","old":null,"new":"5.5"},{"seq":222236,"id":"CVE-2026-98404","ts":1792065148349,"field":"severity","old":"none","new":"medium"}]}