<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 04 Dec 2026 19:17:15 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139098 — tcp: avoid double destroy in tcp_abort() of an unaccepted child</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139098</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;tcp: avoid double destroy in tcp_abort() of an unaccepted child&lt;/p&gt;
&lt;p&gt;tcp_abort() checks for TCP_CLOSE while only owning the socket lock,
then grabs the BH lock before calling tcp_done_with_error().&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;tcp_abort() then calls tcp_done_with_error() -&amp;gt; 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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Note that the WARN_ON(sock_owned_by_user(child)) in
inet_csk_listen_stop() can still trigger in this window.&lt;/p&gt;
&lt;p&gt;[edumazet: recheck TCP_CLOSE under the BH lock instead of moving the test, smaller diff]&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;tcp: avoid double destroy in tcp_abort() of an unaccepted child&lt;/p&gt;
&lt;p&gt;tcp_abort() checks for TCP_CLOSE while only owning the socket lock,
then grabs the BH lock before calling tcp_done_with_error().&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;tcp_abort() then calls tcp_done_with_error() -&amp;gt; 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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Note that the WARN_ON(sock_owned_by_user(child)) in
inet_csk_listen_stop() can still trigger in this window.&lt;/p&gt;
&lt;p&gt;[edumazet: recheck TCP_CLOSE under the BH lock instead of moving the test, smaller diff]&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139098</guid>
    </item>
  </channel>
</rss>
