<?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:27:57 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-143000 — serial: 8250_lpss: don't divide by 0 above 6.25 Mbaud</title>
      <link>https://db.gcve.eu/vuln/cve-2026-143000</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: 8250_lpss: don&amp;#39;t divide by 0 above 6.25 Mbaud&lt;/p&gt;
&lt;p&gt;byt_set_termios() derives the clock of the UART from the baud rate in
the termios, which nobody has looked at yet:&lt;/p&gt;
&lt;p&gt;fuart = baud * 16;
	...
	fuart *= rounddown_pow_of_two(fref / fuart);
	...
	p-&amp;gt;uartclk = fuart;&lt;/p&gt;
&lt;p&gt;fref is 100 MHz. For a baud rate above 6250000, which BOTHER allows,
fref / fuart is 0, and rounddown_pow_of_two(0) shifts 1UL by -1. On x86
that is 1UL &amp;lt;&amp;lt; 63, the product with a multiple of 16 is 0, and so is
uartclk. serial8250_get_baud_rate() then passes 0 for both limits,
uart_get_baud_rate() finds no rate which fits, WARNs and returns 0, and
uart_get_divisor() or dw8250_get_divisor() divide by 16 * 0.&lt;/p&gt;
&lt;p&gt;Everybody who may open the tty can oops the kernel with one TCSETS2.&lt;/p&gt;
&lt;p&gt;Don&amp;#39;t ask for more than fref. The limits are those of a 100 MHz clock
then, and uart_get_baud_rate() falls back to the old rate as for any
other rate that the port cannot do. 8250_mid, which has the same
formula, treats this case separately.&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: 8250_lpss: don&amp;#39;t divide by 0 above 6.25 Mbaud&lt;/p&gt;
&lt;p&gt;byt_set_termios() derives the clock of the UART from the baud rate in
the termios, which nobody has looked at yet:&lt;/p&gt;
&lt;p&gt;fuart = baud * 16;
	...
	fuart *= rounddown_pow_of_two(fref / fuart);
	...
	p-&amp;gt;uartclk = fuart;&lt;/p&gt;
&lt;p&gt;fref is 100 MHz. For a baud rate above 6250000, which BOTHER allows,
fref / fuart is 0, and rounddown_pow_of_two(0) shifts 1UL by -1. On x86
that is 1UL &amp;lt;&amp;lt; 63, the product with a multiple of 16 is 0, and so is
uartclk. serial8250_get_baud_rate() then passes 0 for both limits,
uart_get_baud_rate() finds no rate which fits, WARNs and returns 0, and
uart_get_divisor() or dw8250_get_divisor() divide by 16 * 0.&lt;/p&gt;
&lt;p&gt;Everybody who may open the tty can oops the kernel with one TCSETS2.&lt;/p&gt;
&lt;p&gt;Don&amp;#39;t ask for more than fref. The limits are those of a 100 MHz clock
then, and uart_get_baud_rate() falls back to the old rate as for any
other rate that the port cannot do. 8250_mid, which has the same
formula, treats this case separately.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-143000</guid>
    </item>
  </channel>
</rss>
