CVE-2026-139098
HighIn 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]
CVSS 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected versions
Linux kernel versions
6.6.84,
6.1.132,
6.10.8,
6.11
and later are affected. Fixed in
6.6.163,
6.12.119,
6.18.65,
7.3.6,
7.4-rc1
and their respective stable series.
References
6 totalFrequently asked questions
-
What is CVE-2026-139098?
CVE-2026-139098 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 . It affects Linux kernel versions from 6.6.84 onward and has been patched in 6.6.163, 6.12.119, 6.18.65 and others. CVE-2026-139098 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2026-139098?
CVE-2026-139098 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2026-139098?
Yes. CVE-2026-139098 has been patched. Fixed versions include 6.6.163, 6.12.119, 6.18.65 and others. If you are running Linux kernel 6.6.84 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-139098 actively exploited?
No. CVE-2026-139098 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.