CVE-2024-46692 firmware: qcom: scm: Mark get_wq_ctx() as atomic call
A race condition in the Qualcomm SCM driver can cause a deadlock, leading to a denial of service in the Linux kernel.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-46692?
CVE-2024-46692 is a medium-severity vulnerability in Linux kernel, published on 13 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-667
Which versions are affected by CVE-2024-46692?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-46692?
Apply the vendor's patch.
Is CVE-2024-46692 being exploited?
There is no known exploitation of CVE-2024-46692 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-49275, BELL-CVE-2024-46692, DEBIAN-CVE-2024-46692, GHSA-5293-cf37-fxqw, UBUNTU-CVE-2024-46692.