drm/gud: NUL-terminate TV mode names read from the device (Linux Linux)

CVE-2026-89817
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 < 08c8ec28547987e55a90c662f8795e05c2925498 ; affected 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 < 9096edfd6f2edbc79612b482547e0972edbcfe4b ; affected 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 < 89210cb5ff8fdbe055c97ac688be2268f6c815ae ; affected 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 < d0f3312f7800eb0e00d1264f66104c788f43dd69 ; affected 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 < b86438a5c6b0250ccb07dd380184d1e70e0dea6c ; affected 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 < 6ea61f1d4cbaa0db937e31bffc041fb8afeacf52
Linux · Linuxaffected 5.13 ; unaffected 0 < 5.13 ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.* ; unaffected 6.12.110 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD