<?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>Fri, 09 Oct 2026 15:00:17 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-22995 — ublk: fix use-after-free in ublk_partition_scan_work</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2026-22995</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;ublk: fix use-after-free in ublk_partition_scan_work&lt;/p&gt;
&lt;p&gt;A race condition exists between the async partition scan work and device
teardown that can lead to a use-after-free of ub-&amp;gt;ub_disk:&lt;/p&gt;
&lt;p&gt;1. ublk_ctrl_start_dev() schedules partition_scan_work after add_disk()
2. ublk_stop_dev() calls ublk_stop_dev_unlocked() which does:
   - del_gendisk(ub-&amp;gt;ub_disk)
   - ublk_detach_disk() sets ub-&amp;gt;ub_disk = NULL
   - put_disk() which may free the disk
3. The worker ublk_partition_scan_work() then dereferences ub-&amp;gt;ub_disk
   leading to UAF&lt;/p&gt;
&lt;p&gt;Fix this by using ublk_get_disk()/ublk_put_disk() in the worker to hold
a reference to the disk during the partition scan. The spinlock in
ublk_get_disk() synchronizes with ublk_detach_disk() ensuring the worker
either gets a valid reference or sees NULL and exits early.&lt;/p&gt;
&lt;p&gt;Also change flush_work() to cancel_work_sync() to avoid running the
partition scan work unnecessarily when the disk is already detached.&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;ublk: fix use-after-free in ublk_partition_scan_work&lt;/p&gt;
&lt;p&gt;A race condition exists between the async partition scan work and device
teardown that can lead to a use-after-free of ub-&amp;gt;ub_disk:&lt;/p&gt;
&lt;p&gt;1. ublk_ctrl_start_dev() schedules partition_scan_work after add_disk()
2. ublk_stop_dev() calls ublk_stop_dev_unlocked() which does:
   - del_gendisk(ub-&amp;gt;ub_disk)
   - ublk_detach_disk() sets ub-&amp;gt;ub_disk = NULL
   - put_disk() which may free the disk
3. The worker ublk_partition_scan_work() then dereferences ub-&amp;gt;ub_disk
   leading to UAF&lt;/p&gt;
&lt;p&gt;Fix this by using ublk_get_disk()/ublk_put_disk() in the worker to hold
a reference to the disk during the partition scan. The spinlock in
ublk_get_disk() synchronizes with ublk_detach_disk() ensuring the worker
either gets a valid reference or sees NULL and exits early.&lt;/p&gt;
&lt;p&gt;Also change flush_work() to cancel_work_sync() to avoid running the
partition scan work unnecessarily when the disk is already detached.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2026-22995</guid>
    </item>
  </channel>
</rss>
