<?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://vulnerability.circl.lu</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>Thu, 01 Oct 2026 12:36:58 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-45866 — serial: caif: fix use-after-free in caif_serial ldisc_close()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-45866</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;serial: caif: fix use-after-free in caif_serial ldisc_close()&lt;/p&gt;
&lt;p&gt;There is a use-after-free bug in caif_serial where handle_tx() may
access ser-&amp;gt;tty after the tty has been freed.&lt;/p&gt;
&lt;p&gt;The race condition occurs between ldisc_close() and packet transmission:&lt;/p&gt;
&lt;p&gt;CPU 0 (close)                     CPU 1 (xmit)
    -------------                     ------------
    ldisc_close()
      tty_kref_put(ser-&amp;gt;tty)
      [tty may be freed here]
                     &amp;lt;-- race window --&amp;gt;
                                      caif_xmit()
                                        handle_tx()
                                          tty = ser-&amp;gt;tty  // dangling ptr
                                          tty-&amp;gt;ops-&amp;gt;write() // UAF!
      schedule_work()
        ser_release()
          unregister_netdevice()&lt;/p&gt;
&lt;p&gt;The root cause is that tty_kref_put() is called in ldisc_close() while
the network device is still active and can receive packets.&lt;/p&gt;
&lt;p&gt;Since ser and tty have a 1:1 binding relationship with consistent
lifecycles (ser is allocated in ldisc_open and freed in ser_release
via unregister_netdevice, and each ser binds exactly one tty), we can
safely defer the tty reference release to ser_release() where the
network device is unregistered.&lt;/p&gt;
&lt;p&gt;Fix this by moving tty_kref_put() from ldisc_close() to ser_release(),
after unregister_netdevice(). This ensures the tty reference is held
as long as the network device exists, preventing the UAF.&lt;/p&gt;
&lt;p&gt;Not…&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;serial: caif: fix use-after-free in caif_serial ldisc_close()&lt;/p&gt;
&lt;p&gt;There is a use-after-free bug in caif_serial where handle_tx() may
access ser-&amp;gt;tty after the tty has been freed.&lt;/p&gt;
&lt;p&gt;The race condition occurs between ldisc_close() and packet transmission:&lt;/p&gt;
&lt;p&gt;CPU 0 (close)                     CPU 1 (xmit)
    -------------                     ------------
    ldisc_close()
      tty_kref_put(ser-&amp;gt;tty)
      [tty may be freed here]
                     &amp;lt;-- race window --&amp;gt;
                                      caif_xmit()
                                        handle_tx()
                                          tty = ser-&amp;gt;tty  // dangling ptr
                                          tty-&amp;gt;ops-&amp;gt;write() // UAF!
      schedule_work()
        ser_release()
          unregister_netdevice()&lt;/p&gt;
&lt;p&gt;The root cause is that tty_kref_put() is called in ldisc_close() while
the network device is still active and can receive packets.&lt;/p&gt;
&lt;p&gt;Since ser and tty have a 1:1 binding relationship with consistent
lifecycles (ser is allocated in ldisc_open and freed in ser_release
via unregister_netdevice, and each ser binds exactly one tty), we can
safely defer the tty reference release to ser_release() where the
network device is unregistered.&lt;/p&gt;
&lt;p&gt;Fix this by moving tty_kref_put() from ldisc_close() to ser_release(),
after unregister_netdevice(). This ensures the tty reference is held
as long as the network device exists, preventing the UAF.&lt;/p&gt;
&lt;p&gt;Not…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-45866</guid>
    </item>
  </channel>
</rss>
