{"id":"CVE-2024-58084","published":"2025-03-06T16:22:31Z","modified":"2026-05-11T21:02:59Z","title":"firmware: qcom: scm: Fix missing read barrier in qcom_scm_get_tzmem_pool()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: qcom: scm: Fix missing read barrier in qcom_scm_get_tzmem_pool()\n\nCommit 2e4955167ec5 (\"firmware: qcom: scm: Fix __scm and waitq\ncompletion variable initialization\") introduced a write barrier in probe\nfunction to store global '__scm' variable.  We all known barriers are\npaired (see memory-barriers.txt: \"Note that write barriers should\nnormally be paired with read or address-dependency barriers\"), therefore\naccessing it from concurrent contexts requires read barrier.  Previous\ncommit added such barrier in qcom_scm_is_available(), so let's use that\ndirectly.\n\nLack of this read barrier can result in fetching stale '__scm' variable\nvalue, NULL, and dereferencing it.\n\nNote that barrier in qcom_scm_is_available() satisfies here the control\ndependency.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00281,"percentile":0.13185,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/fee921e3c641f64185abee83f9a6e65f0b380682","tags":[]},{"url":"https://git.kernel.org/stable/c/e03db7c1255ebabba5e1a447754faeb138de15a2","tags":[]},{"url":"https://git.kernel.org/stable/c/b628510397b5cafa1f5d3e848a28affd1c635302","tags":[]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":2.64},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 449d0d84bcd8246b508d07995326d13c54488b8c, < fee921e3c641f64185abee83f9a6e65f0b380682",">= 449d0d84bcd8246b508d07995326d13c54488b8c, < e03db7c1255ebabba5e1a447754faeb138de15a2",">= 449d0d84bcd8246b508d07995326d13c54488b8c, < b628510397b5cafa1f5d3e848a28affd1c635302"]},{"vendor":"Linux","product":"Linux","versions":["6.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:27:08.387078Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-54015","exploited":false,"provenance":"source"}}