CVE-2024-46692
JSON

5.5medium

firmware: qcom: scm: Mark get_wq_ctx() as atomic call

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 6bf32599223634294cdc6efb359ffaab1d68073c before cdf7efe4b02aa93813db0bf1ca596ad298ab6b06, from 6bf32599223634294cdc6efb359ffaab1d68073c before e40115c33c0d79c940545b6b12112aace7acd9f5, from 6bf32599223634294cdc6efb359ffaab1d68073c before 9960085a3a82c58d3323c1c20b991db6045063b0, 6.3
Not affected: before 6.3, from 6.6.49 up to 6.6.*, from 6.10.8 up to 6.10.*, from 6.11 up to *
CVE List
linux linux_kernelfrom 6.3 before 6.6.49, from 6.7 before 6.10.8, 6.11NVD

Classification

CWE-667

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: firmware: qcom: scm: Marcar get_wq_ctx() como llamada atómica Actualmente get_wq_ctx() está configurado incorrectamente como una llamada estándar. Cuando dos llamadas SMC están en suspensión y una SMC se despierta, llama a get_wq_ctx() para reanudar el hilo dormido correspondiente. Pero si get_wq_ctx() se interrumpe, se pone en suspensión y otra llamada SMC está esperando a que se le asigne un contexto waitq, conduce a un bloqueo. Para evitar esto, get_wq_ctx() debe ser una llamada atómica y no puede ser una llamada SMC estándar. Por lo tanto, marque get_wq_ctx() como una llamada rápida.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-46692 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-46692 changed 2026-06-17Public domain