Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.10.8, 6.6.49
CVEs
CVE-2024-46692
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:14 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 13 Sept 2024, 05:29 UTC

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.

osv:CVE-2024-46692

Kernel

Fixed versions: 6.6.49, 6.10.8

Complete source record
{
  "id": "79728f7ba3559491040fe0df5eaa58f4bafcdcb50b255fe93aab9b3016d4e964",
  "url": "https://osv.dev/vulnerability/CVE-2024-46692",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "firmware: qcom: scm: Mark get_wq_ctx() as atomic call",
    "summary": "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.",
    "evidence": "osv:CVE-2024-46692",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.49",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.10.8",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2024-46692",
      "aliases": [
        "CVE-2024-46692"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6bf32599223634294cdc6efb359ffaab1d68073c"
                },
                {
                  "fixed": "cdf7efe4b02aa93813db0bf1ca596ad298ab6b06"
                },
                {
                  "fixed": "e40115c33c0d79c940545b6b12112aace7acd9f5"
                },
                {
                  "fixed": "9960085a3a82c58d3323c1c20b991db6045063b0"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46692.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.3.0"
                },
                {
                  "fixed": "6.6.49"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.10.8"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46692.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.599833304Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/9960085a3a82c58d3323c1c20b991db6045063b0",
        "https://git.kernel.org/stable/c/cdf7efe4b02aa93813db0bf1ca596ad298ab6b06",
        "https://git.kernel.org/stable/c/e40115c33c0d79c940545b6b12112aace7acd9f5",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46692.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-46692",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46692.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-46692",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 504554,
  "published_at": "2024-09-13T05:29:21.631+00:00"
}