<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-29T20:46:04.705801+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-89956</id>
    <title>CVE-2026-89956 — s390/vfio-ap: Fix missing lock required to access list of ap_matrix_mdev objects</title>
    <updated>2026-09-29T20:46:06.123796+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>s390/vfio-ap: Fix missing lock required to access list of ap_matrix_mdev objects</p>
<p>In order to traverse or add/remove ap_matrix_mdev objects in the
matrix_dev-&gt;mdev_list, the matrix_dev-&gt;guests_lock mutex must be held.
There are two functions that access the list without holding the mutex:</p>
<p>vfio_ap_mdev_probe function
~~~~~~~~~~~~~~~~~~~~~~~~~~~
The vfio_ap_mdev_probe function uses the matrix_dev-&gt;mdevs_lock
mutex to guard the add of a newly created ap_matrix_mdev object to the
matrix_dev-&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.</p>
<p>The adding of an ap_matrix_mdev object to matrix_dev-&gt;mdev_list
is now guarded by the matrix_dev-&gt;guests_lock which is the correct
way to protect against concurrent mdev_list access.</p>
<p>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.</p>
<p>matrix_mdev-&gt;req_trigger = NULL;
matrix_mdev-&gt;cfg_chg_trigger = NULL;</p>
<p>vfio_ap_mdev_for_queue function
~~…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-89956"/>
  </entry>
</feed>
