<?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>Wed, 07 Oct 2026 07:40:01 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-50738 — vhost-vdpa: fix an iotlb memory leak</title>
      <link>https://db.gcve.eu/vuln/cve-2022-50738</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;vhost-vdpa: fix an iotlb memory leak&lt;/p&gt;
&lt;p&gt;Before commit 3d5698793897 (&amp;#34;vhost-vdpa: introduce asid based IOTLB&amp;#34;)
we called vhost_vdpa_iotlb_unmap(v, iotlb, 0ULL, 0ULL - 1) during
release to free all the resources allocated when processing user IOTLB
messages through vhost_vdpa_process_iotlb_update().
That commit changed the handling of IOTLB a bit, and we accidentally
removed some code called during the release.&lt;/p&gt;
&lt;p&gt;We partially fixed this with commit 037d4305569a (&amp;#34;vhost-vdpa: call
vhost_vdpa_cleanup during the release&amp;#34;) but a potential memory leak is
still there as showed by kmemleak if the application does not send
VHOST_IOTLB_INVALIDATE or crashes:&lt;/p&gt;
&lt;p&gt;unreferenced object 0xffff888007fbaa30 (size 16):
    comm &amp;#34;blkio-bench&amp;#34;, pid 914, jiffies 4294993521 (age 885.500s)
    hex dump (first 16 bytes):
      40 73 41 07 80 88 ff ff 00 00 00 00 00 00 00 00  @sA.............
    backtrace:
      [&amp;lt;0000000087736d2a&amp;gt;] kmem_cache_alloc_trace+0x142/0x1c0
      [&amp;lt;0000000060740f50&amp;gt;] vhost_vdpa_process_iotlb_msg+0x68c/0x901 [vhost_vdpa]
      [&amp;lt;0000000083e8e205&amp;gt;] vhost_chr_write_iter+0xc0/0x4a0 [vhost]
      [&amp;lt;000000008f2f414a&amp;gt;] vhost_vdpa_chr_write_iter+0x18/0x20 [vhost_vdpa]
      [&amp;lt;00000000de1cd4a0&amp;gt;] vfs_write+0x216/0x4b0
      [&amp;lt;00000000a2850200&amp;gt;] ksys_write+0x71/0xf0
      [&amp;lt;00000000de8e720b&amp;gt;] __x64_sys_write+0x19/0x20
      [&amp;lt;0000000018b12cbb&amp;gt;] do_syscall_64+0x3f/0x90
      [&amp;lt;00000000986ec465&amp;gt;] entry_SYSCALL_64_after_hw…&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;vhost-vdpa: fix an iotlb memory leak&lt;/p&gt;
&lt;p&gt;Before commit 3d5698793897 (&amp;#34;vhost-vdpa: introduce asid based IOTLB&amp;#34;)
we called vhost_vdpa_iotlb_unmap(v, iotlb, 0ULL, 0ULL - 1) during
release to free all the resources allocated when processing user IOTLB
messages through vhost_vdpa_process_iotlb_update().
That commit changed the handling of IOTLB a bit, and we accidentally
removed some code called during the release.&lt;/p&gt;
&lt;p&gt;We partially fixed this with commit 037d4305569a (&amp;#34;vhost-vdpa: call
vhost_vdpa_cleanup during the release&amp;#34;) but a potential memory leak is
still there as showed by kmemleak if the application does not send
VHOST_IOTLB_INVALIDATE or crashes:&lt;/p&gt;
&lt;p&gt;unreferenced object 0xffff888007fbaa30 (size 16):
    comm &amp;#34;blkio-bench&amp;#34;, pid 914, jiffies 4294993521 (age 885.500s)
    hex dump (first 16 bytes):
      40 73 41 07 80 88 ff ff 00 00 00 00 00 00 00 00  @sA.............
    backtrace:
      [&amp;lt;0000000087736d2a&amp;gt;] kmem_cache_alloc_trace+0x142/0x1c0
      [&amp;lt;0000000060740f50&amp;gt;] vhost_vdpa_process_iotlb_msg+0x68c/0x901 [vhost_vdpa]
      [&amp;lt;0000000083e8e205&amp;gt;] vhost_chr_write_iter+0xc0/0x4a0 [vhost]
      [&amp;lt;000000008f2f414a&amp;gt;] vhost_vdpa_chr_write_iter+0x18/0x20 [vhost_vdpa]
      [&amp;lt;00000000de1cd4a0&amp;gt;] vfs_write+0x216/0x4b0
      [&amp;lt;00000000a2850200&amp;gt;] ksys_write+0x71/0xf0
      [&amp;lt;00000000de8e720b&amp;gt;] __x64_sys_write+0x19/0x20
      [&amp;lt;0000000018b12cbb&amp;gt;] do_syscall_64+0x3f/0x90
      [&amp;lt;00000000986ec465&amp;gt;] entry_SYSCALL_64_after_hw…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2022-50738</guid>
    </item>
  </channel>
</rss>
