CVE-2021-47108
drm/mediatek: hdmi: Perform NULL pointer check for mtk_hdmi_conf
Mitigation
- Upgrade Linux to 3b8e19a0aa3933a785be9f1541afd8d398c4ec69 or later.
Who should check
- Anyone running Linux >= 41ca9caaae0bfc959b22dbcd59d88a7107707e17, < 71d07ebc5000b9c1d140e99e7493b0bafa954776; >= 41ca9caaae0bfc959b22dbcd59d88a7107707e17, < 3b8e19a0aa3933a785be9f1541afd8d398c4ec69
- Anyone running Linux 5.14
Vulnerability facts
- Affected
- Linux >= 41ca9caaae0bfc959b22dbcd59d88a7107707e17, < 71d07ebc5000b9c1d140e99e7493b0bafa954776; >= 41ca9caaae0bfc959b22dbcd59d88a7107707e17, < 3b8e19a0aa3933a785be9f1541afd8d398c4ec69; Linux 5.14
- Fixed in
- Linux 71d07ebc5000b9c1d140e99e7493b0bafa954776, Linux 3b8e19a0aa3933a785be9f1541afd8d398c4ec69
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.20% chance of exploitation in 30 days (percentile 5, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: drm/mediatek: hdmi: Perform NULL pointer check for mtk_hdmi_conf In commit 41ca9caaae0b ("drm/mediatek: hdmi: Add check for CEA modes only") a check for CEA modes was added to function mtk_hdmi_bridge_mode_valid() in order to address possible issues on MT8167; moreover, with commit c91026a938c2 ("drm/mediatek: hdmi: Add optional limit on maximal HDMI mode clock") another similar check was introduced. Unfortunately though, at the time of writing, MT8173 does not provide any mtk_hdmi_conf structure and this is crashing the kernel with NULL pointer upon entering mtk_hdmi_bridge_mode_valid(), which happens as soon as a HDMI cable gets plugged in. To fix this regression, add a NULL pointer check for hdmi->conf in the said function, restoring HDMI functionality and avoiding NULL pointer kernel panics.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-47108. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-47108.md Affected: Linux >= 41ca9caaae0bfc959b22dbcd59d88a7107707e17, < 71d07ebc5000b9c1d140e99e7493b0bafa954776; >= 41ca9caaae0bfc959b22dbcd59d88a7107707e17, < 3b8e19a0aa3933a785be9f1541afd8d398c4ec69; Linux 5.14 Fixed in: Linux 71d07ebc5000b9c1d140e99e7493b0bafa954776, Linux 3b8e19a0aa3933a785be9f1541afd8d398c4ec69 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2021-47108 being exploited?
There is no confirmed exploitation: CVE-2021-47108 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-47108?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2021-47108?
Linux >= 41ca9caaae0bfc959b22dbcd59d88a7107707e17, < 71d07ebc5000b9c1d140e99e7493b0bafa954776; >= 41ca9caaae0bfc959b22dbcd59d88a7107707e17, < 3b8e19a0aa3933a785be9f1541afd8d398c4ec69; Linux 5.14.
Is there a fix for CVE-2021-47108?
Yes. Fixed in Linux 71d07ebc5000b9c1d140e99e7493b0bafa954776, Linux 3b8e19a0aa3933a785be9f1541afd8d398c4ec69. Upgrade Linux to 3b8e19a0aa3933a785be9f1541afd8d398c4ec69 or later.
How do I check if I'm affected by CVE-2021-47108?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.