CVE-2026-98181

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

State
Published
Severity
Not scored
Published
Oct 6, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 to before ee04903fe6a098160d20dde4fc5af4cb42846735Affected
  • 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 to before 4153a9e008f2512bd3cf90a319436865847369b9Affected
  • 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 to before 5f5e565410b4987e9663f599f9ab0c350f8338d4Affected
  • 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 to before 7e630edb22088df7aa0d55b02237a71e4c9a523dAffected
  • 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 to before 2c92af27ad23e2fbc0367b11a9027d36d94ef4b3Affected
  • 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 to before ea57100955c1c2a525ba1a98c18d9a05b25aeedbAffected
  • 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 to before 59ced288fcba9e91bd38e61a972ad782c4edb7d0Affected
LinuxLinux
  • 5.13Affected
  • before 5.13Not affected
  • 5.15.222 through 5.15.*Not affected
  • 6.1.189 through 6.1.*Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.112 through 6.12.*Not affected
  • 6.18.54 through 6.18.*Not affected
  • 7.2.8 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.