What’s Vulnerable › Vulnerabilities
CVE-2024-46692: firmware: qcom: scm: Mark get_wq_ctx() as atomic call
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-09-13 · updated 2026-06-17
- Weakness: CWE-667
Description
In the Linux kernel, the following vulnerability has been resolved: firmware: qcom: scm: Mark get_wq_ctx() as atomic call Currently get_wq_ctx() is wrongly configured as a standard call. When two SMC calls are in sleep and one SMC wakes up, it calls get_wq_ctx() to resume the corresponding sleeping thread. But if get_wq_ctx() is interrupted, goes to sleep and another SMC call is waiting to be allocated a waitq context, it leads to a deadlock. To avoid this get_wq_ctx() must be an atomic call and can't be a standard SMC call. Hence mark get_wq_ctx() as a fast call.
Affected products
- Linux kernel: from 6.3 before 6.6.49; from 6.7 before 6.10.8; 6.11-rc1, 6.11-rc2, 6.11-rc3, 6.11-rc4, 6.11-rc5 — fixed in 6.10.8, 6.6.49
How to fix
Upgrade to a fixed version: Linux kernel 6.10.8, 6.6.49. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/9960085a3a82c58d3323c1c20b991db6045063b0
- https://git.kernel.org/stable/c/cdf7efe4b02aa93813db0bf1ca596ad298ab6b06
- https://git.kernel.org/stable/c/e40115c33c0d79c940545b6b12112aace7acd9f5
Get alerted when CVE-2024-46692 or the next vulnerability affects your stack