PT-2021-8131 · Linux+2 · Linux Kernel+2

Angelogioacchino Del Regno

·

Published

2021-12-13

·

Updated

2025-01-07

·

CVE-2021-47108

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to a NULL pointer dereference in the mediatek component of the Linux kernel, specifically in the mtk hdmi bridge mode valid() function. This occurs when a HDMI cable is plugged in and the kernel attempts to access the mtk hdmi conf structure, which is not provided by MT8173, leading to a kernel crash. The problem was introduced by commits that added checks for CEA modes and maximal HDMI mode clock. To fix this regression, a NULL pointer check for hdmi->conf needs to be added to the mtk hdmi bridge mode valid() function to restore HDMI functionality and prevent NULL pointer kernel panics.
Recommendations To resolve the issue, add a NULL pointer check for hdmi->conf in the mtk hdmi bridge mode valid() function. This will restore HDMI functionality and avoid NULL pointer kernel panics. As a temporary workaround, consider disabling the mtk hdmi bridge mode valid() function until a patch is available. Restrict access to the vulnerable drm/mediatek module to minimize the risk of exploitation. Avoid using the hdmi->conf structure in the affected API endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

NULL Pointer Dereference

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2024-08393
CVE-2021-47108
OPENSUSE-SU-2024_1321-1
OPENSUSE-SU-2024_1322-1
OPENSUSE-SU-2024_1322-2
OPENSUSE-SU-2024_1332-1
OPENSUSE-SU-2024_1332-2
OPENSUSE-SU-2024_1466-1
OPENSUSE-SU-2024_1480-1
OPENSUSE-SU-2024_1490-1
SUSE-SU-2024:1320-1
SUSE-SU-2024:1321-1
SUSE-SU-2024:1466-1
SUSE-SU-2024:1480-1
SUSE-SU-2024:1490-1

Affected Products

Linux Kernel
Red Os
Suse