CVE-2022-50087
firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails
Check your servers for CVE-2022-50087
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50087 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Jun 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, before 5aa558232edc30468d1f35108826dd5b3ffe978f affected from 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, before 18048cba444a7c41dbf42c180d6b46606fc24c51 affected from 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, before 08272646cd7c310642c39b7f54348fddd7987643 affected from 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, before 0c29e149b6bb498778ed8a1c9597b51acfba7856 affected from 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, before 87c4896d5dd7fd9927c814cf3c6289f41de3b562 affected from 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, before 4f2d7b46d6b53c07f44a4f8f8f4438888f0e9e87 affected from 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, before 689640efc0a2c4e07e6f88affe6d42cd40cc3f85
Other versions: unaffected
|
| Linux |
affected 4.4 unaffected before 4.4 unaffected from 4.19.256 up to and including 4.19.* unaffected from 5.4.211 up to and including 5.4.* unaffected from 5.10.137 up to and including 5.10.* unaffected from 5.15.61 up to and including 5.15.* unaffected from 5.18.18 up to and including 5.18.* unaffected from 5.19.2 up to and including 5.19.* unaffected 6.0 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50087 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50087
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50087
trivy image --scanners vuln IMAGE | grep CVE-2022-50087
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/5aa558232edc30468d1f35108826dd5b3ffe978f git.kernel.org
- https://git.kernel.org/stable/c/18048cba444a7c41dbf42c180d6b46606fc24c51 git.kernel.org
- https://git.kernel.org/stable/c/08272646cd7c310642c39b7f54348fddd7987643 git.kernel.org
- https://git.kernel.org/stable/c/0c29e149b6bb498778ed8a1c9597b51acfba7856 git.kernel.org
- https://git.kernel.org/stable/c/87c4896d5dd7fd9927c814cf3c6289f41de3b562 git.kernel.org
- https://git.kernel.org/stable/c/4f2d7b46d6b53c07f44a4f8f8f4438888f0e9e87 git.kernel.org
- https://git.kernel.org/stable/c/689640efc0a2c4e07e6f88affe6d42cd40cc3f85 git.kernel.org
Source: the record CVE-2022-50087 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse