# CVE-2026-98404: drm/virtio: Fix a NULL vs ERR_PTR() bug in virtio_gpu_user_framebuffer_create()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-10-14T13:26:03.510Z
- Modified: 2026-10-19T10:18:45.360Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/virtio: Fix a NULL vs ERR_PTR() bug in virtio_gpu_user_framebuffer_create()

Smatch complains that returning a NULL here will lead to a NULL pointer
dereference in drm_mode_addfb2().  Return an error pointer instead.

(As written by CVE List.)

## Affected

- Linux Linux: from dc5698e80cf724770283e10414054662bdf6ccfa before 975f3cf302bb7d7336df4c630a7c07e12780ad10; from dc5698e80cf724770283e10414054662bdf6ccfa before 07de0b31dd64094cd7d25729beaf2ecae74daa72; from dc5698e80cf724770283e10414054662bdf6ccfa before 5eda6cda0031ba17559d56882353be39e568ec09; from dc5698e80cf724770283e10414054662bdf6ccfa before 3fe8a33715265ecb24ca0bcd0a575c926da4277c; from dc5698e80cf724770283e10414054662bdf6ccfa before 974845d2535a250b180e62f9ed50284f312c01a3; from dc5698e80cf724770283e10414054662bdf6ccfa before 45dc2788a5b0e1e2824d1f98af521bd3acc340d7; from dc5698e80cf724770283e10414054662bdf6ccfa before f1050a7d365283678b253828739d3866ae546a72; from dc5698e80cf724770283e10414054662bdf6ccfa before 94579f24e2b526a04eb41050af0ba018c6f528e7; 4.2 (not affected: before 4.2; from 5.10.271 up to 5.10.*; from 5.15.222 up to 5.15.*; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/975f3cf302bb7d7336df4c630a7c07e12780ad10>
- <https://git.kernel.org/stable/c/07de0b31dd64094cd7d25729beaf2ecae74daa72>
- <https://git.kernel.org/stable/c/5eda6cda0031ba17559d56882353be39e568ec09>
- <https://git.kernel.org/stable/c/3fe8a33715265ecb24ca0bcd0a575c926da4277c>
- <https://git.kernel.org/stable/c/974845d2535a250b180e62f9ed50284f312c01a3>
- <https://git.kernel.org/stable/c/45dc2788a5b0e1e2824d1f98af521bd3acc340d7>
- <https://git.kernel.org/stable/c/f1050a7d365283678b253828739d3866ae546a72>
- <https://git.kernel.org/stable/c/94579f24e2b526a04eb41050af0ba018c6f528e7>

## Sources

- CVE List: [CVE-2026-98404](https://www.cve.org/CVERecord?id=CVE-2026-98404), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98404](https://nvd.nist.gov/vuln/detail/CVE-2026-98404), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98404 · Whole record: https://cve.day/CVE-2026-98404.json · Rebuilt by cve.day 2026-11-25T22:59:44.638Z
