<?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>Wed, 30 Sep 2026 01:09:06 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-53213 — drm/vc4: fix krealloc() memory leak</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-53213</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;drm/vc4: fix krealloc() memory leak&lt;/p&gt;
&lt;p&gt;Don&amp;#39;t just overwrite the original pointer passed to krealloc()
with its return value without checking latter:&lt;/p&gt;
&lt;p&gt;MEM = krealloc(MEM, SZ, GFP);&lt;/p&gt;
&lt;p&gt;If krealloc() returns NULL, that erases the pointer
to the still allocated memory, hence leaks this memory.
Instead, use a temporary variable, check it&amp;#39;s not NULL
and only then assign it to the original pointer:&lt;/p&gt;
&lt;p&gt;TMP = krealloc(MEM, SZ, GFP);
    if (!TMP) return;
    MEM = TMP;&lt;/p&gt;
&lt;p&gt;While on it, use krealloc_array().&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;drm/vc4: fix krealloc() memory leak&lt;/p&gt;
&lt;p&gt;Don&amp;#39;t just overwrite the original pointer passed to krealloc()
with its return value without checking latter:&lt;/p&gt;
&lt;p&gt;MEM = krealloc(MEM, SZ, GFP);&lt;/p&gt;
&lt;p&gt;If krealloc() returns NULL, that erases the pointer
to the still allocated memory, hence leaks this memory.
Instead, use a temporary variable, check it&amp;#39;s not NULL
and only then assign it to the original pointer:&lt;/p&gt;
&lt;p&gt;TMP = krealloc(MEM, SZ, GFP);
    if (!TMP) return;
    MEM = TMP;&lt;/p&gt;
&lt;p&gt;While on it, use krealloc_array().&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-53213</guid>
    </item>
  </channel>
</rss>
