<?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>Fri, 02 Oct 2026 18:39:10 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-49270 — dm: fix use-after-free in dm_cleanup_zoned_dev()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2022-49270</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;dm: fix use-after-free in dm_cleanup_zoned_dev()&lt;/p&gt;
&lt;p&gt;dm_cleanup_zoned_dev() uses queue, so it must be called
before blk_cleanup_disk() starts its killing:&lt;/p&gt;
&lt;p&gt;blk_cleanup_disk-&amp;gt;blk_cleanup_queue()-&amp;gt;kobject_put()-&amp;gt;blk_release_queue()-&amp;gt;
-&amp;gt;...RCU...-&amp;gt;blk_free_queue_rcu()-&amp;gt;kmem_cache_free()&lt;/p&gt;
&lt;p&gt;Otherwise, RCU callback may be executed first and
dm_cleanup_zoned_dev() will touch free&amp;#39;d memory:&lt;/p&gt;
&lt;p&gt;BUG: KASAN: use-after-free in dm_cleanup_zoned_dev+0x33/0xd0
 Read of size 8 at addr ffff88805ac6e430 by task dmsetup/681&lt;/p&gt;
&lt;p&gt;CPU: 4 PID: 681 Comm: dmsetup Not tainted 5.17.0-rc2+ #6
 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.14.0-2 04/01/2014
 Call Trace:
  &amp;lt;TASK&amp;gt;
  dump_stack_lvl+0x57/0x7d
  print_address_description.constprop.0+0x1f/0x150
  ? dm_cleanup_zoned_dev+0x33/0xd0
  kasan_report.cold+0x7f/0x11b
  ? dm_cleanup_zoned_dev+0x33/0xd0
  dm_cleanup_zoned_dev+0x33/0xd0
  __dm_destroy+0x26a/0x400
  ? dm_blk_ioctl+0x230/0x230
  ? up_write+0xd8/0x270
  dev_remove+0x156/0x1d0
  ctl_ioctl+0x269/0x530
  ? table_clear+0x140/0x140
  ? lock_release+0xb2/0x750
  ? remove_all+0x40/0x40
  ? rcu_read_lock_sched_held+0x12/0x70
  ? lock_downgrade+0x3c0/0x3c0
  ? rcu_read_lock_sched_held+0x12/0x70
  dm_ctl_ioctl+0xa/0x10
  __x64_sys_ioctl+0xb9/0xf0
  do_syscall_64+0x3b/0x90
  entry_SYSCALL_64_after_hwframe+0x44/0xae
 RIP: 0033:0x7fb6dfa95c27&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;dm: fix use-after-free in dm_cleanup_zoned_dev()&lt;/p&gt;
&lt;p&gt;dm_cleanup_zoned_dev() uses queue, so it must be called
before blk_cleanup_disk() starts its killing:&lt;/p&gt;
&lt;p&gt;blk_cleanup_disk-&amp;gt;blk_cleanup_queue()-&amp;gt;kobject_put()-&amp;gt;blk_release_queue()-&amp;gt;
-&amp;gt;...RCU...-&amp;gt;blk_free_queue_rcu()-&amp;gt;kmem_cache_free()&lt;/p&gt;
&lt;p&gt;Otherwise, RCU callback may be executed first and
dm_cleanup_zoned_dev() will touch free&amp;#39;d memory:&lt;/p&gt;
&lt;p&gt;BUG: KASAN: use-after-free in dm_cleanup_zoned_dev+0x33/0xd0
 Read of size 8 at addr ffff88805ac6e430 by task dmsetup/681&lt;/p&gt;
&lt;p&gt;CPU: 4 PID: 681 Comm: dmsetup Not tainted 5.17.0-rc2+ #6
 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.14.0-2 04/01/2014
 Call Trace:
  &amp;lt;TASK&amp;gt;
  dump_stack_lvl+0x57/0x7d
  print_address_description.constprop.0+0x1f/0x150
  ? dm_cleanup_zoned_dev+0x33/0xd0
  kasan_report.cold+0x7f/0x11b
  ? dm_cleanup_zoned_dev+0x33/0xd0
  dm_cleanup_zoned_dev+0x33/0xd0
  __dm_destroy+0x26a/0x400
  ? dm_blk_ioctl+0x230/0x230
  ? up_write+0xd8/0x270
  dev_remove+0x156/0x1d0
  ctl_ioctl+0x269/0x530
  ? table_clear+0x140/0x140
  ? lock_release+0xb2/0x750
  ? remove_all+0x40/0x40
  ? rcu_read_lock_sched_held+0x12/0x70
  ? lock_downgrade+0x3c0/0x3c0
  ? rcu_read_lock_sched_held+0x12/0x70
  dm_ctl_ioctl+0xa/0x10
  __x64_sys_ioctl+0xb9/0xf0
  do_syscall_64+0x3b/0x90
  entry_SYSCALL_64_after_hwframe+0x44/0xae
 RIP: 0033:0x7fb6dfa95c27&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2022-49270</guid>
    </item>
  </channel>
</rss>
