CVE-2022-50087
published 2025-06-18CVE-2022-50087: 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…
PriorityP337high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.17%
6.1th percentile
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
19 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.0.2-1 (bookworm) | linux 6.0.2-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa < 5aa558232edc30468d1f35108826dd5b3ffe978f | 5aa558232edc30468d1f35108826dd5b3ffe978f |
| linux | linux | >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa < 18048cba444a7c41dbf42c180d6b46606fc24c51 | 18048cba444a7c41dbf42c180d6b46606fc24c51 |
| linux | linux | >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa < 08272646cd7c310642c39b7f54348fddd7987643 | 08272646cd7c310642c39b7f54348fddd7987643 |
| linux | linux | >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa < 0c29e149b6bb498778ed8a1c9597b51acfba7856 | 0c29e149b6bb498778ed8a1c9597b51acfba7856 |
| linux | linux | >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa < 87c4896d5dd7fd9927c814cf3c6289f41de3b562 | 87c4896d5dd7fd9927c814cf3c6289f41de3b562 |
| linux | linux | >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa < 4f2d7b46d6b53c07f44a4f8f8f4438888f0e9e87 | 4f2d7b46d6b53c07f44a4f8f8f4438888f0e9e87 |
| linux | linux | >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa < 689640efc0a2c4e07e6f88affe6d42cd40cc3f85 | 689640efc0a2c4e07e6f88affe6d42cd40cc3f85 |
| linux | linux_kernel | >= 0 < 5.10.140-1 | 5.10.140-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 4.20 < 5.4.211 | 5.4.211 |
| linux | linux_kernel | >= 4.4 < 4.19.256 | 4.19.256 |
| linux | linux_kernel | >= 5.11 < 5.15.61 | 5.15.61 |
| linux | linux_kernel | >= 5.16 < 5.18.18 | 5.18.18 |
| linux | linux_kernel | >= 5.19 < 5.19.2 | 5.19.2 |
| linux | linux_kernel | >= 5.5 < 5.10.137 | 5.10.137 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails
vendor_redhat·2025-06-18·CVSS 7.8
CVE-2022-50087 [HIGH] CWE-825 kernel: firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails
kernel: firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails
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.
Statement: This vulnerability is rated Moderate for Red Hat Enterprise Linux 8 and 9. A use-after-free flaw in the `arm_scpi` firmware component of the Linux kernel could allow a local attacker to escalate privileges. Triggering this vulnerability requ
Debian
CVE-2022-50087: linux - In the Linux kernel, the following vulnerability has been resolved: firmware: a...
vendor_debian·2022·CVSS 7.8
CVE-2022-50087 [HIGH] CVE-2022-50087: linux - In the Linux kernel, the following vulnerability has been resolved: firmware: a...
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.
Scope: local
bookworm: resolved (fixed in 6.0.2-1)
bullseye: resolved (fixed in 5.10.140-1)
forky: resolved (fixed in 6.0.2-1)
sid: resolved (fixed in 6.0.2-1)
trixie: resolved (fixed in 6.0.2-1)
GHSA
GHSA-5x8j-6m8p-fvgx: In the Linux kernel, the following vulnerability has been resolved:
firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails
When scp
ghsa_unreviewed·2025-06-18
CVE-2022-50087 [HIGH] CWE-416 GHSA-5x8j-6m8p-fvgx: In the Linux kernel, the following vulnerability has been resolved:
firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails
When scp
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.
OSV
CVE-2022-50087: 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
osv·2025-06-18·CVSS 7.8
CVE-2022-50087 [HIGH] CVE-2022-50087: 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
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.
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/08272646cd7c310642c39b7f54348fddd7987643https://git.kernel.org/stable/c/0c29e149b6bb498778ed8a1c9597b51acfba7856https://git.kernel.org/stable/c/18048cba444a7c41dbf42c180d6b46606fc24c51https://git.kernel.org/stable/c/4f2d7b46d6b53c07f44a4f8f8f4438888f0e9e87https://git.kernel.org/stable/c/5aa558232edc30468d1f35108826dd5b3ffe978fhttps://git.kernel.org/stable/c/689640efc0a2c4e07e6f88affe6d42cd40cc3f85https://git.kernel.org/stable/c/87c4896d5dd7fd9927c814cf3c6289f41de3b562
2025-06-18
Published