<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-04T12:48:24.324678+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/cve-2026-80975</id>
    <title>CVE-2026-80975 — mfd: qnap-mcu: keep the reply buffer alive past a command timeout</title>
    <updated>2026-10-04T12:48:24.325963+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>mfd: qnap-mcu: keep the reply buffer alive past a command timeout</p>
<p>qnap_mcu_exec() publishes an on-stack buffer to the receive path:</p>
<p>unsigned char rx[QNAP_MCU_RX_BUFFER_SIZE];
	...
	reply-&gt;data = rx;
	reply-&gt;length = length;</p>
<p>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().</p>
<p>On a timeout qnap_mcu_exec() returns with reply-&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.</p>
<p>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.</p>
<p>This deliberately does not clear reply-&gt;data or reply-&gt;length on the
timeout path. Doing so races with qnap_mcu_receive_buf(), which reads both
after its</p>
<p>if (!reply-&gt;length)
		return size;</p>
<p>check: clearing reply-&gt;data gives a NULL dereference, and clearing
reply-&gt;length alone removes the reply-…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2026-80975"/>
  </entry>
</feed>
