<?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 19:24:40 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-53145 — drm/gem: Try to fix change_handle ioctl, attempt 4</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-53145</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;drm/gem: Try to fix change_handle ioctl, attempt 4&lt;/p&gt;
&lt;p&gt;[airlied: just added some comments on how to reenable]
On-list because the cat is out of the bag and we&amp;#39;re clearly not good
enough to figure this out in private. The story thus far:&lt;/p&gt;
&lt;p&gt;5e28b7b94408 (&amp;#34;drm: Set old handle to NULL before prime swap in
change_handle&amp;#34;) tried to fix a race condition between the gem_close and
gem_change_handle ioctls, but got a few things wrong:&lt;/p&gt;
&lt;p&gt;- There&amp;#39;s a confusion with the local variable handle, which is actually
  the new handle, and so the two-stage trick was actually applied to the
  wrong idr slot. 7164d78559b0 (&amp;#34;drm/gem: fix race between
  change_handle and handle_delete&amp;#34;) tried to fix that by adding yet
  another code block, but forgot to add the error handling. Which meant
  we now have two paths, both kinda wrong.&lt;/p&gt;
&lt;p&gt;- dc366607c41c (&amp;#34;drm: Replace old pointer to new idr&amp;#34;) tried to apply
  another fix, but inconsistently, again because of the handle confusion
  - this would be the right fix (kinda, somewhat, it&amp;#39;s a mess) if we&amp;#39;d
  do the two-stage approach for the new handle. Except that wasn&amp;#39;t the
  intent of the original fix.&lt;/p&gt;
&lt;p&gt;We also didn&amp;#39;t have an igt merged for the original ioctl, which is a big
no-go. This was attempted to address off-list in the original bugfix,
and amd QA people claimed the bug was fixed now. Very clearly that&amp;#39;s not
the case. Here&amp;#39;s my attempt to sort this out:&lt;/p&gt;
&lt;p&gt;- Rename the local variable to new_ha…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;drm/gem: Try to fix change_handle ioctl, attempt 4&lt;/p&gt;
&lt;p&gt;[airlied: just added some comments on how to reenable]
On-list because the cat is out of the bag and we&amp;#39;re clearly not good
enough to figure this out in private. The story thus far:&lt;/p&gt;
&lt;p&gt;5e28b7b94408 (&amp;#34;drm: Set old handle to NULL before prime swap in
change_handle&amp;#34;) tried to fix a race condition between the gem_close and
gem_change_handle ioctls, but got a few things wrong:&lt;/p&gt;
&lt;p&gt;- There&amp;#39;s a confusion with the local variable handle, which is actually
  the new handle, and so the two-stage trick was actually applied to the
  wrong idr slot. 7164d78559b0 (&amp;#34;drm/gem: fix race between
  change_handle and handle_delete&amp;#34;) tried to fix that by adding yet
  another code block, but forgot to add the error handling. Which meant
  we now have two paths, both kinda wrong.&lt;/p&gt;
&lt;p&gt;- dc366607c41c (&amp;#34;drm: Replace old pointer to new idr&amp;#34;) tried to apply
  another fix, but inconsistently, again because of the handle confusion
  - this would be the right fix (kinda, somewhat, it&amp;#39;s a mess) if we&amp;#39;d
  do the two-stage approach for the new handle. Except that wasn&amp;#39;t the
  intent of the original fix.&lt;/p&gt;
&lt;p&gt;We also didn&amp;#39;t have an igt merged for the original ioctl, which is a big
no-go. This was attempted to address off-list in the original bugfix,
and amd QA people claimed the bug was fixed now. Very clearly that&amp;#39;s not
the case. Here&amp;#39;s my attempt to sort this out:&lt;/p&gt;
&lt;p&gt;- Rename the local variable to new_ha…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-53145</guid>
    </item>
  </channel>
</rss>
