<?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:37:06 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-68124 — mctp: serial: handle zero-length frames to prevent rx buffer overflow</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-68124</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;mctp: serial: handle zero-length frames to prevent rx buffer overflow&lt;/p&gt;
&lt;p&gt;The MCTP serial receive state machine reads a frame length byte in
mctp_serial_push_header() case 2 and validates it upper-bound-only:&lt;/p&gt;
&lt;p&gt;if (c &amp;gt; MCTP_SERIAL_FRAME_MTU) {
		dev-&amp;gt;rxstate = STATE_ERR;
	} else {
		dev-&amp;gt;rxlen = c;
		dev-&amp;gt;rxpos = 0;
		dev-&amp;gt;rxstate = STATE_DATA;
		...
	}&lt;/p&gt;
&lt;p&gt;A length of zero passes this check, so rxlen is set to 0 and the state
machine advances to STATE_DATA. In mctp_serial_push() STATE_DATA, the
incoming byte is stored and rxpos incremented before the terminator is&lt;/p&gt;
&lt;p&gt;dev-&amp;gt;rxbuf[dev-&amp;gt;rxpos] = c;
	dev-&amp;gt;rxpos++;
	dev-&amp;gt;rxstate = STATE_DATA;
	if (dev-&amp;gt;rxpos == dev-&amp;gt;rxlen) {
		dev-&amp;gt;rxpos = 0;
		dev-&amp;gt;rxstate = STATE_TRAILER;
	}&lt;/p&gt;
&lt;p&gt;With rxlen == 0 the &amp;#34;rxpos == rxlen&amp;#34; terminator can never fire (rxpos is
already 1 on the first data byte), so subsequent bytes are written past
the end of the fixed 74-byte rxbuf, which is the last member of the
netdev private area. Every following data byte is an attacker-controlled
1-byte out-of-bounds heap write, and the overflow continues until a
frame (0x7e) or escape byte resets the parser -- effectively unbounded.&lt;/p&gt;
&lt;p&gt;Reaching this requires CAP_NET_ADMIN to attach the N_MCTP line
discipline and bring the resulting mctpserialN netdev up, after which
the bytes arrive via the tty receive path.&lt;/p&gt;
&lt;p&gt;Route a zero-length frame straight to STATE_TRAILER instead of
STATE_DATA. The trailer/framing bytes…&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;mctp: serial: handle zero-length frames to prevent rx buffer overflow&lt;/p&gt;
&lt;p&gt;The MCTP serial receive state machine reads a frame length byte in
mctp_serial_push_header() case 2 and validates it upper-bound-only:&lt;/p&gt;
&lt;p&gt;if (c &amp;gt; MCTP_SERIAL_FRAME_MTU) {
		dev-&amp;gt;rxstate = STATE_ERR;
	} else {
		dev-&amp;gt;rxlen = c;
		dev-&amp;gt;rxpos = 0;
		dev-&amp;gt;rxstate = STATE_DATA;
		...
	}&lt;/p&gt;
&lt;p&gt;A length of zero passes this check, so rxlen is set to 0 and the state
machine advances to STATE_DATA. In mctp_serial_push() STATE_DATA, the
incoming byte is stored and rxpos incremented before the terminator is&lt;/p&gt;
&lt;p&gt;dev-&amp;gt;rxbuf[dev-&amp;gt;rxpos] = c;
	dev-&amp;gt;rxpos++;
	dev-&amp;gt;rxstate = STATE_DATA;
	if (dev-&amp;gt;rxpos == dev-&amp;gt;rxlen) {
		dev-&amp;gt;rxpos = 0;
		dev-&amp;gt;rxstate = STATE_TRAILER;
	}&lt;/p&gt;
&lt;p&gt;With rxlen == 0 the &amp;#34;rxpos == rxlen&amp;#34; terminator can never fire (rxpos is
already 1 on the first data byte), so subsequent bytes are written past
the end of the fixed 74-byte rxbuf, which is the last member of the
netdev private area. Every following data byte is an attacker-controlled
1-byte out-of-bounds heap write, and the overflow continues until a
frame (0x7e) or escape byte resets the parser -- effectively unbounded.&lt;/p&gt;
&lt;p&gt;Reaching this requires CAP_NET_ADMIN to attach the N_MCTP line
discipline and bring the resulting mctpserialN netdev up, after which
the bytes arrive via the tty receive path.&lt;/p&gt;
&lt;p&gt;Route a zero-length frame straight to STATE_TRAILER instead of
STATE_DATA. The trailer/framing bytes…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-68124</guid>
    </item>
  </channel>
</rss>
