<?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>Tue, 29 Sep 2026 03:51:58 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-27066 — virtio: packed: fix unmap leak for indirect desc table</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-27066</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;virtio: packed: fix unmap leak for indirect desc table&lt;/p&gt;
&lt;p&gt;When use_dma_api and premapped are true, then the do_unmap is false.&lt;/p&gt;
&lt;p&gt;Because the do_unmap is false, vring_unmap_extra_packed is not called by
detach_buf_packed.&lt;/p&gt;
&lt;p&gt;if (unlikely(vq-&amp;gt;do_unmap)) {
                curr = id;
                for (i = 0; i &amp;lt; state-&amp;gt;num; i++) {
                        vring_unmap_extra_packed(vq,
                                                 &amp;amp;vq-&amp;gt;packed.desc_extra[curr]);
                        curr = vq-&amp;gt;packed.desc_extra[curr].next;
                }
  }&lt;/p&gt;
&lt;p&gt;So the indirect desc table is not unmapped. This causes the unmap leak.&lt;/p&gt;
&lt;p&gt;So here, we check vq-&amp;gt;use_dma_api instead. Synchronously, dma info is
updated based on use_dma_api judgment&lt;/p&gt;
&lt;p&gt;This bug does not occur, because no driver use the premapped with
indirect.&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;virtio: packed: fix unmap leak for indirect desc table&lt;/p&gt;
&lt;p&gt;When use_dma_api and premapped are true, then the do_unmap is false.&lt;/p&gt;
&lt;p&gt;Because the do_unmap is false, vring_unmap_extra_packed is not called by
detach_buf_packed.&lt;/p&gt;
&lt;p&gt;if (unlikely(vq-&amp;gt;do_unmap)) {
                curr = id;
                for (i = 0; i &amp;lt; state-&amp;gt;num; i++) {
                        vring_unmap_extra_packed(vq,
                                                 &amp;amp;vq-&amp;gt;packed.desc_extra[curr]);
                        curr = vq-&amp;gt;packed.desc_extra[curr].next;
                }
  }&lt;/p&gt;
&lt;p&gt;So the indirect desc table is not unmapped. This causes the unmap leak.&lt;/p&gt;
&lt;p&gt;So here, we check vq-&amp;gt;use_dma_api instead. Synchronously, dma info is
updated based on use_dma_api judgment&lt;/p&gt;
&lt;p&gt;This bug does not occur, because no driver use the premapped with
indirect.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-27066</guid>
    </item>
  </channel>
</rss>
