<?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 20:16:21 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-89956 — s390/vfio-ap: Fix missing lock required to access list of ap_matrix_mdev objects</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-89956</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;s390/vfio-ap: Fix missing lock required to access list of ap_matrix_mdev objects&lt;/p&gt;
&lt;p&gt;In order to traverse or add/remove ap_matrix_mdev objects in the
matrix_dev-&amp;gt;mdev_list, the matrix_dev-&amp;gt;guests_lock mutex must be held.
There are two functions that access the list without holding the mutex:&lt;/p&gt;
&lt;p&gt;vfio_ap_mdev_probe function
~~~~~~~~~~~~~~~~~~~~~~~~~~~
The vfio_ap_mdev_probe function uses the matrix_dev-&amp;gt;mdevs_lock
mutex to guard the add of a newly created ap_matrix_mdev object to the
matrix_dev-&amp;gt;mdev_list. This mutex does not protect list access; its purpose
is to guard against concurrent access to fields contained in an
ap_matrix_mdev object. This could lead to kernel memory corruption or
use-after-free if another mdev is created or removed concurrently.&lt;/p&gt;
&lt;p&gt;The adding of an ap_matrix_mdev object to matrix_dev-&amp;gt;mdev_list
is now guarded by the matrix_dev-&amp;gt;guests_lock which is the correct
way to protect against concurrent mdev_list access.&lt;/p&gt;
&lt;p&gt;Also removed the following two lines of code because the matrix_mdev is
allocated via vfio_alloc_device macro which uses kzalloc, so req_trigger
and cfg_chg_trigger are already zero-initialised when the struct is
allocated before the call to vfio_register_emulated_iommu_dev. This
prevents a window whereby these triggers are set to NULL after
the device is exposed to userspace.&lt;/p&gt;
&lt;p&gt;matrix_mdev-&amp;gt;req_trigger = NULL;
matrix_mdev-&amp;gt;cfg_chg_trigger = NULL;&lt;/p&gt;
&lt;p&gt;vfio_ap_mdev_for_queue function
~~…&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;s390/vfio-ap: Fix missing lock required to access list of ap_matrix_mdev objects&lt;/p&gt;
&lt;p&gt;In order to traverse or add/remove ap_matrix_mdev objects in the
matrix_dev-&amp;gt;mdev_list, the matrix_dev-&amp;gt;guests_lock mutex must be held.
There are two functions that access the list without holding the mutex:&lt;/p&gt;
&lt;p&gt;vfio_ap_mdev_probe function
~~~~~~~~~~~~~~~~~~~~~~~~~~~
The vfio_ap_mdev_probe function uses the matrix_dev-&amp;gt;mdevs_lock
mutex to guard the add of a newly created ap_matrix_mdev object to the
matrix_dev-&amp;gt;mdev_list. This mutex does not protect list access; its purpose
is to guard against concurrent access to fields contained in an
ap_matrix_mdev object. This could lead to kernel memory corruption or
use-after-free if another mdev is created or removed concurrently.&lt;/p&gt;
&lt;p&gt;The adding of an ap_matrix_mdev object to matrix_dev-&amp;gt;mdev_list
is now guarded by the matrix_dev-&amp;gt;guests_lock which is the correct
way to protect against concurrent mdev_list access.&lt;/p&gt;
&lt;p&gt;Also removed the following two lines of code because the matrix_mdev is
allocated via vfio_alloc_device macro which uses kzalloc, so req_trigger
and cfg_chg_trigger are already zero-initialised when the struct is
allocated before the call to vfio_register_emulated_iommu_dev. This
prevents a window whereby these triggers are set to NULL after
the device is exposed to userspace.&lt;/p&gt;
&lt;p&gt;matrix_mdev-&amp;gt;req_trigger = NULL;
matrix_mdev-&amp;gt;cfg_chg_trigger = NULL;&lt;/p&gt;
&lt;p&gt;vfio_ap_mdev_for_queue function
~~…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-89956</guid>
    </item>
  </channel>
</rss>
