CVE-2026-98181 drm/gud: fix out-of-bounds write in gud_plane_atomic_check()

Not scored Published Updated

A malicious USB device can trigger an out-of-bounds write in the Linux kernel DRM driver, potentially leading to code execution or system crash.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-98181?

CVE-2026-98181 is a memory corruption vulnerability in Linux, published on 6 Oct 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

drm/gud: fix out-of-bounds write in gud_plane_atomic_check()

The plane property loop uses req->properties[num_properties + i] as write index while simultaneously incrementing `num_properties` inside the loop. At iteration i, num_properties has also incremented by i, so the write is done at `initial_num_properties + 2*i`, skipping every other index and advancing by 2 per iteration.

With just 2 connector and 32 plane properties the last write happens at index 64, one slot past the end of the 64-slot (indices 0–63) allocation. A USB device can trigger OOB by advertising the maximum number of properties.

Fix by dropping the redundant `+ i`; num_properties is already the correct running index, as gud_connector_fill_properties() fills the preceding slots.

Which versions are affected by CVE-2026-98181?

How do I fix CVE-2026-98181?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-98181 being exploited?

There is no known exploitation of CVE-2026-98181 in the wild and no public exploit code.

Sources

Also known as AZL-106404, BELL-CVE-2026-98181, DEBIAN-CVE-2026-98181, GHSA-mrf5-p4fw-fr76, UBUNTU-CVE-2026-98181.

Is CVE-2026-98181 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free