<?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://db.gcve.eu</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, 04 Dec 2026 19:56:40 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139107 — apparmor: convert duplicated dfa transitions to match_char()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139107</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;apparmor: convert duplicated dfa transitions to match_char()&lt;/p&gt;
&lt;p&gt;For historical reasons several matchers duplicate the dfa character
transition instead of using match_char().&lt;/p&gt;
&lt;p&gt;This is because aa_dfa_match_until() and aa_dfa_matchn_until() were
written on a branch that did not yet have match_char(), and copied code
from aa_dfa_match(). leftmatch_fb() used the same pattern.&lt;/p&gt;
&lt;p&gt;When match_char() added support for diff-encoded states, the change was
never ported to these copies.&lt;/p&gt;
&lt;p&gt;match_char() resolves a diff encoded state by using def[state] and
retrying the same character, until it reaches a state with a valid
transition. The copies instead do a simple `state = def[state];` after
the character is consumed, so on a diff encoded state one byte is dropped
and the walk continues from the diff parent in the wrong state.&lt;/p&gt;
&lt;p&gt;This makes an unnamed px/Px/cx/Cx transition resolve to no profile, and
exec fails with&lt;/p&gt;
&lt;p&gt;apparmor=&amp;#34;DENIED&amp;#34; operation=&amp;#34;exec&amp;#34; info=&amp;#34;profile transition not found&amp;#34;&lt;/p&gt;
&lt;p&gt;Convert the three copies to match_char(). For a dfa with no diff
encoded state this is a no-op.&lt;/p&gt;
&lt;p&gt;This bug is latent until the kernel advertises policy/diff-encode.&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;apparmor: convert duplicated dfa transitions to match_char()&lt;/p&gt;
&lt;p&gt;For historical reasons several matchers duplicate the dfa character
transition instead of using match_char().&lt;/p&gt;
&lt;p&gt;This is because aa_dfa_match_until() and aa_dfa_matchn_until() were
written on a branch that did not yet have match_char(), and copied code
from aa_dfa_match(). leftmatch_fb() used the same pattern.&lt;/p&gt;
&lt;p&gt;When match_char() added support for diff-encoded states, the change was
never ported to these copies.&lt;/p&gt;
&lt;p&gt;match_char() resolves a diff encoded state by using def[state] and
retrying the same character, until it reaches a state with a valid
transition. The copies instead do a simple `state = def[state];` after
the character is consumed, so on a diff encoded state one byte is dropped
and the walk continues from the diff parent in the wrong state.&lt;/p&gt;
&lt;p&gt;This makes an unnamed px/Px/cx/Cx transition resolve to no profile, and
exec fails with&lt;/p&gt;
&lt;p&gt;apparmor=&amp;#34;DENIED&amp;#34; operation=&amp;#34;exec&amp;#34; info=&amp;#34;profile transition not found&amp;#34;&lt;/p&gt;
&lt;p&gt;Convert the three copies to match_char(). For a dfa with no diff
encoded state this is a no-op.&lt;/p&gt;
&lt;p&gt;This bug is latent until the kernel advertises policy/diff-encode.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139107</guid>
    </item>
  </channel>
</rss>
