All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-50087

Probability of exploitation in the next 30 days: 0.21%

FIRST EPSS · 2026-11-19

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.

A flaw was found in the Linux kernel's ARM System Control and Power Interface (SCPI) firmware driver. When an SCPI device initialization probe fails, the driver does not properly clear internal references to memory that was deallocated during the failure. A local attacker could exploit this use-after-free flaw by invoking operations that access the released memory, potentially leading to privilege escalation or causing a denial of service (DoS) through a system crash.