CVE-2022-50087
firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails
Mitigation
- Upgrade Linux to 689640efc0a2c4e07e6f88affe6d42cd40cc3f85 or later.
Who should check
- Anyone running Linux >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 5aa558232edc30468d1f35108826dd5b3ffe978f; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 18048cba444a7c41dbf42c180d6b46606fc24c51; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 08272646cd7c310642c39b7f54348fddd7987643; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 0c29e149b6bb498778ed8a1c9597b51acfba7856; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 87c4896d5dd7fd9927c814cf3c6289f41de3b562; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 4f2d7b46d6b53c07f44a4f8f8f4438888f0e9e87; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 689640efc0a2c4e07e6f88affe6d42cd40cc3f85
- Anyone running Linux 4.4
Vulnerability facts
- Affected
- Linux >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 5aa558232edc30468d1f35108826dd5b3ffe978f; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 18048cba444a7c41dbf42c180d6b46606fc24c51; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 08272646cd7c310642c39b7f54348fddd7987643; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 0c29e149b6bb498778ed8a1c9597b51acfba7856; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 87c4896d5dd7fd9927c814cf3c6289f41de3b562; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 4f2d7b46d6b53c07f44a4f8f8f4438888f0e9e87; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 689640efc0a2c4e07e6f88affe6d42cd40cc3f85; Linux 4.4
- Fixed in
- Linux 5aa558232edc30468d1f35108826dd5b3ffe978f, Linux 18048cba444a7c41dbf42c180d6b46606fc24c51, Linux 08272646cd7c310642c39b7f54348fddd7987643, Linux 0c29e149b6bb498778ed8a1c9597b51acfba7856, Linux 87c4896d5dd7fd9927c814cf3c6289f41de3b562, Linux 4f2d7b46d6b53c07f44a4f8f8f4438888f0e9e87, Linux 689640efc0a2c4e07e6f88affe6d42cd40cc3f85
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-416
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 5aa558232edc30468d1f35108826dd5b3ffe978f; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 18048cba444a7c41dbf42c180d6b46606fc24c51; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 08272646cd7c310642c39b7f54348fddd7987643; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 0c29e149b6bb498778ed8a1c9597b51acfba7856; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 87c4896d5dd7fd9927c814cf3c6289f41de3b562; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 4f2d7b46d6b53c07f44a4f8f8f4438888f0e9e87; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 689640efc0a2c4e07e6f88affe6d42cd40cc3f85 | — | cvelist |
| Linux | 4.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50087. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50087.md Affected: Linux >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 5aa558232edc30468d1f35108826dd5b3ffe978f; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 18048cba444a7c41dbf42c180d6b46606fc24c51; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 08272646cd7c310642c39b7f54348fddd7987643; >= 8cb7cf56c9fe5412de23846… Fixed in: Linux 5aa558232edc30468d1f35108826dd5b3ffe978f, Linux 18048cba444a7c41dbf42c180d6b46606fc24c51, Linux 08272646cd7c310642c39b7f54348fddd7987643, Linux 0c29e149b6bb498778ed8a1c9597b51acfba7856, Linux 87c4896d5dd7fd9927c814cf3c6289f41de3b562, Linux 4f2d7b46d6b53c07f44a4f8f8f4438888f0e9e87, Linux 68964… Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/5aa558232edc30468d1f35108826dd5b3ffe978f
- https://git.kernel.org/stable/c/18048cba444a7c41dbf42c180d6b46606fc24c51
- https://git.kernel.org/stable/c/08272646cd7c310642c39b7f54348fddd7987643
- https://git.kernel.org/stable/c/0c29e149b6bb498778ed8a1c9597b51acfba7856
- https://git.kernel.org/stable/c/87c4896d5dd7fd9927c814cf3c6289f41de3b562
- https://git.kernel.org/stable/c/4f2d7b46d6b53c07f44a4f8f8f4438888f0e9e87
- https://git.kernel.org/stable/c/689640efc0a2c4e07e6f88affe6d42cd40cc3f85
FAQ
Is CVE-2022-50087 being exploited?
There is no confirmed exploitation: CVE-2022-50087 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50087?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-50087?
Linux >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 5aa558232edc30468d1f35108826dd5b3ffe978f; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 18048cba444a7c41dbf42c180d6b46606fc24c51; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 08272646cd7c310642c39b7f54348fddd7987643; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 0c29e149b6bb498778ed8a1c9597b51acfba7856; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 87c4896d5dd7fd9927c814cf3c6289f41de3b562; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 4f2d7b46d6b53c07f44a4f8f8f4438888f0e9e87; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 689640efc0a2c4e07e6f88affe6d42cd40cc3f85; Linux 4.4.
Is there a fix for CVE-2022-50087?
Yes. Fixed in Linux 5aa558232edc30468d1f35108826dd5b3ffe978f, Linux 18048cba444a7c41dbf42c180d6b46606fc24c51, Linux 08272646cd7c310642c39b7f54348fddd7987643, Linux 0c29e149b6bb498778ed8a1c9597b51acfba7856, Linux 87c4896d5dd7fd9927c814cf3c6289f41de3b562, Linux 4f2d7b46d6b53c07f44a4f8f8f4438888f0e9e87, Linux 689640efc0a2c4e07e6f88affe6d42cd40cc3f85. Upgrade Linux to 689640efc0a2c4e07e6f88affe6d42cd40cc3f85 or later.
How do I check if I'm affected by CVE-2022-50087?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.