<?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 03:54:39 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-68183 — ima: don't clear IMA_DIGSIG flag when setting or removing non-IMA xattr</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-68183</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: don&amp;#39;t clear IMA_DIGSIG flag when setting or removing non-IMA xattr&lt;/p&gt;
&lt;p&gt;Currently when both IMA and EVM are in fix mode, the IMA signature will
be reset to IMA hash if a program first stores IMA signature in
security.ima and then writes/removes some other security xattr for the
file.&lt;/p&gt;
&lt;p&gt;For example, on Fedora, after booting the kernel with &amp;#34;ima_appraise=fix
evm=fix ima_policy=appraise_tcb&amp;#34; and installing rpm-plugin-ima,
installing/reinstalling a package will not make good reference IMA
signature generated. Instead IMA hash is generated,&lt;/p&gt;
&lt;p&gt;# getfattr -m - -d -e hex /usr/bin/bash
    # file: usr/bin/bash
    security.ima=0x0404...&lt;/p&gt;
&lt;p&gt;This happens because when setting security.selinux, the IMA_DIGSIG flag
that had been set early was cleared. As a result, IMA hash is generated
when the file is closed.&lt;/p&gt;
&lt;p&gt;Similarly, IMA signature can be cleared on file close after removing
security xattr like security.evm or setting/removing ACL.&lt;/p&gt;
&lt;p&gt;Prevent replacing the IMA file signature with a file hash, by preventing
the IMA_DIGSIG flag from being reset.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a minimal C reproducer which sets security.selinux as the last
step which can also replaced by removing security.evm or setting ACL,&lt;/p&gt;
&lt;p&gt;#include &amp;lt;stdio.h&amp;gt;
    #include &amp;lt;sys/xattr.h&amp;gt;
    #include &amp;lt;fcntl.h&amp;gt;
    #include &amp;lt;unistd.h&amp;gt;
    #include &amp;lt;string.h&amp;gt;
    #include &amp;lt;stdlib.h&amp;gt;&lt;/p&gt;
&lt;p&gt;int main() {
        const char* file_path = &amp;#34;/usr/sbin/test_binary&amp;#34;;
        const char*…&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: don&amp;#39;t clear IMA_DIGSIG flag when setting or removing non-IMA xattr&lt;/p&gt;
&lt;p&gt;Currently when both IMA and EVM are in fix mode, the IMA signature will
be reset to IMA hash if a program first stores IMA signature in
security.ima and then writes/removes some other security xattr for the
file.&lt;/p&gt;
&lt;p&gt;For example, on Fedora, after booting the kernel with &amp;#34;ima_appraise=fix
evm=fix ima_policy=appraise_tcb&amp;#34; and installing rpm-plugin-ima,
installing/reinstalling a package will not make good reference IMA
signature generated. Instead IMA hash is generated,&lt;/p&gt;
&lt;p&gt;# getfattr -m - -d -e hex /usr/bin/bash
    # file: usr/bin/bash
    security.ima=0x0404...&lt;/p&gt;
&lt;p&gt;This happens because when setting security.selinux, the IMA_DIGSIG flag
that had been set early was cleared. As a result, IMA hash is generated
when the file is closed.&lt;/p&gt;
&lt;p&gt;Similarly, IMA signature can be cleared on file close after removing
security xattr like security.evm or setting/removing ACL.&lt;/p&gt;
&lt;p&gt;Prevent replacing the IMA file signature with a file hash, by preventing
the IMA_DIGSIG flag from being reset.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a minimal C reproducer which sets security.selinux as the last
step which can also replaced by removing security.evm or setting ACL,&lt;/p&gt;
&lt;p&gt;#include &amp;lt;stdio.h&amp;gt;
    #include &amp;lt;sys/xattr.h&amp;gt;
    #include &amp;lt;fcntl.h&amp;gt;
    #include &amp;lt;unistd.h&amp;gt;
    #include &amp;lt;string.h&amp;gt;
    #include &amp;lt;stdlib.h&amp;gt;&lt;/p&gt;
&lt;p&gt;int main() {
        const char* file_path = &amp;#34;/usr/sbin/test_binary&amp;#34;;
        const char*…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-68183</guid>
    </item>
  </channel>
</rss>
