All reports
Medium

kernel: drm/gud: NUL-terminate TV mode names read from the device

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-89817

Probability of exploitation in the next 30 days: 0.21%

FIRST EPSS · 2026-11-24

Description

In the Linux kernel, the following vulnerability has been resolved: drm/gud: NUL-terminate TV mode names read from the device gud_connector_add_tv_mode() reads a buffer of fixed-size mode names from the USB device and passes pointers into it to drm_mode_create_tv_properties_legacy(), which calls strlen() on each one. Nothing guarantees the device NUL-terminates a name, so strlen() can run past the end of a slot and, for the last mode, past the end of the allocation. Terminate each name at the end of its slot before use.

A flaw was found in the Linux kernel's drm/gud component. The gud_connector_add_tv_mode() function reads TV mode names from a USB device. These names are not guaranteed to be null-terminated, which can cause the system to read beyond the allocated buffer when processing them. This out-of-bounds read could lead to information disclosure or a denial of service.