Shellfeed logo Shellfeed

CVE-2026-98181 · UNKNOWN

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

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 6.8).

Details

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.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [40e1a70b4aedf2859a1829991b48ef0ebe650bf2 – ee04903fe6a098160d20dde4fc5af4cb42846735]
  • Linux Kernel [5.13.0 – 5.15.222] [5.16.0 – 6.1.189] [6.2.0 – 6.6.158] [6.7.0 – 6.12.112] [6.13.0 – 6.18.54] [6.19.0 – 7.2.8]

References