nday
CVE-2025-68790

net/mlx5: Fix double unregister of HCA_PORTS component

Linux / Linux

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

标签 产品Linux kernel 产品类型操作系统
这些标签的依据

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

Linux kernel
CVE 记录列出的受影响产品:Linux · Linux
操作系统
CVE 记录列出的受影响产品:Linux · Linuxnday 产品登记表中 Linux kernel 的产品类型
当前阶段
DIS
披露
CVSS
暂无评分

生命周期

横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
01-13T15:29Z
PAT补丁
尚无记录
ANA分析
尚无记录
POCPoC
尚无记录
ITW在野
尚无记录
KEVKEV
尚无记录

摘要

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

net/mlx5: Fix double unregister of HCA_PORTS component

Clear hca_devcom_comp in device's private data after unregistering it in LAG teardown. Otherwise a slightly lagging second pass through mlx5_unload_one() might try to unregister it again and trip over use-after-free.

On s390 almost all PCI level recovery events trigger two passes through mxl5_unload_one() - one through the poll_health() method and one through mlx5_pci_err_detected() as callback from generic PCI error recovery. While testing PCI error recovery paths with more kernel debug features enabled, this issue reproducibly led to kernel panics with the following call chain:

Unable to handle kernel pointer dereference in virtual kernel address space
Failing address: 6b6b6b6b6b6b6000 TEID: 6b6b6b6b6b6b6803 ESOP-2 FSI

Fault in home space mode while using kernel ASCE.

AS:00000000705c4007 R3:0000000000000024
Oops: 0038 ilc:3 [#1]SMP

CPU: 14 UID: 0 PID: 156 Comm: kmcheck Kdump: loaded Not tainted
     6.18.0-20251130.rc7.git0.16131a59cab1.300.fc43.s390x+debug #1 PREEMPT

Krnl PSW : 0404e00180000000 0000020fc86aa1dc (__lock_acquire+0x5c/0x15f0)
           R:0 T:1 IO:0 EX:0 Key:0 M:1 W:0 P:0 AS:3 CC:2 PM:0 RI:0 EA:3
Krnl GPRS: 0000000000000000 0000020f00000001 6b6b6b6b6b6b6c33 0000000000000000
           0000000000000000 0000000000000000 0000000000000001 0000000000000000
           0000000000000000 0000020fca28b820 0000000000000000 0000010a1ced8100
           0000010a1ced8100 0000020fc9775068 0000018fce14f8b8 0000018fce14f7f8
Krnl Code: 0000020fc86aa1cc: e3b003400004        lg      %r11,832
           0000020fc86aa1d2: a7840211           brc     8,0000020fc86aa5f4
          *0000020fc86aa1d6: c09000df0b25       larl    %r9,0000020fca28b820
          >0000020fc86aa1dc: d50790002000       clc     0(8,%r9),0(%r2)
           0000020fc86aa1e2: a7840209           brc     8,0000020fc86aa5f4
           0000020fc86aa1e6: c0e001100401       larl    %r14,0000020fca8aa9e8
           0000020fc86aa1ec: c01000e25a00       larl    %r1,0000020fca2f55ec
           0000020fc86aa1f2: a7eb00e8           aghi    %r14,232

Call Trace:
 __lock_acquire+0x5c/0x15f0
 lock_acquire.part.0+0xf8/0x270
 lock_acquire+0xb0/0x1b0
 down_write+0x5a/0x250
 mlx5_detach_device+0x42/0x110 [mlx5_core]
 mlx5_unload_one_devl_locked+0x50/0xc0 [mlx5_core]
 mlx5_unload_one+0x42/0x60 [mlx5_core]
 mlx5_pci_err_detected+0x94/0x150 [mlx5_core]
 zpci_event_attempt_error_recovery+0xcc/0x388

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

事件记录

+DIS披露

CVE 记录发布,编号分配方是 Linux。

来源 cvelist · 本站 批量导入 · 原始记录
{
  "id": 391459,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-68790",
  "occurred_at": "2026-01-13T15:29:02.907Z",
  "observed_at": "2026-11-13T05:39:20.395751Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2026-01-13T15:29:02.907Z",
    "assigner_short_name": "Linux"
  }
}

纠错

报告错误或缺失

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

研究员讨论

近 7 天有 0 位研究员提到

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

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

讨论

0 条评论

还没有评论。