Menu

Star on GitHub · 3.4k

CVE-2024-46689

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: soc: qcom: cmd-db: Map shared memory as WC, not WB Linux does not write into cmd-db region.

Published Sep 13, 2024CWE-787EPSS 0.25%

Overview

CVE-2024-46689 is a medium-severity vulnerability. It was published on September 13, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

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

soc: qcom: cmd-db: Map shared memory as WC, not WB

Linux does not write into cmd-db region. This region of memory is write

protected by XPU. XPU may sometime falsely detect clean cache eviction

as "write" into the write protected region leading to secure interrupt

which causes an endless loop somewhere in Trust Zone.

The only reason it is working right now is because Qualcomm Hypervisor

maps the same region as Non-Cacheable memory in Stage 2 translation

tables. The issue manifests if we want to use another hypervisor (like

Xen or KVM), which does not know anything about those specific mappings.

Changing the mapping of cmd-db memory from MEMREMAP_WB to MEMREMAP_WT/WC

removes dependency on correct mappings in Stage 2 tables. This patch

fixes the issue by updating the mapping to MEMREMAP_WC.

I tested this on SA8155P with Xen.

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-46689?

CVE-2024-46689 is a medium-severity vulnerability. It was published on September 13, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-46689?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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-46689?

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-46689?

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

View all
LiveWatch live →