<?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 08:45:06 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-46042 — mm/mempolicy: fix memory leaks in weighted_interleave_auto_store()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-46042</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/mempolicy: fix memory leaks in weighted_interleave_auto_store()&lt;/p&gt;
&lt;p&gt;weighted_interleave_auto_store() fetches old_wi_state inside the if
(!input) block only.  This causes two memory leaks:&lt;/p&gt;
&lt;p&gt;1. When a user writes &amp;#34;false&amp;#34; and the current mode is already manual,
   the function returns early without freeing the freshly allocated
   new_wi_state.&lt;/p&gt;
&lt;p&gt;2. When a user writes &amp;#34;true&amp;#34;, old_wi_state stays NULL because the
   fetch is skipped entirely. The old state is then overwritten by
   rcu_assign_pointer() but never freed, since the cleanup path is
   gated on old_wi_state being non-NULL. A user can trigger this
   repeatedly by writing &amp;#34;1&amp;#34; in a loop.&lt;/p&gt;
&lt;p&gt;Fix both leaks by moving the old_wi_state fetch before the input check,
making it unconditional.  This also allows a unified early return for both
&amp;#34;true&amp;#34; and &amp;#34;false&amp;#34; when the requested mode matches the current mode.&lt;/p&gt;
&lt;p&gt;Reviewed by: Donet Tom &amp;lt;donettom@linux.ibm.com&amp;gt;&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/mempolicy: fix memory leaks in weighted_interleave_auto_store()&lt;/p&gt;
&lt;p&gt;weighted_interleave_auto_store() fetches old_wi_state inside the if
(!input) block only.  This causes two memory leaks:&lt;/p&gt;
&lt;p&gt;1. When a user writes &amp;#34;false&amp;#34; and the current mode is already manual,
   the function returns early without freeing the freshly allocated
   new_wi_state.&lt;/p&gt;
&lt;p&gt;2. When a user writes &amp;#34;true&amp;#34;, old_wi_state stays NULL because the
   fetch is skipped entirely. The old state is then overwritten by
   rcu_assign_pointer() but never freed, since the cleanup path is
   gated on old_wi_state being non-NULL. A user can trigger this
   repeatedly by writing &amp;#34;1&amp;#34; in a loop.&lt;/p&gt;
&lt;p&gt;Fix both leaks by moving the old_wi_state fetch before the input check,
making it unconditional.  This also allows a unified early return for both
&amp;#34;true&amp;#34; and &amp;#34;false&amp;#34; when the requested mode matches the current mode.&lt;/p&gt;
&lt;p&gt;Reviewed by: Donet Tom &amp;lt;donettom@linux.ibm.com&amp;gt;&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-46042</guid>
    </item>
  </channel>
</rss>
