<?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>Thu, 01 Oct 2026 19:16:20 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-52560 — mm/damon/vaddr-test: fix memory leak in damon_do_test_apply_three_regions()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-52560</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;mm/damon/vaddr-test: fix memory leak in damon_do_test_apply_three_regions()&lt;/p&gt;
&lt;p&gt;When CONFIG_DAMON_VADDR_KUNIT_TEST=y and making CONFIG_DEBUG_KMEMLEAK=y
and CONFIG_DEBUG_KMEMLEAK_AUTO_SCAN=y, the below memory leak is detected.&lt;/p&gt;
&lt;p&gt;Since commit 9f86d624292c (&amp;#34;mm/damon/vaddr-test: remove unnecessary
variables&amp;#34;), the damon_destroy_ctx() is removed, but still call
damon_new_target() and damon_new_region(), the damon_region which is
allocated by kmem_cache_alloc() in damon_new_region() and the damon_target
which is allocated by kmalloc in damon_new_target() are not freed.  And
the damon_region which is allocated in damon_new_region() in
damon_set_regions() is also not freed.&lt;/p&gt;
&lt;p&gt;So use damon_destroy_target to free all the damon_regions and damon_target.&lt;/p&gt;
&lt;p&gt;unreferenced object 0xffff888107c9a940 (size 64):
      comm &amp;#34;kunit_try_catch&amp;#34;, pid 1069, jiffies 4294670592 (age 732.761s)
      hex dump (first 32 bytes):
        00 00 00 00 00 00 00 00 06 00 00 00 6b 6b 6b 6b  ............kkkk
        60 c7 9c 07 81 88 ff ff f8 cb 9c 07 81 88 ff ff  `...............
      backtrace:
        [&amp;lt;ffffffff817e0167&amp;gt;] kmalloc_trace+0x27/0xa0
        [&amp;lt;ffffffff819c11cf&amp;gt;] damon_new_target+0x3f/0x1b0
        [&amp;lt;ffffffff819c7d55&amp;gt;] damon_do_test_apply_three_regions.constprop.0+0x95/0x3e0
        [&amp;lt;ffffffff819c82be&amp;gt;] damon_test_apply_three_regions1+0x21e/0x260
        [&amp;lt;ffffffff829fce6a&amp;gt;] kunit_generic_run_threadfn_adapter+0x4a/0x90
        [&amp;lt;f…&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;mm/damon/vaddr-test: fix memory leak in damon_do_test_apply_three_regions()&lt;/p&gt;
&lt;p&gt;When CONFIG_DAMON_VADDR_KUNIT_TEST=y and making CONFIG_DEBUG_KMEMLEAK=y
and CONFIG_DEBUG_KMEMLEAK_AUTO_SCAN=y, the below memory leak is detected.&lt;/p&gt;
&lt;p&gt;Since commit 9f86d624292c (&amp;#34;mm/damon/vaddr-test: remove unnecessary
variables&amp;#34;), the damon_destroy_ctx() is removed, but still call
damon_new_target() and damon_new_region(), the damon_region which is
allocated by kmem_cache_alloc() in damon_new_region() and the damon_target
which is allocated by kmalloc in damon_new_target() are not freed.  And
the damon_region which is allocated in damon_new_region() in
damon_set_regions() is also not freed.&lt;/p&gt;
&lt;p&gt;So use damon_destroy_target to free all the damon_regions and damon_target.&lt;/p&gt;
&lt;p&gt;unreferenced object 0xffff888107c9a940 (size 64):
      comm &amp;#34;kunit_try_catch&amp;#34;, pid 1069, jiffies 4294670592 (age 732.761s)
      hex dump (first 32 bytes):
        00 00 00 00 00 00 00 00 06 00 00 00 6b 6b 6b 6b  ............kkkk
        60 c7 9c 07 81 88 ff ff f8 cb 9c 07 81 88 ff ff  `...............
      backtrace:
        [&amp;lt;ffffffff817e0167&amp;gt;] kmalloc_trace+0x27/0xa0
        [&amp;lt;ffffffff819c11cf&amp;gt;] damon_new_target+0x3f/0x1b0
        [&amp;lt;ffffffff819c7d55&amp;gt;] damon_do_test_apply_three_regions.constprop.0+0x95/0x3e0
        [&amp;lt;ffffffff819c82be&amp;gt;] damon_test_apply_three_regions1+0x21e/0x260
        [&amp;lt;ffffffff829fce6a&amp;gt;] kunit_generic_run_threadfn_adapter+0x4a/0x90
        [&amp;lt;f…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-52560</guid>
    </item>
  </channel>
</rss>
