CVE-2022-50087

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

HIGH
7.8
CVSS Score
Published: June 18, 2025 at 11:02 AM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.20 ≤ v < 5.4.2114.4 ≤ v < 4.19.2564.4 ≤ v < 5.10.1374.4 ≤ v < 5.15.614.4 ≤ v < 5.18.184.4 ≤ v < 5.19.24.4 ≤ v < 5.4.2114.4 ≤ v < 6.05.11 ≤ v < 5.15.615.16 ≤ v < 5.18.185.19 ≤ v < 5.19.25.5 ≤ v < 5.10.1374.48cb7cf56c9fe5412de238465b27ef35b4d2801aa
Vendor states this is fixed in 08272646cd7c310642c39b7f54348fddd7987643 (fixed)
Vendor states this is fixed in 0c29e149b6bb498778ed8a1c9597b51acfba7856 (fixed)
Vendor states this is fixed in 18048cba444a7c41dbf42c180d6b46606fc24c51 (fixed)
Vendor states this is fixed in 4f2d7b46d6b53c07f44a4f8f8f4438888f0e9e87 (fixed)
Vendor states this is fixed in 5aa558232edc30468d1f35108826dd5b3ffe978f (fixed)
Vendor states this is fixed in 689640efc0a2c4e07e6f88affe6d42cd40cc3f85 (fixed)
Vendor states this is fixed in 87c4896d5dd7fd9927c814cf3c6289f41de3b562 (fixed)
Vendor states this is fixed in 4.19.256 (unaffected)
Vendor states this is fixed in 4.4 (unaffected)
Vendor states this is fixed in 5.10.137 (unaffected)
Vendor states this is fixed in 5.15.61 (unaffected)
Vendor states this is fixed in 5.18.18 (unaffected)
Vendor states this is fixed in 5.19.2 (unaffected)
Vendor states this is fixed in 5.4.211 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/08272646cd7c310642c39b7f54348fddd7987643
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0c29e149b6bb498778ed8a1c9597b51acfba7856
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/18048cba444a7c41dbf42c180d6b46606fc24c51
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4f2d7b46d6b53c07f44a4f8f8f4438888f0e9e87
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5aa558232edc30468d1f35108826dd5b3ffe978f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/689640efc0a2c4e07e6f88affe6d42cd40cc3f85
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/87c4896d5dd7fd9927c814cf3c6289f41de3b562

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card