CVEvulnerability

CVE-2024-46692

5.5 MEDIUM Published 2024-09-13 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-09-13
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
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 configurations

• linux linux kernel (>= 6.3 < 6.6.49) • linux linux kernel (>= 6.7 < 6.10.8) • linux linux kernel 6.11

Related

Weakness · CWE (1)

  • CWE-667 Improper Locking weakness

References