<?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 20:21:13 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-23472 — serial: core: fix infinite loop in handle_tx() for PORT_UNKNOWN</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-23472</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: core: fix infinite loop in handle_tx() for PORT_UNKNOWN&lt;/p&gt;
&lt;p&gt;uart_write_room() and uart_write() behave inconsistently when
xmit_buf is NULL (which happens for PORT_UNKNOWN ports that were
never properly initialized):&lt;/p&gt;
&lt;p&gt;- uart_write_room() returns kfifo_avail() which can be &amp;gt; 0
- uart_write() checks xmit_buf and returns 0 if NULL&lt;/p&gt;
&lt;p&gt;This inconsistency causes an infinite loop in drivers that rely on
tty_write_room() to determine if they can write:&lt;/p&gt;
&lt;p&gt;while (tty_write_room(tty) &amp;gt; 0) {
      written = tty-&amp;gt;ops-&amp;gt;write(...);
      // written is always 0, loop never exits
  }&lt;/p&gt;
&lt;p&gt;For example, caif_serial&amp;#39;s handle_tx() enters an infinite loop when
used with PORT_UNKNOWN serial ports, causing system hangs.&lt;/p&gt;
&lt;p&gt;Fix by making uart_write_room() also check xmit_buf and return 0 if
it&amp;#39;s NULL, consistent with uart_write().&lt;/p&gt;
&lt;p&gt;Reproducer: https://gist.github.com/mrpre/d9a694cc0e19828ee3bc3b37983fde13&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: core: fix infinite loop in handle_tx() for PORT_UNKNOWN&lt;/p&gt;
&lt;p&gt;uart_write_room() and uart_write() behave inconsistently when
xmit_buf is NULL (which happens for PORT_UNKNOWN ports that were
never properly initialized):&lt;/p&gt;
&lt;p&gt;- uart_write_room() returns kfifo_avail() which can be &amp;gt; 0
- uart_write() checks xmit_buf and returns 0 if NULL&lt;/p&gt;
&lt;p&gt;This inconsistency causes an infinite loop in drivers that rely on
tty_write_room() to determine if they can write:&lt;/p&gt;
&lt;p&gt;while (tty_write_room(tty) &amp;gt; 0) {
      written = tty-&amp;gt;ops-&amp;gt;write(...);
      // written is always 0, loop never exits
  }&lt;/p&gt;
&lt;p&gt;For example, caif_serial&amp;#39;s handle_tx() enters an infinite loop when
used with PORT_UNKNOWN serial ports, causing system hangs.&lt;/p&gt;
&lt;p&gt;Fix by making uart_write_room() also check xmit_buf and return 0 if
it&amp;#39;s NULL, consistent with uart_write().&lt;/p&gt;
&lt;p&gt;Reproducer: https://gist.github.com/mrpre/d9a694cc0e19828ee3bc3b37983fde13&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-23472</guid>
    </item>
  </channel>
</rss>
