CVE-2024-46689
soc: qcom: cmd-db: Map shared memory as WC, not WB
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < 0ee9594c974368a17e85a431e9fe1c14fb65c278; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < f5a5a5a0e95f36e2792d48e6e4b64e665eb01374; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < eaff392c1e34fb77cc61505a31b0191e5e46e271; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < d9d48d70e922b272875cda60d2ada89291c840cf; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < ef80520be0ff78ae5ed44cb6eee1525e65bebe70; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < 62c2d63605ca25b5db78a347ed303c0a0a77d5b4; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < f9bb896eab221618927ae6a2f1d566567999839d
- Anyone running Linux 4.18
Vulnerability facts
- Affected
- Linux >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < 0ee9594c974368a17e85a431e9fe1c14fb65c278; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < f5a5a5a0e95f36e2792d48e6e4b64e665eb01374; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < eaff392c1e34fb77cc61505a31b0191e5e46e271; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < d9d48d70e922b272875cda60d2ada89291c840cf; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < ef80520be0ff78ae5ed44cb6eee1525e65bebe70; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < 62c2d63605ca25b5db78a347ed303c0a0a77d5b4; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < f9bb896eab221618927ae6a2f1d566567999839d; Linux 4.18
- Fixed in
- Linux 0ee9594c974368a17e85a431e9fe1c14fb65c278, Linux 62c2d63605ca25b5db78a347ed303c0a0a77d5b4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-787
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < 0ee9594c974368a17e85a431e9fe1c14fb65c278; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < f5a5a5a0e95f36e2792d48e6e4b64e665eb01374; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < eaff392c1e34fb77cc61505a31b0191e5e46e271; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < d9d48d70e922b272875cda60d2ada89291c840cf; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < ef80520be0ff78ae5ed44cb6eee1525e65bebe70; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < 62c2d63605ca25b5db78a347ed303c0a0a77d5b4; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < f9bb896eab221618927ae6a2f1d566567999839d | — | cvelist |
| Linux | 4.18 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-46689. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-46689.md Affected: Linux >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < 0ee9594c974368a17e85a431e9fe1c14fb65c278; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < f5a5a5a0e95f36e2792d48e6e4b64e665eb01374; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < eaff392c1e34fb77cc61505a31b0191e5e46e271; >= 312416d9171a1460b7ed8d1… Fixed in: Linux 0ee9594c974368a17e85a431e9fe1c14fb65c278, Linux 62c2d63605ca25b5db78a347ed303c0a0a77d5b4 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/0ee9594c974368a17e85a431e9fe1c14fb65c278
- https://git.kernel.org/stable/c/f5a5a5a0e95f36e2792d48e6e4b64e665eb01374
- https://git.kernel.org/stable/c/eaff392c1e34fb77cc61505a31b0191e5e46e271
- https://git.kernel.org/stable/c/d9d48d70e922b272875cda60d2ada89291c840cf
- https://git.kernel.org/stable/c/ef80520be0ff78ae5ed44cb6eee1525e65bebe70
- https://git.kernel.org/stable/c/62c2d63605ca25b5db78a347ed303c0a0a77d5b4
- https://git.kernel.org/stable/c/f9bb896eab221618927ae6a2f1d566567999839d
FAQ
Is CVE-2024-46689 being exploited?
There is no confirmed exploitation: CVE-2024-46689 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-46689?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-46689?
Linux >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < 0ee9594c974368a17e85a431e9fe1c14fb65c278; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < f5a5a5a0e95f36e2792d48e6e4b64e665eb01374; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < eaff392c1e34fb77cc61505a31b0191e5e46e271; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < d9d48d70e922b272875cda60d2ada89291c840cf; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < ef80520be0ff78ae5ed44cb6eee1525e65bebe70; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < 62c2d63605ca25b5db78a347ed303c0a0a77d5b4; >= 312416d9171a1460b7ed8d182b5b540c910ce80d, < f9bb896eab221618927ae6a2f1d566567999839d; Linux 4.18.
Is there a fix for CVE-2024-46689?
Yes. Fixed in Linux 0ee9594c974368a17e85a431e9fe1c14fb65c278, Linux 62c2d63605ca25b5db78a347ed303c0a0a77d5b4. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-46689?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.