Linux kernelのTCP処理に脆弱性、メモリ解放の二重実行で情報漏えいや不安定化のおそれ
Summary
Linux kernelのTCP処理で、待ち受け側の子ソケットが二重に破棄されてメモリが解放済みのまま使われる脆弱性です。影響は6.1.132から6.2未満、6.6.84から6.6.163未満などの版におよび、修正版は6.2、6.6.163、6.11、6.12.119、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のTCP処理で、待ち受け側の子ソケットが二重に破棄されてメモリが解放済みのまま使われる脆弱性です。影響は6.1.132から6.2未満、6.6.84から6.6.163未満などの版におよび、修正版は6.2、6.6.163、6.11、6.12.119、6.18.65、7.3.6です。修正版への更新を優先してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 6.1.132, < 6.2→ 6.2 ≥ 6.6.84, < 6.6.163→ 6.6.163 ≥ 6.10.8, < 6.11→ 6.11 ≥ 6.11.0, < 6.12.119→ 6.12.119 ≥ 6.13.0, < 6.18.65→ 6.18.65 ≥ 6.19.0, < 7.3.6→ 7.3.6 |
6.2 6.6.163 6.11 6.12.119 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-139098 linux-lts Fix available
- Debian DEBIAN-CVE-2026-139098 linux Fix available
- Ubuntu UBUNTU-CVE-2026-139098 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:
tcp: avoid double destroy in tcp_abort() of an unaccepted child
tcp_abort() checks for TCP_CLOSE while only owning the socket lock,
then grabs the BH lock before calling tcp_done_with_error().
For a child still sitting in a listener accept queue (which can be
reached via SOCK_DESTROY or bpf_sock_destroy()), inet_csk_listen_stop()
can run in this window: it only holds the child BH lock, and calls
inet_child_forget(), which disconnects, orphans and destroys the child.
tcp_abort() then calls tcp_done_with_error() -> tcp_done(), which sees
SOCK_DEAD and calls inet_csk_destroy_sock() a second time, leading to
a double sock_put() and a use-after-free.
Recheck TCP_CLOSE after acquiring the BH lock, unless we just closed
a listener ourselves, in which case tcp_done_with_error() must still
run to report the error.
Note that the WARN_ON(sock_owned_by_user(child)) in
inet_csk_listen_stop() can still trigger in this window.
[edumazet: recheck TCP_CLOSE under the BH lock instead of moving the test, smaller diff]
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 git.kernel.org
- web github.com