<?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://cve.radiocsirt.org</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>Thu, 08 Oct 2026 06:52:20 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-26687 — xen/events: close evtchn after mapping cleanup</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2024-26687</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;xen/events: close evtchn after mapping cleanup&lt;/p&gt;
&lt;p&gt;shutdown_pirq and startup_pirq are not taking the
irq_mapping_update_lock because they can&amp;#39;t due to lock inversion. Both
are called with the irq_desc-&amp;gt;lock being taking. The lock order,
however, is first irq_mapping_update_lock and then irq_desc-&amp;gt;lock.&lt;/p&gt;
&lt;p&gt;This opens multiple races:
- shutdown_pirq can be interrupted by a function that allocates an event
  channel:&lt;/p&gt;
&lt;p&gt;CPU0                        CPU1
  shutdown_pirq {
    xen_evtchn_close(e)
                              __startup_pirq {
                                EVTCHNOP_bind_pirq
                                  -&amp;gt; returns just freed evtchn e
                                set_evtchn_to_irq(e, irq)
                              }
    xen_irq_info_cleanup() {
      set_evtchn_to_irq(e, -1)
    }
  }&lt;/p&gt;
&lt;p&gt;Assume here event channel e refers here to the same event channel
  number.
  After this race the evtchn_to_irq mapping for e is invalid (-1).&lt;/p&gt;
&lt;p&gt;- __startup_pirq races with __unbind_from_irq in a similar way. Because
  __startup_pirq doesn&amp;#39;t take irq_mapping_update_lock it can grab the
  evtchn that __unbind_from_irq is currently freeing and cleaning up. In
  this case even though the event channel is allocated, its mapping can
  be unset in evtchn_to_irq.&lt;/p&gt;
&lt;p&gt;The fix is to first cleanup the mappings and then close the event
channel. In this way, when an event channel gets allocated it&amp;#39;s
potential previous evt…&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;xen/events: close evtchn after mapping cleanup&lt;/p&gt;
&lt;p&gt;shutdown_pirq and startup_pirq are not taking the
irq_mapping_update_lock because they can&amp;#39;t due to lock inversion. Both
are called with the irq_desc-&amp;gt;lock being taking. The lock order,
however, is first irq_mapping_update_lock and then irq_desc-&amp;gt;lock.&lt;/p&gt;
&lt;p&gt;This opens multiple races:
- shutdown_pirq can be interrupted by a function that allocates an event
  channel:&lt;/p&gt;
&lt;p&gt;CPU0                        CPU1
  shutdown_pirq {
    xen_evtchn_close(e)
                              __startup_pirq {
                                EVTCHNOP_bind_pirq
                                  -&amp;gt; returns just freed evtchn e
                                set_evtchn_to_irq(e, irq)
                              }
    xen_irq_info_cleanup() {
      set_evtchn_to_irq(e, -1)
    }
  }&lt;/p&gt;
&lt;p&gt;Assume here event channel e refers here to the same event channel
  number.
  After this race the evtchn_to_irq mapping for e is invalid (-1).&lt;/p&gt;
&lt;p&gt;- __startup_pirq races with __unbind_from_irq in a similar way. Because
  __startup_pirq doesn&amp;#39;t take irq_mapping_update_lock it can grab the
  evtchn that __unbind_from_irq is currently freeing and cleaning up. In
  this case even though the event channel is allocated, its mapping can
  be unset in evtchn_to_irq.&lt;/p&gt;
&lt;p&gt;The fix is to first cleanup the mappings and then close the event
channel. In this way, when an event channel gets allocated it&amp;#39;s
potential previous evt…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2024-26687</guid>
    </item>
  </channel>
</rss>
