CVE-2021-47187

arm64: dts: qcom: msm8998: Fix CPU/L2 idle state latency and residency

No CVSS score yet EPSS 0.22%

Published 10 Apr 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2021-47187

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-2021-47187 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.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

arm64: dts: qcom: msm8998: Fix CPU/L2 idle state latency and residency

The entry/exit latency and minimum residency in state for the idle states of MSM8998 were ..bad: first of all, for all of them the timings were written for CPU sleep but the min-residency-us param was miscalculated (supposedly, while porting this from downstream); Then, the power collapse states are setting PC on both the CPU cluster *and* the L2 cache, which have different timings: in the specific case of L2 the times are higher so these ones should be taken into account instead of the CPU ones.

This parameter misconfiguration was not giving particular issues because on MSM8998 there was no CPU scaling at all, so cluster/L2 power collapse was rarely (if ever) hit. When CPU scaling is enabled, though, the wrong timings will produce SoC unstability shown to the user as random, apparently error-less, sudden reboots and/or lockups.

This set of parameters are stabilizing the SoC when CPU scaling is ON and when power collapse is frequently hit.

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 14.0% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from c3083c80b52c4e29b65ed838d2e66a91b13a3152, before a14d7038ea201c5526375becfc43b9ba281b1e82
affected from c3083c80b52c4e29b65ed838d2e66a91b13a3152, before e52fecdd0c142b95c720683885b06ee3f0e065c8
affected from c3083c80b52c4e29b65ed838d2e66a91b13a3152, before 118c826ef8b43efe0fda8faf419673707ee8c5e5
affected from c3083c80b52c4e29b65ed838d2e66a91b13a3152, before 3f1dcaff642e75c1d2ad03f783fa8a3b1f56dd50
Other versions: unaffected
Linux
affected 5.3
unaffected before 5.3
unaffected from 5.4.162 up to and including 5.4.*
unaffected from 5.10.82 up to and including 5.10.*
unaffected from 5.15.5 up to and including 5.15.*
unaffected 5.16 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-2021-47187 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47187

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-2021-47187
trivy image --scanners vuln IMAGE | grep CVE-2021-47187

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

Source: the record CVE-2021-47187 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.