CVE-2022-50087
firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails
- Published
- Updated
- Reserved
- Assigned by
- Linux
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.
Timeline
ID reserved
By Linux
Published
- 14 months later
· 14 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.20% · top 90% of all CVEs (8 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Weakness
Affected products
- affected 8cb7cf56c9fe5412de238465b27ef35b4d2801aa – < 5aa558232edc30468d1f35108826dd5b3ffe978f
- affected 8cb7cf56c9fe5412de238465b27ef35b4d2801aa – < 18048cba444a7c41dbf42c180d6b46606fc24c51
- affected 8cb7cf56c9fe5412de238465b27ef35b4d2801aa – < 08272646cd7c310642c39b7f54348fddd7987643
- affected 8cb7cf56c9fe5412de238465b27ef35b4d2801aa – < 0c29e149b6bb498778ed8a1c9597b51acfba7856
- affected 8cb7cf56c9fe5412de238465b27ef35b4d2801aa – < 87c4896d5dd7fd9927c814cf3c6289f41de3b562
- affected 8cb7cf56c9fe5412de238465b27ef35b4d2801aa – < 4f2d7b46d6b53c07f44a4f8f8f4438888f0e9e87
- affected 8cb7cf56c9fe5412de238465b27ef35b4d2801aa – < 689640efc0a2c4e07e6f88affe6d42cd40cc3f85
- affected 4.4
- unaffected < 4.4
- unaffected 4.19.256 – ≤ 4.19.*
- unaffected 5.4.211 – ≤ 5.4.*
- unaffected 5.10.137 – ≤ 5.10.*
- unaffected 5.15.61 – ≤ 5.15.*
- unaffected 5.18.18 – ≤ 5.18.*
- unaffected 5.19.2 – ≤ 5.19.*
- unaffected 6.0 – ≤ *
References (7)
- https://git.kernel.org/stable/c/5aa558232edc30468d1f35108826dd5b3ffe978f (opens in a new tab)
- https://git.kernel.org/stable/c/18048cba444a7c41dbf42c180d6b46606fc24c51 (opens in a new tab)
- https://git.kernel.org/stable/c/08272646cd7c310642c39b7f54348fddd7987643 (opens in a new tab)
- https://git.kernel.org/stable/c/0c29e149b6bb498778ed8a1c9597b51acfba7856 (opens in a new tab)
- https://git.kernel.org/stable/c/87c4896d5dd7fd9927c814cf3c6289f41de3b562 (opens in a new tab)
- https://git.kernel.org/stable/c/4f2d7b46d6b53c07f44a4f8f8f4438888f0e9e87 (opens in a new tab)
- https://git.kernel.org/stable/c/689640efc0a2c4e07e6f88affe6d42cd40cc3f85 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-50087)Record last updated .