firmware: qcom: uefisecapp: Fix deadlock in qcuefi_acquire()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
In the Linux kernel’s qcom uefisecapp component, qcuefi_acquire() could retain a lock when the __qcuefi pointer was unset. A later attempt to set the pointer could then deadlock; the input does not specify an attack path, authentication requirements, or whether user interaction is needed.
Engineers running Linux kernels with the qcom uefisecapp component should check their deployments; affected versions are not specified.