CVE-2026-98404Published Oct 14, 2026 · Oct 14Updated 20h ago
drm/virtio: Fix a NULL vs ERR_PTR() bug in virtio_gpu_user_framebuffer_create()
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ dc5698e80cf724770283e10414054662bdf6ccfa · < 45dc2788a5b0e1e2824d1f98af521bd3acc340d7| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s virtio GPU framebuffer creation function can return NULL where an error pointer is expected, leading to a NULL pointer dereference in drm_mode_addfb2(). The input does not specify how an attacker could trigger this or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with virtio GPU support should check their versions; affected versions are not specified.