CVE-2024-46868

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-46868
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46868.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-46868
Downstream
Published
2024-09-27T12:42:55Z
Modified
2025-10-17T12:35:27.256831Z
Summary
firmware: qcom: uefisecapp: Fix deadlock in qcuefi_acquire()
Details

In the Linux kernel, the following vulnerability has been resolved:

firmware: qcom: uefisecapp: Fix deadlock in qcuefi_acquire()

If the __qcuefi pointer is not set, then in the original code, we would hold onto the lock. That means that if we tried to set it later, then it would cause a deadlock. Drop the lock on the error path. That's what all the callers are expecting.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
759e7a2b62eb3ef3c93ffeb5cca788a09627d7d9
Fixed
8c6a5a1fc02ad1d62d06897ab330693d4d27cd03
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
759e7a2b62eb3ef3c93ffeb5cca788a09627d7d9
Fixed
db213b0cfe3268d8b1d382b3bcc999c687a2567f

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.10.1
v6.10.10
v6.10.2
v6.10.3
v6.10.4
v6.10.5
v6.10.6
v6.10.7
v6.10.8
v6.10.9
v6.11-rc1
v6.6
v6.6-rc2
v6.6-rc3
v6.6-rc4
v6.6-rc5
v6.6-rc6
v6.6-rc7
v6.7
v6.7-rc1
v6.7-rc2
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Database specific

vanir_signatures

[
    {
        "digest": {
            "length": 86.0,
            "function_hash": "237100440210594533978898371980755778322"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8c6a5a1fc02ad1d62d06897ab330693d4d27cd03",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "id": "CVE-2024-46868-4807a8e5",
        "target": {
            "file": "drivers/firmware/qcom/qcom_qseecom_uefisecapp.c",
            "function": "qcuefi_acquire"
        }
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "1537064764747389533648827187878956560",
                "300863592362248366281896825053422519594",
                "240539151142864099975185481900993207883",
                "234320210264208602213775289638624797951"
            ]
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8c6a5a1fc02ad1d62d06897ab330693d4d27cd03",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "id": "CVE-2024-46868-628b702e",
        "target": {
            "file": "drivers/firmware/qcom/qcom_qseecom_uefisecapp.c"
        }
    },
    {
        "digest": {
            "length": 86.0,
            "function_hash": "237100440210594533978898371980755778322"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@db213b0cfe3268d8b1d382b3bcc999c687a2567f",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "id": "CVE-2024-46868-b60b81a3",
        "target": {
            "file": "drivers/firmware/qcom/qcom_qseecom_uefisecapp.c",
            "function": "qcuefi_acquire"
        }
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "1537064764747389533648827187878956560",
                "300863592362248366281896825053422519594",
                "240539151142864099975185481900993207883",
                "234320210264208602213775289638624797951"
            ]
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@db213b0cfe3268d8b1d382b3bcc999c687a2567f",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "id": "CVE-2024-46868-d3ff2ea8",
        "target": {
            "file": "drivers/firmware/qcom/qcom_qseecom_uefisecapp.c"
        }
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.10.11