CVE Database›Document archive›CVE-2022-50087

CVE-2022-50087

kernel: firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails

Loading…

Severity

Moderate

Red Hat Product Security

7

CVSS 3.1

Review impact separately from score.

Published · June 18, 2025

Updated · August 5, 2026

Description

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

firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails

When scpi probe fails, at any point, we need to ensure that the scpi_info is not set and will remain NULL until the probe succeeds. If it is not taken care, then it could result use-after-free as the value is exported via get_scpi_ops() and could refer to a memory allocated via devm_kzalloc() but freed when the probe fails.

Statement

This vulnerability is rated Moderate for Red Hat Enterprise Linux 8 and 9. A use-after-free flaw in the arm_scpi firmware component of the Linux kernel could allow a local attacker to escalate privileges. Triggering this vulnerability requires precise timing conditions that need to coincide with the rare event of an scpi probe failure; scpi probes are typically only present on ARM platforms with scp firmware. As such, exploitation is non-trivial and environment-specific.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CWE-825 · Expired Pointer Dereference