<?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>Tue, 29 Sep 2026 01:01:37 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-50577 — ima: Fix memory leak in __ima_inode_hash()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2022-50577</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;ima: Fix memory leak in __ima_inode_hash()&lt;/p&gt;
&lt;p&gt;Commit f3cc6b25dcc5 (&amp;#34;ima: always measure and audit files in policy&amp;#34;) lets
measurement or audit happen even if the file digest cannot be calculated.&lt;/p&gt;
&lt;p&gt;As a result, iint-&amp;gt;ima_hash could have been allocated despite
ima_collect_measurement() returning an error.&lt;/p&gt;
&lt;p&gt;Since ima_hash belongs to a temporary inode metadata structure, declared
at the beginning of __ima_inode_hash(), just add a kfree() call if
ima_collect_measurement() returns an error different from -ENOMEM (in that
case, ima_hash should not have been allocated).&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;ima: Fix memory leak in __ima_inode_hash()&lt;/p&gt;
&lt;p&gt;Commit f3cc6b25dcc5 (&amp;#34;ima: always measure and audit files in policy&amp;#34;) lets
measurement or audit happen even if the file digest cannot be calculated.&lt;/p&gt;
&lt;p&gt;As a result, iint-&amp;gt;ima_hash could have been allocated despite
ima_collect_measurement() returning an error.&lt;/p&gt;
&lt;p&gt;Since ima_hash belongs to a temporary inode metadata structure, declared
at the beginning of __ima_inode_hash(), just add a kfree() call if
ima_collect_measurement() returns an error different from -ENOMEM (in that
case, ima_hash should not have been allocated).&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2022-50577</guid>
    </item>
  </channel>
</rss>
