# CVE-2026-89817: drm/gud: NUL-terminate TV mode names read from the device

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-09-16T10:30:49.977Z
- Modified: 2026-10-19T09:18:25.563Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 before 08c8ec28547987e55a90c662f8795e05c2925498; from 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 before 9096edfd6f2edbc79612b482547e0972edbcfe4b; from 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 before 89210cb5ff8fdbe055c97ac688be2268f6c815ae; from 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 before d0f3312f7800eb0e00d1264f66104c788f43dd69; from 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 before b86438a5c6b0250ccb07dd380184d1e70e0dea6c; from 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 before 6ea61f1d4cbaa0db937e31bffc041fb8afeacf52; from 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 before 500cb24cd61bad8a2747ddfc49b7034899c82d94; 5.13 (not affected: before 5.13; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/08c8ec28547987e55a90c662f8795e05c2925498>
- <https://git.kernel.org/stable/c/9096edfd6f2edbc79612b482547e0972edbcfe4b>
- <https://git.kernel.org/stable/c/89210cb5ff8fdbe055c97ac688be2268f6c815ae>
- <https://git.kernel.org/stable/c/d0f3312f7800eb0e00d1264f66104c788f43dd69>
- <https://git.kernel.org/stable/c/b86438a5c6b0250ccb07dd380184d1e70e0dea6c>
- <https://git.kernel.org/stable/c/6ea61f1d4cbaa0db937e31bffc041fb8afeacf52>
- <https://git.kernel.org/stable/c/500cb24cd61bad8a2747ddfc49b7034899c82d94>

## Sources

- CVE List: [CVE-2026-89817](https://www.cve.org/CVERecord?id=CVE-2026-89817), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89817](https://nvd.nist.gov/vuln/detail/CVE-2026-89817), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89817 · Whole record: https://cve.day/CVE-2026-89817.json · Rebuilt by cve.day 2026-11-25T22:59:38.946Z
