Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2024-46692

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 6bf32599223634294cdc6efb359ffaab1d68073c to < cdf7efe4b02aa93813db0bf1ca596ad298ab6b06affected
  • 6bf32599223634294cdc6efb359ffaab1d68073c to < e40115c33c0d79c940545b6b12112aace7acd9f5affected
  • 6bf32599223634294cdc6efb359ffaab1d68073c to < 9960085a3a82c58d3323c1c20b991db6045063b0affected

Linux Linux

Default version status: affected

  • 6.3affected
  • 0 to < 6.3unaffected
  • 6.6.49 to ≤ 6.6.*unaffected
  • 6.10.8 to ≤ 6.10.*unaffected
  • 6.11 to ≤ *unaffected

References