CVE Database›Document archive›CVE-2024-35921

CVE-2024-35921

kernel: media: mediatek: vcodec: Fix oops when HEVC init fails

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · May 19, 2024

Updated · August 5, 2026

Description

A vulnerability was found in the Linux kernel's MediaTek vdec_hevc_req_multi_if.c driver in the vdec_hevc_slice_init() function, where a lack of proper checking can lead to a use-after-free scenario. This issue occurs when the stateless HEVC decoder saves the instance pointer in the context without checking whether the pointer was freed in case of a failure in the function vpu_dec_deinit(), possibly leading to memory corruption or causing system instability.

Statement

Red Hat Enterprise Linux is not impacted by this CVE, as the vulnerability in question does not affect the specific versions or configurations of the Linux kernel used in its distributions. This ensures that users of Red Hat Enterprise Linux are not exposed to the potential risks associated with this issue, and no further action or mitigation is necessary for systems running this operating system.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE not specified