<?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://cve.radiocsirt.org</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>Sun, 04 Oct 2026 12:48:21 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-80975 — mfd: qnap-mcu: keep the reply buffer alive past a command timeout</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2026-80975</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;mfd: qnap-mcu: keep the reply buffer alive past a command timeout&lt;/p&gt;
&lt;p&gt;qnap_mcu_exec() publishes an on-stack buffer to the receive path:&lt;/p&gt;
&lt;p&gt;unsigned char rx[QNAP_MCU_RX_BUFFER_SIZE];
	...
	reply-&amp;gt;data = rx;
	reply-&amp;gt;length = length;&lt;/p&gt;
&lt;p&gt;and qnap_mcu_receive_buf() writes into it from the serdev receive path,
which runs out of flush_to_ldisc() and is not serialized against
qnap_mcu_exec() at all. bus_lock cannot cover it, because qnap_mcu_exec()
holds that mutex across wait_for_completion_timeout().&lt;/p&gt;
&lt;p&gt;On a timeout qnap_mcu_exec() returns with reply-&amp;gt;data still pointing at
its own frame. A reply that arrives late, or an unsolicited message from
the MCU, is then written into a stack frame that has been left, corrupting
whatever runs next on that stack. The same applies when qnap_mcu_write()
fails, since that path returns without touching the reply state either.&lt;/p&gt;
&lt;p&gt;Move the receive buffer into struct qnap_mcu. It is 37 bytes and the
structure is devm_kzalloc()ed, so it lives as long as the driver, and a
late write lands in memory that is still valid and is reinitialized by the
next command. bus_lock keeps commands from sharing it.&lt;/p&gt;
&lt;p&gt;This deliberately does not clear reply-&amp;gt;data or reply-&amp;gt;length on the
timeout path. Doing so races with qnap_mcu_receive_buf(), which reads both
after its&lt;/p&gt;
&lt;p&gt;if (!reply-&amp;gt;length)
		return size;&lt;/p&gt;
&lt;p&gt;check: clearing reply-&amp;gt;data gives a NULL dereference, and clearing
reply-&amp;gt;length alone removes the reply-…&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;mfd: qnap-mcu: keep the reply buffer alive past a command timeout&lt;/p&gt;
&lt;p&gt;qnap_mcu_exec() publishes an on-stack buffer to the receive path:&lt;/p&gt;
&lt;p&gt;unsigned char rx[QNAP_MCU_RX_BUFFER_SIZE];
	...
	reply-&amp;gt;data = rx;
	reply-&amp;gt;length = length;&lt;/p&gt;
&lt;p&gt;and qnap_mcu_receive_buf() writes into it from the serdev receive path,
which runs out of flush_to_ldisc() and is not serialized against
qnap_mcu_exec() at all. bus_lock cannot cover it, because qnap_mcu_exec()
holds that mutex across wait_for_completion_timeout().&lt;/p&gt;
&lt;p&gt;On a timeout qnap_mcu_exec() returns with reply-&amp;gt;data still pointing at
its own frame. A reply that arrives late, or an unsolicited message from
the MCU, is then written into a stack frame that has been left, corrupting
whatever runs next on that stack. The same applies when qnap_mcu_write()
fails, since that path returns without touching the reply state either.&lt;/p&gt;
&lt;p&gt;Move the receive buffer into struct qnap_mcu. It is 37 bytes and the
structure is devm_kzalloc()ed, so it lives as long as the driver, and a
late write lands in memory that is still valid and is reinitialized by the
next command. bus_lock keeps commands from sharing it.&lt;/p&gt;
&lt;p&gt;This deliberately does not clear reply-&amp;gt;data or reply-&amp;gt;length on the
timeout path. Doing so races with qnap_mcu_receive_buf(), which reads both
after its&lt;/p&gt;
&lt;p&gt;if (!reply-&amp;gt;length)
		return size;&lt;/p&gt;
&lt;p&gt;check: clearing reply-&amp;gt;data gives a NULL dereference, and clearing
reply-&amp;gt;length alone removes the reply-…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2026-80975</guid>
    </item>
  </channel>
</rss>
