# CVE-2024-53157: firmware: arm\_scpi: Check the DVFS OPP count returned by the firmware

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-12-24T11:28:56.218Z
- **Modified:** 2026-06-17T08:08:26.737Z

## Who should check

- Anyone running Linux \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 12e2c520a0a4202575e4a45ea41f06a8e9aa3417; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 8be4e51f3ecfb0915e3510b600c4cce0dc68a383; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 380c0e1d96f3b522f3170c18ee5e0f1a28fec5d6; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 2a5b8de6fcb944f9af0c5fcb30bb0c039705e051; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 06258e57fee253f4046d3a6a86d7fde09f596eac; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 025067eeb945aa17c7dd483a63960125b7efb577; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< dfc9c2aa7f04f7db7e7225a5e118a24bf1c3b325; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 9beaff47bcea5eec7d4ead98f5043057161fd71a; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 109aa654f85c5141e813b2cd1bd36d90be678407
- Anyone running Linux 4.4

## Description

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

firmware: arm\_scpi: Check the DVFS OPP count returned by the firmware

Fix a kernel crash with the below call trace when the SCPI firmware
returns OPP count of zero.

dvfs\_info.opp\_count may be zero on some platforms during the reboot
test, and the kernel will crash after dereferencing the pointer to
kcalloc(info-\>count, sizeof(\*opp), GFP\_KERNEL).

  \|  Unable to handle kernel NULL pointer dereference at virtual address 0000000000000028
  \|  Mem abort info:
  \|    ESR = 0x96000004
  \|    Exception class = DABT (current EL), IL = 32 bits
  \|    SET = 0, FnV = 0
  \|    EA = 0, S1PTW = 0
  \|  Data abort info:
  \|    ISV = 0, ISS = 0x00000004
  \|    CM = 0, WnR = 0
  \|  user pgtable: 4k pages, 48-bit VAs, pgdp = 00000000faefa08c
  \|  \[0000000000000028\] pgd=0000000000000000
  \|  Internal error: Oops: 96000004 \[\#1\] SMP
  \|  scpi-hwmon: probe of PHYT000D:00 failed with error -110
  \|  Process systemd-udevd (pid: 1701, stack limit = 0x00000000aaede86c)
  \|  CPU: 2 PID: 1701 Comm: systemd-udevd Not tainted 4.19.90+ \#1
  \|  Hardware name: PHYTIUM LTD Phytium FT2000/4/Phytium FT2000/4, BIOS
  \|  pstate: 60000005 (nZCv daif -PAN -UAO)
  \|  pc : scpi\_dvfs\_recalc\_rate+0x40/0x58 \[clk\_scpi\]
  \|  lr : clk\_register+0x438/0x720
  \|  Call trace:
  \|   scpi\_dvfs\_recalc\_rate+0x40/0x58 \[clk\_scpi\]
  \|   devm\_clk\_hw\_register+0x50/0xa0
  \|   scpi\_clk\_ops\_init.isra.2+0xa0/0x138 \[clk\_scpi\]
  \|   scpi\_clocks\_probe+0x528/0x70c \[clk\_scpi\]
  \|   platform\_drv\_probe+0x58/0xa8
  \|   really\_probe+0x260/0x3d0
  \|   driver\_probe\_device+0x12c/0x148
  \|   device\_driver\_attach+0x74/0x98
  \|   \_\_driver\_attach+0xb4/0xe8
  \|   bus\_for\_each\_dev+0x88/0xe0
  \|   driver\_attach+0x30/0x40
  \|   bus\_add\_driver+0x178/0x2b0
  \|   driver\_register+0x64/0x118
  \|   \_\_platform\_driver\_register+0x54/0x60
  \|   scpi\_clocks\_driver\_init+0x24/0x1000 \[clk\_scpi\]
  \|   do\_one\_initcall+0x54/0x220
  \|   do\_init\_module+0x54/0x1c8
  \|   load\_module+0x14a4/0x1668
  \|   \_\_se\_sys\_finit\_module+0xf8/0x110
  \|   \_\_arm64\_sys\_finit\_module+0x24/0x30
  \|   el0\_svc\_common+0x78/0x170
  \|   el0\_svc\_handler+0x38/0x78
  \|   el0\_svc+0x8/0x340
  \|  Code: 937d7c00 a94153f3 a8c27bfd f9400421 (b8606820)
  \|  ---\[ end trace 06feb22469d89fa8 \]---
  \|  Kernel panic - not syncing: Fatal exception
  \|  SMP: stopping secondary CPUs
  \|  Kernel Offset: disabled
  \|  CPU features: 0x10,a0002008
  \|  Memory Limit: none

## Affected and fixed versions

- Linux: \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 12e2c520a0a4202575e4a45ea41f06a8e9aa3417; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 8be4e51f3ecfb0915e3510b600c4cce0dc68a383; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 380c0e1d96f3b522f3170c18ee5e0f1a28fec5d6; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 2a5b8de6fcb944f9af0c5fcb30bb0c039705e051; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 06258e57fee253f4046d3a6a86d7fde09f596eac; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 025067eeb945aa17c7dd483a63960125b7efb577; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< dfc9c2aa7f04f7db7e7225a5e118a24bf1c3b325; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 9beaff47bcea5eec7d4ead98f5043057161fd71a; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 109aa654f85c5141e813b2cd1bd36d90be678407 (cvelist)
- Linux: 4.4 (cvelist)

## Mitigation

- Upgrade Linux to 109aa654f85c5141e813b2cd1bd36d90be678407 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-53157. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-53157.md
Affected: Linux >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 12e2c520a0a4202575e4a45ea41f06a8e9aa3417; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 8be4e51f3ecfb0915e3510b600c4cce0dc68a383; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 380c0e1d96f3b522f3170c18ee5e0f1a28fec5d6; >= 8cb7cf56c9fe5412de23846…
Fixed in: Linux 12e2c520a0a4202575e4a45ea41f06a8e9aa3417, Linux 8be4e51f3ecfb0915e3510b600c4cce0dc68a383, Linux 380c0e1d96f3b522f3170c18ee5e0f1a28fec5d6, Linux 2a5b8de6fcb944f9af0c5fcb30bb0c039705e051, Linux 06258e57fee253f4046d3a6a86d7fde09f596eac, Linux 025067eeb945aa17c7dd483a63960125b7efb577, Linux 9beaf…

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.
```

## FAQ

### Is CVE-2024-53157 being exploited?

There is no confirmed exploitation: CVE-2024-53157 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-53157?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-53157?

Linux \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 12e2c520a0a4202575e4a45ea41f06a8e9aa3417; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 8be4e51f3ecfb0915e3510b600c4cce0dc68a383; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 380c0e1d96f3b522f3170c18ee5e0f1a28fec5d6; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 2a5b8de6fcb944f9af0c5fcb30bb0c039705e051; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 06258e57fee253f4046d3a6a86d7fde09f596eac; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 025067eeb945aa17c7dd483a63960125b7efb577; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< dfc9c2aa7f04f7db7e7225a5e118a24bf1c3b325; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 9beaff47bcea5eec7d4ead98f5043057161fd71a; \>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, \< 109aa654f85c5141e813b2cd1bd36d90be678407; Linux 4.4.

### Is there a fix for CVE-2024-53157?

Yes. Fixed in Linux 12e2c520a0a4202575e4a45ea41f06a8e9aa3417, Linux 8be4e51f3ecfb0915e3510b600c4cce0dc68a383, Linux 380c0e1d96f3b522f3170c18ee5e0f1a28fec5d6, Linux 2a5b8de6fcb944f9af0c5fcb30bb0c039705e051, Linux 06258e57fee253f4046d3a6a86d7fde09f596eac, Linux 025067eeb945aa17c7dd483a63960125b7efb577, Linux 9beaff47bcea5eec7d4ead98f5043057161fd71a, Linux 109aa654f85c5141e813b2cd1bd36d90be678407. Upgrade Linux to 109aa654f85c5141e813b2cd1bd36d90be678407 or later.

### How do I check if I'm affected by CVE-2024-53157?

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.

## References

- patch: <https://git.kernel.org/stable/c/12e2c520a0a4202575e4a45ea41f06a8e9aa3417>
- patch: <https://git.kernel.org/stable/c/8be4e51f3ecfb0915e3510b600c4cce0dc68a383>
- patch: <https://git.kernel.org/stable/c/380c0e1d96f3b522f3170c18ee5e0f1a28fec5d6>
- patch: <https://git.kernel.org/stable/c/2a5b8de6fcb944f9af0c5fcb30bb0c039705e051>
- patch: <https://git.kernel.org/stable/c/06258e57fee253f4046d3a6a86d7fde09f596eac>
- patch: <https://git.kernel.org/stable/c/025067eeb945aa17c7dd483a63960125b7efb577>
- patch: <https://git.kernel.org/stable/c/dfc9c2aa7f04f7db7e7225a5e118a24bf1c3b325>
- patch: <https://git.kernel.org/stable/c/9beaff47bcea5eec7d4ead98f5043057161fd71a>
- patch: <https://git.kernel.org/stable/c/109aa654f85c5141e813b2cd1bd36d90be678407>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-53157>

HTML: <https://flawdb.com/CVE-2024-53157> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-53157>
