nday
CVE-2024-53068

firmware: arm_scmi: Fix slab-use-after-free in scmi_bus_notifier()

Linux / Linux

に公開されました。nday はまだ修正の根拠を取得していません。修正がないという意味ではありません。4 つの PoC ソースのいずれにも未掲載です。CISA KEV には現時点で未掲載です。

tags weakness typeuse-after-free accesslocalno user interaction productLinux kernel product typeoperating system
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.

use-after-free
CWE-416, 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:H/I:H/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:H/I:H/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 基本値
7.8 HIGH v3.1

ライフサイクル

横軸は UTC。点=分単位、幅広の帯=日付のみ、白抜き=不明または推定。
日時不明
DIS公開
2024-11-19T17:22Z
PAT修正
記録なし
ANA解析
記録なし
POCPoC
記録なし
ITW悪用
記録なし
KEVKEV
記録なし

概要

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

firmware: arm_scmi: Fix slab-use-after-free in scmi_bus_notifier()

The scmi_dev->name is released prematurely in __scmi_device_destroy(), which causes slab-use-after-free when accessing scmi_dev->name in scmi_bus_notifier(). So move the release of scmi_dev->name to scmi_device_release() to avoid slab-use-after-free.

| BUG: KASAN: slab-use-after-free in strncmp+0xe4/0xec | Read of size 1 at addr ffffff80a482bcc0 by task swapper/0/1 | | CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.6.38-debug #1 | Hardware name: Qualcomm Technologies, Inc. SA8775P Ride (DT)

|  Call trace:
|   dump_backtrace+0x94/0x114
|   show_stack+0x18/0x24
|   dump_stack_lvl+0x48/0x60
|   print_report+0xf4/0x5b0
|   kasan_report+0xa4/0xec
|   __asan_report_load1_noabort+0x20/0x2c
|   strncmp+0xe4/0xec
|   scmi_bus_notifier+0x5c/0x54c
|   notifier_call_chain+0xb4/0x31c
|   blocking_notifier_call_chain+0x68/0x9c
|   bus_notify+0x54/0x78
|   device_del+0x1bc/0x840
|   device_unregister+0x20/0xb4
|   __scmi_device_destroy+0xac/0x280
|   scmi_device_destroy+0x94/0xd0
|   scmi_chan_setup+0x524/0x750
|   scmi_probe+0x7fc/0x1508
|   platform_probe+0xc4/0x19c
|   really_probe+0x32c/0x99c
|   __driver_probe_device+0x15c/0x3c4
|   driver_probe_device+0x5c/0x170
|   __driver_attach+0x1c8/0x440
|   bus_for_each_dev+0xf4/0x178
|   driver_attach+0x3c/0x58
|   bus_add_driver+0x234/0x4d4
|   driver_register+0xf4/0x3c0
|   __platform_driver_register+0x60/0x88
|   scmi_driver_init+0xb0/0x104
|   do_one_initcall+0xb4/0x664
|   kernel_init_freeable+0x3c8/0x894
|   kernel_init+0x24/0x1e8
|   ret_from_fork+0x10/0x20
|
|  Allocated by task 1:
|   kasan_save_stack+0x2c/0x54
|   kasan_set_track+0x2c/0x40
|   kasan_save_alloc_info+0x24/0x34
|   __kasan_kmalloc+0xa0/0xb8
|   __kmalloc_node_track_caller+0x6c/0x104
|   kstrdup+0x48/0x84
|   kstrdup_const+0x34/0x40
|   __scmi_device_create.part.0+0x8c/0x408
|   scmi_device_create+0x104/0x370
|   scmi_chan_setup+0x2a0/0x750
|   scmi_probe+0x7fc/0x1508
|   platform_probe+0xc4/0x19c
|   really_probe+0x32c/0x99c
|   __driver_probe_device+0x15c/0x3c4
|   driver_probe_device+0x5c/0x170
|   __driver_attach+0x1c8/0x440
|   bus_for_each_dev+0xf4/0x178
|   driver_attach+0x3c/0x58
|   bus_add_driver+0x234/0x4d4
|   driver_register+0xf4/0x3c0
|   __platform_driver_register+0x60/0x88
|   scmi_driver_init+0xb0/0x104
|   do_one_initcall+0xb4/0x664
|   kernel_init_freeable+0x3c8/0x894
|   kernel_init+0x24/0x1e8
|   ret_from_fork+0x10/0x20
|
|  Freed by task 1:
|   kasan_save_stack+0x2c/0x54
|   kasan_set_track+0x2c/0x40
|   kasan_save_free_info+0x38/0x5c
|   __kasan_slab_free+0xe8/0x164
|   __kmem_cache_free+0x11c/0x230
|   kfree+0x70/0x130
|   kfree_const+0x20/0x40
|   __scmi_device_destroy+0x70/0x280
|   scmi_device_destroy+0x94/0xd0
|   scmi_chan_setup+0x524/0x750
|   scmi_probe+0x7fc/0x1508
|   platform_probe+0xc4/0x19c
|   really_probe+0x32c/0x99c
|   __driver_probe_device+0x15c/0x3c4
|   driver_probe_device+0x5c/0x170
|   __driver_attach+0x1c8/0x440
|   bus_for_each_dev+0xf4/0x178
|   driver_attach+0x3c/0x58
|   bus_add_driver+0x234/0x4d4
|   driver_register+0xf4/0x3c0
|   __platform_driver_register+0x60/0x88
|   scmi_driver_init+0xb0/0x104
|   do_one_initcall+0xb4/0x664
|   kernel_init_freeable+0x3c8/0x894
|   kernel_init+0x24/0x1e8
|   ret_from_fork+0x10/0x20

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:H/I:H/A:H

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

イベント履歴

+DIS公開

Linux が CVE レコードを公開。CVSS 基本値 7.8(重要)。

出典 cvelist · nday が に一括取り込み · 生データ
{
  "id": 345753,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2024-53068",
  "occurred_at": "2024-11-19T17:22:36.65Z",
  "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:H/I:H/A:H",
      "version": "3.1",
      "base_score": 7.8,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2025-03-06T16:07:52.490511Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2024-11-19T17:22:36.650Z",
    "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.