CVE-2024-35919: media: mediatek: vcodec: adding lock to protect encoder context list
In the Linux kernel, the following vulnerability has been resolved:
media: mediatek: vcodec: adding lock to protect encoder context list
Add a lock for the ctx_list, to avoid accessing a NULL pointer
within the 'vpu_enc_ipi_handler' function when the ctx_list has
been deleted due to an unexpected behavior on the SCP IP block.
Security readout for executives and security teams
Plain-English summary
A race condition in the Linux MediaTek video encoder driver can leave an encoder context unavailable while another kernel function accesses it, causing a NULL-pointer access. Because exploitation requires local, low-privileged access and affected MediaTek video-encoding functionality, exposure is narrower than for a remote flaw. The supplied CVSS 3.1 score is 7.8.
Executive priority
Treat as a high-priority targeted kernel update for confirmed MediaTek encoder deployments, especially shared devices or systems running untrusted local workloads. Lower the operational priority where the hardware or driver is absent. There is no cited evidence of active exploitation, but kernel-context faults justify timely remediation after validating applicability.
Technical view
The MediaTek vcodec encoder context list lacked locking. Unexpected behavior in the SCP IP block could delete the list before vpu_enc_ipi_handler accessed it. The upstream resolution adds synchronization around the list. The description confirms a NULL-pointer access; it does not establish arbitrary code execution, privilege escalation, or a demonstrated confidentiality or integrity compromise.
Likely exposure
Systems running affected Linux kernel versions are relevant only when they include and expose the MediaTek vcodec encoder path. The bundle lists affected version markers involving 6.6, 6.6.27, 6.8.6, and 6.9, but does not clearly express their range semantics. Distribution backports may change exposure independently of the displayed kernel version.
Exploitation context
The CVSS vector describes local access, low privileges, low complexity, and no user interaction. The supplied bundle marks the CVE as absent from KEV, and no cited source reports active exploitation or a public exploit. Practical triggering also appears dependent on the MediaTek encoder and unexpected SCP behavior; the available evidence does not quantify reliability.
Researcher notes
The core issue is unsynchronized lifetime management of ctx_list across encoder and SCP-related handling. The patch adds locking to prevent access after deletion. Source evidence establishes a potential NULL dereference but does not demonstrate exploitation beyond that failure mode. Exact vulnerable-version boundaries and vendor backport status require platform-specific confirmation.
Mitigation direction
Install a vendor-supported kernel containing the applicable stable fix or documented backport.
Check distribution and device-vendor advisories for the precise fixed package version.
If patching is delayed, restrict untrusted local access to exposed MediaTek video-encoding functionality.
Prioritize shared or untrusted-workload systems where local users can access the encoder device.
Validation and detection
Inventory systems using MediaTek hardware and the Linux MediaTek vcodec encoder driver.
Confirm the running kernel package includes the applicable fix commit or vendor backport.
Review distribution changelogs rather than relying solely on the displayed kernel version.
Verify untrusted users and workloads cannot access relevant video-encoding interfaces after temporary restrictions.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-35919 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
3Timeline events
2ADP providers
4Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.