Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2024-58084
PUBLISHED
More InfoOfficial Page
Assigner-Linux
Assigner Org ID-416baaa9-dc9f-4396-8d5f-8c081fb06d67
View Known Exploited Vulnerability (KEV) details
Published At-06 Mar, 2025 | 16:22
Updated At-04 May, 2025 | 10:09
Rejected At-
▼CVE Numbering Authority (CNA)
firmware: qcom: scm: Fix missing read barrier in qcom_scm_get_tzmem_pool()

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.

Affected Products
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • drivers/firmware/qcom/qcom_scm.c
Default Status
unaffected
Versions
Affected
  • From 449d0d84bcd8246b508d07995326d13c54488b8c before fee921e3c641f64185abee83f9a6e65f0b380682 (git)
  • From 449d0d84bcd8246b508d07995326d13c54488b8c before e03db7c1255ebabba5e1a447754faeb138de15a2 (git)
  • From 449d0d84bcd8246b508d07995326d13c54488b8c before b628510397b5cafa1f5d3e848a28affd1c635302 (git)
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • drivers/firmware/qcom/qcom_scm.c
Default Status
affected
Versions
Affected
  • 6.11
Unaffected
  • From 0 before 6.11 (semver)
  • From 6.12.14 through 6.12.* (semver)
  • From 6.13.3 through 6.13.* (semver)
  • From 6.14 through * (original_commit_for_fix)
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://git.kernel.org/stable/c/fee921e3c641f64185abee83f9a6e65f0b380682
N/A
https://git.kernel.org/stable/c/e03db7c1255ebabba5e1a447754faeb138de15a2
N/A
https://git.kernel.org/stable/c/b628510397b5cafa1f5d3e848a28affd1c635302
N/A
Details not found