CVE-2022-50087: Use-after-free in Linux kernel ARM SCPI probe failure handling
- Vendor
- Linux
CVE-2022-50087 is a use-after-free vulnerability in the Linux kernel ARM SCPI firmware driver. If driver probing fails after the global scpi_info pointer has been assigned, device-managed memory allocated through devm_kzalloc() is freed while scpi_info retains a reference to it. Subsequent access through get_scpi_ops() can expose the stale pointer and result in use-after-free. The fix keeps scpi_info NULL until probing completes successfully.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Access to freed memory in kernel context can potentially cause a kernel crash or other memory-safety failures, affecting system availability. Arbitrary code execution, privilege escalation, and information disclosure are not established for this specific vulnerability.
Mitigation
If you can’t patch tonight, do this now.
Until the kernel can be updated, avoid deployments or operational conditions that cause the ARM SCPI driver probe to fail. No specific interim workaround beyond applying a corrected kernel is available.
Remediation
Patch, then assume compromise.
Install a vendor-supported kernel update containing the ARM SCPI fix that defers assignment of scpi_info until probing succeeds. Fixed Red Hat builds include 4.18.0-553.77.1.el8_10 for RHEL 8, 5.14.0-284.142.1.el9_2 for applicable RHEL 9.2 channels, and 5.14.0-427.94.1.el9_4 for applicable RHEL 9.4 channels. Other release streams and real-time kernels require their corresponding vendor updates. Rocky Linux 8 and CentOS Linux 8.5 deployments should apply the applicable CIQ or TuxCare kernel updates. Reboot into the updated kernel for the fix to take effect.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2022-50087 exploited in the wild?
- Yes. As of Oct 25, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2022-50087?
- As of Oct 25, 2026, Mallory has found no public exploit for CVE-2022-50087.
- Is there a patch for CVE-2022-50087?
- Install a vendor-supported kernel update containing the ARM SCPI fix that defers assignment of scpi_info until probing succeeds. Fixed Red Hat builds include 4.18.0-553.77.1.el8_10 for RHEL 8, 5.14.0-284.142.1.el9_2 for applicable RHEL 9.2 channels, and 5.14.0-427.94.1.el9_4 for applicable RHEL 9.4 channels.
- What products are affected by CVE-2022-50087?
- Linux Kernel.
- How severe is CVE-2022-50087?
- CVE-2022-50087 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.21% (11th percentile) as of Oct 25, 2026.
Recent activity
17 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.