Linux kernelのcpumap処理に解放済みメモリを参照する脆弱性、修正版が公開
Summary
Linux kernelのBPF cpumap処理で、キューに積まれたフレームが参照するネットワークデバイスの解放後に使われる脆弱性です。CVSSは8.1で、影響は4.15.0から6.12.120未満、6.13.0から6.18.65未満、6.19.0から7.3.6未満のバージョンに及びます。修正版は6.12.120、6.18.65、7.3.6で、利用中のカーネルを修正版へ更新してください。
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のBPF cpumap処理で、キューに積まれたフレームが参照するネットワークデバイスの解放後に使われる脆弱性です。CVSSは8.1で、影響は4.15.0から6.12.120未満、6.13.0から6.18.65未満、6.19.0から7.3.6未満のバージョンに及びます。修正版は6.12.120、6.18.65、7.3.6で、利用中のカーネルを修正版へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 4.15.0, < 6.12.120→ 6.12.120 ≥ 6.13.0, < 6.18.65→ 6.18.65 ≥ 6.19.0, < 7.3.6→ 7.3.6 |
6.12.120 6.18.65 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-139293 linux-lts Fix available
- Debian DEBIAN-CVE-2026-139293 linux Fix available
- Ubuntu UBUNTU-CVE-2026-139293 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:
bpf, cpumap: Hold the device of frames in the queue
A frame that is redirected to another CPU waits in the queue of the cpumap
entry with a plain pointer to the device it came from, and an skb from
generic XDP with skb->dev. Nothing keeps that device. Closing and
unregistering it waits for its NAPI and for RCU, but not for the kthread
of the entry. If the kthread is late by more than that, since its CPU is
busy with something of a higher priority, it builds skbs for a device that
has been freed and hands them to the stack:
BUG: KASAN: use-after-free in dev_gro_receive+0x1f51/0x2b30
Read of size 8 at addr ffff88800a7340b0 by task cpumap/1/map:1/54
Take a reference to the device for each entry of the queue. The kthread
cannot drop it at the end of the batch, since its GRO node may keep the skb
for longer. Let it note the devices and drop the references behind a full
GRO flush, which it does whenever the queue is empty, and from now on also
when it has noted about 2048 of them.
A device whose frames are stuck in a queue is now unregistered only when
the kthread has got to them. RTNL is not held meanwhile, but if the device
goes with its network namespace, the cleanup of all namespaces waits.
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 git.kernel.org
- web git.kernel.org
- web github.com