Shellfeed logo Shellfeed

CVE-2026-89817 · UNKNOWN

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

Details

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.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [40e1a70b4aedf2859a1829991b48ef0ebe650bf2 – 08c8ec28547987e55a90c662f8795e05c2925498]
  • Linux Kernel [5.13.0 – 5.15.221] [5.16.0 – 6.1.188] [6.2.0 – 6.6.157] [6.7.0 – 6.12.110] [6.13.0 – 6.18.51] [6.19.0 – 7.2.5]

References