{"id":"CVE-2021-47108","published":"2024-03-04T18:15:40Z","modified":"2026-05-11T13:48:13Z","title":"drm/mediatek: hdmi: Perform NULL pointer check for mtk_hdmi_conf","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/mediatek: hdmi: Perform NULL pointer check for mtk_hdmi_conf\n\nIn commit 41ca9caaae0b\n(\"drm/mediatek: hdmi: Add check for CEA modes only\") a check\nfor CEA modes was added to function mtk_hdmi_bridge_mode_valid()\nin order to address possible issues on MT8167;\nmoreover, with commit c91026a938c2\n(\"drm/mediatek: hdmi: Add optional limit on maximal HDMI mode clock\")\nanother similar check was introduced.\n\nUnfortunately though, at the time of writing, MT8173 does not provide\nany mtk_hdmi_conf structure and this is crashing the kernel with NULL\npointer upon entering mtk_hdmi_bridge_mode_valid(), which happens as\nsoon as a HDMI cable gets plugged in.\n\nTo fix this regression, add a NULL pointer check for hdmi->conf in the\nsaid function, restoring HDMI functionality and avoiding NULL pointer\nkernel panics.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00196,"percentile":0.0534,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/71d07ebc5000b9c1d140e99e7493b0bafa954776","tags":[]},{"url":"https://git.kernel.org/stable/c/3b8e19a0aa3933a785be9f1541afd8d398c4ec69","tags":[]}],"priority":{"score":1.1,"factors":[{"name":"EPSS percentile","points":1.07}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 41ca9caaae0bfc959b22dbcd59d88a7107707e17, < 71d07ebc5000b9c1d140e99e7493b0bafa954776",">= 41ca9caaae0bfc959b22dbcd59d88a7107707e17, < 3b8e19a0aa3933a785be9f1541afd8d398c4ec69"]},{"vendor":"Linux","product":"Linux","versions":["5.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-26T20:37:26.989775Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-33756","exploited":false,"provenance":"source"}}