# CVE-2026-98404: drm/virtio: Fix a NULL vs ERR\_PTR() bug in virtio\_gpu\_user\_framebuffer\_create()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-10-14T13:26:03.510Z
- **Modified:** 2026-10-19T10:18:45.360Z

## Who should check

- Anyone running Linux \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< 975f3cf302bb7d7336df4c630a7c07e12780ad10; \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< 07de0b31dd64094cd7d25729beaf2ecae74daa72; \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< 5eda6cda0031ba17559d56882353be39e568ec09; \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< 3fe8a33715265ecb24ca0bcd0a575c926da4277c; \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< 974845d2535a250b180e62f9ed50284f312c01a3; \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< 45dc2788a5b0e1e2824d1f98af521bd3acc340d7; \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< f1050a7d365283678b253828739d3866ae546a72; \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< 94579f24e2b526a04eb41050af0ba018c6f528e7
- Anyone running Linux 4.2

## 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.

## Affected and fixed versions

- Linux: \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< 975f3cf302bb7d7336df4c630a7c07e12780ad10; \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< 07de0b31dd64094cd7d25729beaf2ecae74daa72; \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< 5eda6cda0031ba17559d56882353be39e568ec09; \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< 3fe8a33715265ecb24ca0bcd0a575c926da4277c; \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< 974845d2535a250b180e62f9ed50284f312c01a3; \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< 45dc2788a5b0e1e2824d1f98af521bd3acc340d7; \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< f1050a7d365283678b253828739d3866ae546a72; \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< 94579f24e2b526a04eb41050af0ba018c6f528e7 (cvelist)
- Linux: 4.2 (cvelist)

## Mitigation

- Upgrade Linux to 94579f24e2b526a04eb41050af0ba018c6f528e7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98404. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98404.md
Affected: Linux >= dc5698e80cf724770283e10414054662bdf6ccfa, < 975f3cf302bb7d7336df4c630a7c07e12780ad10; >= dc5698e80cf724770283e10414054662bdf6ccfa, < 07de0b31dd64094cd7d25729beaf2ecae74daa72; >= dc5698e80cf724770283e10414054662bdf6ccfa, < 5eda6cda0031ba17559d56882353be39e568ec09; >= dc5698e80cf724770283e10…
Fixed in: Linux 975f3cf302bb7d7336df4c630a7c07e12780ad10, Linux 07de0b31dd64094cd7d25729beaf2ecae74daa72, Linux 5eda6cda0031ba17559d56882353be39e568ec09, Linux 3fe8a33715265ecb24ca0bcd0a575c926da4277c, Linux 974845d2535a250b180e62f9ed50284f312c01a3, Linux 45dc2788a5b0e1e2824d1f98af521bd3acc340d7, Linux 94579…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98404 being exploited?

There is no confirmed exploitation: CVE-2026-98404 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98404?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98404?

Linux \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< 975f3cf302bb7d7336df4c630a7c07e12780ad10; \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< 07de0b31dd64094cd7d25729beaf2ecae74daa72; \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< 5eda6cda0031ba17559d56882353be39e568ec09; \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< 3fe8a33715265ecb24ca0bcd0a575c926da4277c; \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< 974845d2535a250b180e62f9ed50284f312c01a3; \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< 45dc2788a5b0e1e2824d1f98af521bd3acc340d7; \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< f1050a7d365283678b253828739d3866ae546a72; \>= dc5698e80cf724770283e10414054662bdf6ccfa, \< 94579f24e2b526a04eb41050af0ba018c6f528e7; Linux 4.2.

### Is there a fix for CVE-2026-98404?

Yes. Fixed in Linux 975f3cf302bb7d7336df4c630a7c07e12780ad10, Linux 07de0b31dd64094cd7d25729beaf2ecae74daa72, Linux 5eda6cda0031ba17559d56882353be39e568ec09, Linux 3fe8a33715265ecb24ca0bcd0a575c926da4277c, Linux 974845d2535a250b180e62f9ed50284f312c01a3, Linux 45dc2788a5b0e1e2824d1f98af521bd3acc340d7, Linux 94579f24e2b526a04eb41050af0ba018c6f528e7. Upgrade Linux to 94579f24e2b526a04eb41050af0ba018c6f528e7 or later.

### How do I check if I'm affected by CVE-2026-98404?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98404>

HTML: <https://flawdb.com/CVE-2026-98404> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98404>
