<?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>Sat, 03 Oct 2026 02:51:22 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-53173 — accel/ethosu: fix OOB write in ethosu_gem_cmdstream_copy_and_validate()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-53173</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;accel/ethosu: fix OOB write in ethosu_gem_cmdstream_copy_and_validate()&lt;/p&gt;
&lt;p&gt;The command stream parsing loop increments the index variable a second
time when a 64-bit command word is encountered (bit 14 set), but does
not re-check the loop bound before writing the second word:&lt;/p&gt;
&lt;p&gt;for (i = 0; i &amp;lt; size / 4; i++) {
        bocmds[i] = cmds[0];
        if (cmd &amp;amp; 0x4000) {
            i++;
            bocmds[i] = cmds[1];   /* unchecked */
        }
    }&lt;/p&gt;
&lt;p&gt;The buffer bocmds is backed by a DMA allocation of exactly size bytes
from drm_gem_dma_create(ddev, size), giving valid indices [0, size/4-1].&lt;/p&gt;
&lt;p&gt;When i == size/4 - 1 on entry to an iteration and bit 14 of cmds[0] is
set, bocmds[size/4-1] is written in bounds, i is then incremented to
size/4, and bocmds[size/4] writes four bytes past the end of the
allocation.&lt;/p&gt;
&lt;p&gt;Userspace controls both the buffer contents and the size argument via
the ioctl, making this a userspace-triggerable heap out-of-bounds write.&lt;/p&gt;
&lt;p&gt;Fix by checking the incremented index against the buffer bound before
the second write and returning -EINVAL if the buffer is too small to
contain the extended command.&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;accel/ethosu: fix OOB write in ethosu_gem_cmdstream_copy_and_validate()&lt;/p&gt;
&lt;p&gt;The command stream parsing loop increments the index variable a second
time when a 64-bit command word is encountered (bit 14 set), but does
not re-check the loop bound before writing the second word:&lt;/p&gt;
&lt;p&gt;for (i = 0; i &amp;lt; size / 4; i++) {
        bocmds[i] = cmds[0];
        if (cmd &amp;amp; 0x4000) {
            i++;
            bocmds[i] = cmds[1];   /* unchecked */
        }
    }&lt;/p&gt;
&lt;p&gt;The buffer bocmds is backed by a DMA allocation of exactly size bytes
from drm_gem_dma_create(ddev, size), giving valid indices [0, size/4-1].&lt;/p&gt;
&lt;p&gt;When i == size/4 - 1 on entry to an iteration and bit 14 of cmds[0] is
set, bocmds[size/4-1] is written in bounds, i is then incremented to
size/4, and bocmds[size/4] writes four bytes past the end of the
allocation.&lt;/p&gt;
&lt;p&gt;Userspace controls both the buffer contents and the size argument via
the ioctl, making this a userspace-triggerable heap out-of-bounds write.&lt;/p&gt;
&lt;p&gt;Fix by checking the incremented index against the buffer bound before
the second write and returning -EINVAL if the buffer is too small to
contain the extended command.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-53173</guid>
    </item>
  </channel>
</rss>
