{"id":"CVE-2026-98404","summary":"drm/virtio: Fix a NULL vs ERR_PTR() bug in virtio_gpu_user_framebuffer_create()","details":"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.","modified":"2026-10-15T02:47:42.149829394Z","published":"2026-10-14T13:26:03.510Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98404.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/07de0b31dd64094cd7d25729beaf2ecae74daa72"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3fe8a33715265ecb24ca0bcd0a575c926da4277c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/45dc2788a5b0e1e2824d1f98af521bd3acc340d7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5eda6cda0031ba17559d56882353be39e568ec09"},{"type":"WEB","url":"https://git.kernel.org/stable/c/94579f24e2b526a04eb41050af0ba018c6f528e7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/974845d2535a250b180e62f9ed50284f312c01a3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/975f3cf302bb7d7336df4c630a7c07e12780ad10"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f1050a7d365283678b253828739d3866ae546a72"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98404.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98404"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"dc5698e80cf724770283e10414054662bdf6ccfa"},{"fixed":"975f3cf302bb7d7336df4c630a7c07e12780ad10"},{"fixed":"07de0b31dd64094cd7d25729beaf2ecae74daa72"},{"fixed":"5eda6cda0031ba17559d56882353be39e568ec09"},{"fixed":"3fe8a33715265ecb24ca0bcd0a575c926da4277c"},{"fixed":"974845d2535a250b180e62f9ed50284f312c01a3"},{"fixed":"45dc2788a5b0e1e2824d1f98af521bd3acc340d7"},{"fixed":"f1050a7d365283678b253828739d3866ae546a72"},{"fixed":"94579f24e2b526a04eb41050af0ba018c6f528e7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98404.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2.0"},{"fixed":"5.10.271"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.222"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.189"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98404.json"}}],"schema_version":"1.9.0"}