nday
CVE-2024-53068

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

Linux / Linux

披露于 。本站尚未获取修复依据,不能据此认为没有补丁。四个 PoC 来源都还没有收录。尚未列入 CISA KEV。

标签 漏洞类型use-after-free 攻击途径本地无需用户交互 产品Linux kernel 产品类型操作系统
这些标签的依据

这些标签由 nday 按固定规则从下列事实自动推导,不是 NVD、编号分配方或其他来源给出的。全部标签和规则见 ~/tags。

use-after-free
CWE-416(来源:ADP CISA-ADP、NVD 分析人员、NVD(转录自 134c704f-9b21-4f2e-91b3-4a467353bcc0))
本地
ADP CISA-ADP 给出的 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1)中的 AV:L
无需用户交互
ADP CISA-ADP 给出的 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1)中的 UI:N
Linux kernel
CVE 记录列出的受影响产品:Linux · LinuxNVD 分析人员标为易受攻击的 CPE 名称:o:linux:linux_kernel
操作系统
CVE 记录列出的受影响产品:Linux · LinuxNVD 分析人员标为易受攻击的 CPE 名称:o:linux:linux_kernelnday 产品登记表中 Linux kernel 的产品类型
当前阶段
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

以上是 CVE 记录(cvelist)中的原文,未经改写。

利用条件

按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:L
本地:需要本地或 SSH 会话,或诱使用户在本机上操作
攻击复杂度 AC:L
低:不依赖特殊条件,攻击者可预期重复成功
所需权限 PR:L
低:普通用户权限
用户交互 UI:N
无:除攻击者外不需要任何人配合

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

CVSS 3.1 向量,来自 CVE 记录,由 ADP CISA-ADP 补充。

事件记录

+DIS披露

CVE 记录发布,编号分配方是 Linux。CVSS 7.8,高危。

来源 cvelist · 本站 批量导入 · 原始记录
{
  "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"
  }
}

纠错

报告错误或缺失

页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。

研究员讨论

近 7 天有 0 位研究员提到

研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。

尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。

讨论

0 条评论

还没有评论。