Read the docs

Use-after-free from double socket destroy in Linux kernel TCP abort

Priority MEDIUM 49Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

The Linux kernel TCP stack can destroy an unaccepted child socket twice when tcp_abort() races with listener shutdown. A local user with low privileges can trigger a double sock_put() and a use-after-free, which the CVSS vector rates as high impact to confidentiality, integrity and availability. Affected Linux kernel versions are from 6.6.84 before 6.6.163, from 6.1.132 before 6.2, from 6.10.8 before 6.11, and from 6.11 onward.

Written with Claude Haiku 5.5 from the sources below · 2026-12-01

Description from the CNA

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]

Why it matters now

Fix Fixed Linux (Linux): 6.6.163, 6.2, 6.11 +4

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux6.6.84 to before 6.6.163; 6.1.132 to before 6.2; 6.10.8 to before 6.116.6.163, 6.2, 6.11Patch availableCNA
LinuxLinux6.11 and later6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1Patch availableCNA
  • Linux VendorLinux Affected 6.6.84 to before 6.6.163; 6.1.132 to before 6.2; 6.10.8 to before 6.11 Fixed in 6.6.163, 6.2, 6.11 Patch available CNA
  • Linux VendorLinux Affected 6.11 and later Fixed in 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*——Linux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions — — ·Linux

Remediation

For the Linux kernel, the fixed versions are 6.2, 6.6.163, 6.11, 6.12.119, 6.18.65, 7.3.6 and 7.4-rc1.

Written with Claude Haiku 5.5 from the sources below · 2026-12-01

  • Fix · CNA Linux (Linux) Fixed in 6.6.163, 6.2, 6.11
  • Fix · CNA Linux (Linux) Fixed in 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1

Timeline

  1. 2026-11-30 Threatist record created from CVE-2026-139098
  2. 2026-11-30 Alias added: GHSA-fhq6-gwg3-f43j
  3. 2026-12-01 CVSS score added · CNA

References

  • TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
  • TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
See all 23530 →

Sources