Menu

Star on GitHub · 3.2k

CVE-2024-35921

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: media: mediatek: vcodec: Fix oops when HEVC init fails The stateless HEVC decoder saves the instance pointer in the context reg…

Published May 19, 2024CWE-416EPSS 0.24%

Overview

CVE-2024-35921 is a high-severity vulnerability. It was published on May 19, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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:

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

The stateless HEVC decoder saves the instance pointer in the context

regardless if the initialization worked or not. This caused a use after

free, when the pointer is freed in case of a failure in the deinit

function.

Only store the instance pointer when the initialization was successful,

to solve this issue.

Hardware name: Acer Tomato (rev3 - 4) board (DT)

pstate: 80400009 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)

pc : vcodec_vpu_send_msg+0x4c/0x190 [mtk_vcodec_dec]

lr : vcodec_send_ap_ipi+0x78/0x170 [mtk_vcodec_dec]

sp : ffff80008750bc20

x29: ffff80008750bc20 x28: ffff1299f6d70000 x27: 0000000000000000

x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000

x23: ffff80008750bc98 x22: 000000000000a003 x21: ffffd45c4cfae000

x20: 0000000000000010 x19: ffff1299fd668310 x18: 000000000000001a

x17: 000000040044ffff x16: ffffd45cb15dc648 x15:

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-2024-35921?

CVE-2024-35921 is a high-severity vulnerability. It was published on May 19, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-35921?

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

How do I fix or remediate CVE-2024-35921?

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-2024-35921?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-35921 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 HIGH CVEs from 2024

View all