Menu

Star on GitHub · 3.2k

CVE-2021-47108

5.5 · MEDIUM

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…

Published Mar 4, 2024CWE-476EPSS 0.20%

Overview

CVE-2021-47108 is a medium-severity vulnerability. It was published on March 4, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

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

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2021-47108?

CVE-2021-47108 is a medium-severity vulnerability. It was published on March 4, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2021-47108?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-47108?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-47108?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-47108 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2021

View all