CVE-2026-93234

drm/gud: validate TV mode names before creating enum property

State
Published
Severity
Not scored
Published
Sep 24, 2026
Updated
Oct 19, 2026
Reserved
Sep 17, 2026

Read the record on cve.org

Description

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

drm/gud: validate TV mode names before creating enum property

The GUD protocol returns TV mode names as fixed-size GUD_CONNECTOR_TV_MODE_NAME_LEN entries and requires each name to be NUL-terminated.

gud_connector_add_tv_mode() currently passes each fixed-size entry directly to drm_mode_create_tv_properties_legacy(), which eventually reaches drm_property_add_enum() and strlen(). If a device returns an entry without a terminating NUL byte, strlen() reads past the end of the slot and can run beyond the allocated buffer, triggering an out-of-bounds read.

Validate that each returned TV mode name contains a NUL terminator within its fixed-size slot before passing it to the DRM property code. If a malformed entry is found, reject the device response with -EIO.

This fixes the out-of-bounds read without changing the handling of valid devices, and avoids silently truncating malformed protocol data.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 to before 676f1fb3632bbc9ce83be7938e93fe6bfc9510fdAffected
  • 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 to before 06fcaf21c18ac88f57fee3803554f48c6026b95fAffected
  • 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 to before 082e378886547b5b1c4075ed307f7c68547868dcAffected
  • 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 to before 70cffc31a380b3eae45027101647aa94c242aa0eAffected
  • 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 to before 72a95df6bbc7d20c7af1e39d86b3e910cccd01adAffected
  • 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 to before eab46d9629807db1b5647d17227e16110a18227fAffected
  • 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 to before da1ea35fea67ad841f4ada28dd61b41be65e5437Affected
LinuxLinux
  • 5.13Affected
  • before 5.13Not affected
  • 5.15.221 through 5.15.*Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.51 through 6.18.*Not affected
  • 7.2.5 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.