<?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>Sat, 03 Oct 2026 04:36:44 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-49884 — KVM: Initialize gfn_to_pfn_cache locks in dedicated helper</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2022-49884</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;KVM: Initialize gfn_to_pfn_cache locks in dedicated helper&lt;/p&gt;
&lt;p&gt;Move the gfn_to_pfn_cache lock initialization to another helper and
call the new helper during VM/vCPU creation.  There are race
conditions possible due to kvm_gfn_to_pfn_cache_init()&amp;#39;s
ability to re-initialize the cache&amp;#39;s locks.&lt;/p&gt;
&lt;p&gt;For example: a race between ioctl(KVM_XEN_HVM_EVTCHN_SEND) and
kvm_gfn_to_pfn_cache_init() leads to a corrupted shinfo gpc lock.&lt;/p&gt;
&lt;p&gt;(thread 1)                |           (thread 2)
                                          |
 kvm_xen_set_evtchn_fast                  |
  read_lock_irqsave(&amp;amp;gpc-&amp;gt;lock, ...)      |
                                          | kvm_gfn_to_pfn_cache_init
                                          |  rwlock_init(&amp;amp;gpc-&amp;gt;lock)
  read_unlock_irqrestore(&amp;amp;gpc-&amp;gt;lock, ...) |&lt;/p&gt;
&lt;p&gt;Rename &amp;#34;cache_init&amp;#34; and &amp;#34;cache_destroy&amp;#34; to activate+deactivate to
avoid implying that the cache really is destroyed/freed.&lt;/p&gt;
&lt;p&gt;Note, there more races in the newly named kvm_gpc_activate() that will
be addressed separately.&lt;/p&gt;
&lt;p&gt;[sean: call out that this is a bug fix]&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;KVM: Initialize gfn_to_pfn_cache locks in dedicated helper&lt;/p&gt;
&lt;p&gt;Move the gfn_to_pfn_cache lock initialization to another helper and
call the new helper during VM/vCPU creation.  There are race
conditions possible due to kvm_gfn_to_pfn_cache_init()&amp;#39;s
ability to re-initialize the cache&amp;#39;s locks.&lt;/p&gt;
&lt;p&gt;For example: a race between ioctl(KVM_XEN_HVM_EVTCHN_SEND) and
kvm_gfn_to_pfn_cache_init() leads to a corrupted shinfo gpc lock.&lt;/p&gt;
&lt;p&gt;(thread 1)                |           (thread 2)
                                          |
 kvm_xen_set_evtchn_fast                  |
  read_lock_irqsave(&amp;amp;gpc-&amp;gt;lock, ...)      |
                                          | kvm_gfn_to_pfn_cache_init
                                          |  rwlock_init(&amp;amp;gpc-&amp;gt;lock)
  read_unlock_irqrestore(&amp;amp;gpc-&amp;gt;lock, ...) |&lt;/p&gt;
&lt;p&gt;Rename &amp;#34;cache_init&amp;#34; and &amp;#34;cache_destroy&amp;#34; to activate+deactivate to
avoid implying that the cache really is destroyed/freed.&lt;/p&gt;
&lt;p&gt;Note, there more races in the newly named kvm_gpc_activate() that will
be addressed separately.&lt;/p&gt;
&lt;p&gt;[sean: call out that this is a bug fix]&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2022-49884</guid>
    </item>
  </channel>
</rss>
