{"id":"CVE-2026-98404","aliases":["CVE-2026-98404"],"related":[],"kind":"vulnerability","state":"published","title":"drm/virtio: Fix a NULL vs ERR_PTR() bug in virtio_gpu_user_framebuffer_create()","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 drm_mode_addfb2().  Return an error pointer instead.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-14T13:26:03.510Z","modified":"2026-10-19T10:18:45.360Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"dc5698e80cf724770283e10414054662bdf6ccfa","fixed":"975f3cf302bb7d7336df4c630a7c07e12780ad10","status":"affected"},{"type":"git","introduced":"dc5698e80cf724770283e10414054662bdf6ccfa","fixed":"07de0b31dd64094cd7d25729beaf2ecae74daa72","status":"affected"},{"type":"git","introduced":"dc5698e80cf724770283e10414054662bdf6ccfa","fixed":"5eda6cda0031ba17559d56882353be39e568ec09","status":"affected"},{"type":"git","introduced":"dc5698e80cf724770283e10414054662bdf6ccfa","fixed":"3fe8a33715265ecb24ca0bcd0a575c926da4277c","status":"affected"},{"type":"git","introduced":"dc5698e80cf724770283e10414054662bdf6ccfa","fixed":"974845d2535a250b180e62f9ed50284f312c01a3","status":"affected"},{"type":"git","introduced":"dc5698e80cf724770283e10414054662bdf6ccfa","fixed":"45dc2788a5b0e1e2824d1f98af521bd3acc340d7","status":"affected"},{"type":"git","introduced":"dc5698e80cf724770283e10414054662bdf6ccfa","fixed":"f1050a7d365283678b253828739d3866ae546a72","status":"affected"},{"type":"git","introduced":"dc5698e80cf724770283e10414054662bdf6ccfa","fixed":"94579f24e2b526a04eb41050af0ba018c6f528e7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.2","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/975f3cf302bb7d7336df4c630a7c07e12780ad10","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/07de0b31dd64094cd7d25729beaf2ecae74daa72","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5eda6cda0031ba17559d56882353be39e568ec09","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3fe8a33715265ecb24ca0bcd0a575c926da4277c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/974845d2535a250b180e62f9ed50284f312c01a3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/45dc2788a5b0e1e2824d1f98af521bd3acc340d7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f1050a7d365283678b253828739d3866ae546a72","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/94579f24e2b526a04eb41050af0ba018c6f528e7","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98404","url":"https://www.cve.org/CVERecord?id=CVE-2026-98404","licence":"CVE Terms of Use","modified":"2026-10-19T09:18:57.630Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98404","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98404","licence":"Public domain","modified":"2026-10-19T10:18:45.360Z"}],"updatedAt":"2026-11-25T22:59:44.638Z","epss":{"score":0.00216,"percentile":0.12827,"date":"2026-12-01T12:00:22.000Z"}}