{"id":"CVE-2026-93234","revision":"cb78ce504c6c424d9b445297c0aa86ee","records":[{"revision":"cb78ce504c6c424d9b445297c0aa86ee","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-93234","aliases":[],"title":"drm/gud: validate TV mode names before creating enum property","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/gud: validate TV mode names before creating enum property\n\nThe GUD protocol returns TV mode names as fixed-size\nGUD_CONNECTOR_TV_MODE_NAME_LEN entries and requires each name to be\nNUL-terminated.\n\ngud_connector_add_tv_mode() currently passes each fixed-size entry\ndirectly to drm_mode_create_tv_properties_legacy(), which eventually\nreaches drm_property_add_enum() and strlen(). If a device returns an\nentry without a terminating NUL byte, strlen() reads past the end of\nthe slot and can run beyond the allocated buffer, triggering an\nout-of-bounds read.\n\nValidate that each returned TV mode name contains a NUL terminator\nwithin its fixed-size slot before passing it to the DRM property code.\nIf a malformed entry is found, reject the device response with -EIO.\n\nThis fixes the out-of-bounds read without changing the handling of\nvalid devices, and avoids silently truncating malformed protocol data.","state":0,"publishedAt":"2026-09-24T15:33:31.617+00:00","modifiedAt":"2026-10-19T09:07:45.893+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/gpu/drm/gud/gud_connector.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"40e1a70b4aedf2859a1829991b48ef0ebe650bf2\",\n                            \"lessThan\": \"676f1fb3632bbc9ce83be7938e93fe6bfc9510fd\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"40e1a70b4aedf2859a1829991b48ef0ebe650bf2\",\n                            \"lessThan\": \"06fcaf21c18ac88f57fee3803554f48c6026b95f\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"40e1a70b4aedf2859a1829991b48ef0ebe650bf2\",\n                            \"lessThan\": \"082e378886547b5b1c4075ed307f7c68547868dc\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"40e1a70b4aedf2859a1829991b48ef0ebe650bf2\",\n                            \"lessThan\": \"70cffc31a380b3eae45027101647aa94c242aa0e\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"40e1a70b4aedf2859a1829991b48ef0ebe650bf2\",\n                            \"lessThan\": \"72a95df6bbc7d20c7af1e39d86b3e910cccd01ad\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"40e1a70b4aedf2859a1829991b48ef0ebe650bf2\",\n                            \"lessThan\": \"eab46d9629807db1b5647d17227e16110a18227f\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"40e1a70b4aedf2859a1829991b48ef0ebe650bf2\",\n                            \"lessThan\": \"da1ea35fea67ad841f4ada28dd61b41be65e5437\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/gpu/drm/gud/gud_connector.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"5.13\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"5.13\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.15.221\",\n                            \"lessThanOrEqual\": \"5.15.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.188\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.157\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.110\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.51\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.5\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/676f1fb3632bbc9ce83be7938e93fe6bfc9510fd","https://git.kernel.org/stable/c/06fcaf21c18ac88f57fee3803554f48c6026b95f","https://git.kernel.org/stable/c/082e378886547b5b1c4075ed307f7c68547868dc","https://git.kernel.org/stable/c/70cffc31a380b3eae45027101647aa94c242aa0e","https://git.kernel.org/stable/c/72a95df6bbc7d20c7af1e39d86b3e910cccd01ad","https://git.kernel.org/stable/c/eab46d9629807db1b5647d17227e16110a18227f","https://git.kernel.org/stable/c/da1ea35fea67ad841f4ada28dd61b41be65e5437"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-93234","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-93234","identifiers":["CVE-2026-93234"]},"retained":false,"historicalAffected":[]}],"coverage":[]}