Linux Kernelのmlx4ドライバーに解放済みメモリを参照する脆弱性
Summary
Linux Kernelのmlx4ドライバー(IB/mlx4)で、CM(接続管理)のタイムアウト処理に競合状態があり、解放済みのメモリを参照する脆弱性が見つかりました。影響を受けるのは7.3.0以上7.3.6未満のKernelで、修正版は7.3.6です。CVSSはv3で7.8(High)です。修正版への更新を進めてください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Linux Kernelのmlx4ドライバー(IB/mlx4)で、CM(接続管理)のタイムアウト処理に競合状態があり、解放済みのメモリを参照する脆弱性が見つかりました。影響を受けるのは7.3.0以上7.3.6未満のKernelで、修正版は7.3.6です。CVSSはv3で7.8(High)です。修正版への更新を進めてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 7.3.0, < 7.3.6→ 7.3.6 |
7.3.6 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-139352
- Debian DEBIAN-CVE-2026-139352 linux Fix available
- Ubuntu UBUNTU-CVE-2026-139352 linux-xilinx-zynqmp, linux-xilinx, linux-vmware +166 more No fixed version in this record
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
IB/mlx4: Avoid requeueing executing CM timeout work
id->scheduled_delete is set by schedule_delayed() itself. It is used
in two cases after the RTU timeout support was added:
- A new id_map_entry is created, and a 60-second RTU timeout is
scheduled. - DREQ or REJ is received for an existing entry, and the normal
30-second teardown timeout is scheduled or adjusted.
The following race is possible when the RTU timeout expires while a
DREQ or REJ is handled:
CPU 0: timeout work CPU 1: DREQ/REJ handler
RTU timer expires
timeout callback starts
waits for id_map_lock takes id_map_lock
calls schedule_delayed()
calls mod_delayed_work()
drops id_map_lock
takes id_map_lock
removes mapping
frees id_map_entry
requeued timeout runs
accesses freed id_map_entry
mod_delayed_work() may requeue the work after the timeout callback has
started. The original timeout callback then frees the id_map_entry,
leaving the requeued work with a dangling delayed_work pointer.
When a timeout is already scheduled, first cancel its pending work. A
successful cancellation means the call…
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web github.com