CVE-2026-98404

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

Published Oct 14, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The flaw in the Linux kernel’s DRM subsystem, a CWE‑476 (NULL Pointer Dereference), caused virtio_gpu_user_framebuffer_create() to return a NULL pointer instead of an error pointer. When this NULL value is later passed to drm_mode_addfb2(), a null pointer dereference can occur, potentially crashing the kernel and denying service to users.

Affected Systems

Linux kernel releases that contain the virtio GPU driver before the fix were achieved by commit 07de0b31dd64094cd7d25729beaf2ecae74daa72. Subsequent kernel versions that include this commit or later are not affected; the exact affected version range is not specified in the provided information.

Risk and Exploitability

The vulnerability does not provide a known remote code execution or privilege escalation path. The CVSS score is 5.5, indicating a moderate severity. The EPSS score is below 1% and the flaw is not listed in the CISA KEV catalog. The bug triggers during framebuffer creation and can result in a kernel crash, exposing the system to denial of service if the offending process is able to request a framebuffer on the affected machine.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that incorporates the fix for virtio_gpu_user_framebuffer_create(), such as updating to a kernel containing commit 07de0b31dd64094cd7d25729beaf2ecae74daa72 or later.
  • Reboot the system after the kernel update to ensure the new kernel image and driver are loaded.
  • If an immediate kernel update is unavailable, consider limiting the use of the virtio GPU driver—for example, by disabling framebuffer creation for untrusted users or applying policy restrictions that deny write access to the DRM device.

Generated by OpenCVE AI on October 16, 2026 at 23:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4841-1 linux security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9029-1 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-690
Type Values Removed Values Added
Weaknesses CWE-476
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-690
Type Values Removed Values Added
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.
Title drm/virtio: Fix a NULL vs ERR_PTR() bug in virtio_gpu_user_framebuffer_create()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:18 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 14, 2026, 2:17 PM
Modified
Oct 19, 2026, 10:18 AM
Severity
Low
Public date
Oct 14, 2026, 12:00 AM