Review reviewHigh

CVE-2024-35921

Linux Linux, linux kernel

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

CVSS
7.8
EPSS
0.23%
14.3% percentile
CISA KEV
Not listed
Published
2024.05.19
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.23%
Technical severityCVSS 7.8

Vulnerability overview

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

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 2674486aac7d9c95ceb77daf7c30f862d4295c1c < ec25fc3c2c1e8958a51abcfed614f81446d918c4, >= 2674486aac7d9c95ceb77daf7c30f862d4295c1c < 521ce0ea7418298d754494fe53263c23c4c78a8e, >= 2674486aac7d9c95ceb77daf7c30f862d4295c1c < 97c75ee5de060d271d80109b0c47cb6008439e5b, >= 6.5, >= 6.5 < 6.6.27, >= 6.7 < 6.8.6, 6.9
Fixed versions
6.6.27, 6.8.6

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-416
CVE-2024-35921 — Linux Linux, linux kernel | SECUFOCUS NOW