nday
CVE-2024-53157

firmware: arm_scpi: Check the DVFS OPP count returned by the firmware

Linux / Linux

揭露時間:。nday 尚未取得修補依據,不能據此認為沒有修補。四個 PoC 來源皆未收錄。目前未列入 CISA KEV。

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

NULL pointer dereference
CWE-476, stated by the ADP CISA-ADP、NVD's analysts 與 NVD, republishing 134c704f-9b21-4f2e-91b3-4a467353bcc0
local
AV:L in CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from the ADP CISA-ADP
no user interaction
UI:N in CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from the ADP CISA-ADP
Linux kernel
affected products in the CVE record: Linux · LinuxCPE names NVD's analysts give as vulnerable: o:linux:linux_kernel
operating system
affected products in the CVE record: Linux · LinuxCPE names NVD's analysts give as vulnerable: o:linux:linux_kernelthe product type of Linux kernel in nday's product registry
目前階段
DIS
揭露時間
CVSS
5.5 MEDIUM v3.1

生命週期

橫軸 UTC;點=精確到分鐘,寬條=僅日期,空心=不明或推斷。
時間不明
DIS揭露
2024-12-24T11:28Z
PAT修補
尚無紀錄
ANA分析
尚無紀錄
POCPoC
尚無紀錄
ITW遭利用
尚無紀錄
KEVKEV
尚無紀錄

摘要

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

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS 3.1 vector from the CVE record, added by the ADP CISA-ADP.

事件紀錄

+DIS揭露

CVE 紀錄由 Linux 發布。CVSS 5.5,屬中風險等級。

來源 cvelist · nday 於 批次匯入 · 原始
{
  "id": 345839,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2024-53157",
  "occurred_at": "2024-12-24T11:28:56.218Z",
  "observed_at": "2026-11-13T05:38:43.790901Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "adp:CISA-ADP",
      "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
      "version": "3.1",
      "base_score": 5.5,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2025-10-01T20:09:32.391899Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2024-12-24T11:28:56.218Z",
    "assigner_short_name": "Linux"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

研究員討論

近 7 天有 0 位研究員提及

名單內研究員在 X 上提及此 CVE 的貼文,照原文呈現,nday 不查核。

尚未收錄名單內研究員在 X 上提及此 CVE 的貼文。

Discussion

0 comments

No comments yet.