CVE-2024-58084
Last modified
CVE-2024-58084 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: firmware: qcom: scm: Fix missing read barrier in qcom_scm_get_tzmem_pool() Commit 2e4955167ec5 ("firmware: qcom: scm: Fix __scm and waitq completion variable initialization") introduced a write barrier in probe function to store global '__scm' variable. We all known barriers are paired (see memory-barriers.txt: "Note that write barriers should normally be paired with read or address-dependency barriers"), therefore accessing it from concurrent contexts requires read barrier. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: firmware: qcom: scm: Fix missing read barrier in qcom_scm_get_tzmem_pool() Commit 2e4955167ec5 ("firmware: qcom: scm: Fix __scm and waitq completion variable initialization") introduced a write barrier in probe function to store global '__scm' variable. We all known barriers are paired (see memory-barriers.txt: "Note that write barriers should normally be paired with read or address-dependency barriers"), therefore accessing it from concurrent contexts requires read barrier. Previous commit added such barrier in qcom_scm_is_available(), so let's use that directly. Lack of this read barrier can result in fetching stale '__scm' variable value, NULL, and dereferencing it. Note that barrier in qcom_scm_is_available() satisfies here the control dependency.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.11, <= 6.12.14 |
| Linux | Linux Kernel | >= 6.13, <= 6.13.3 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-58084?
How severe is CVE-2024-58084?
How do I fix CVE-2024-58084?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-58079In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-5808The WP Ajax Contact Form WordPress plugin through 2.2.2 does…4.3
- CVE-2024-58080In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-58081In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-58082In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-58083In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-58085In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-58086In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-58087In the Linux kernel, the following vulnerability has been re…8.1
- CVE-2024-58088In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-58089In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-5809The WP Ajax Contact Form WordPress plugin through 2.2.2 does…6.1
Are you affected by CVE-2024-58084?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
