<?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 17:16:39 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-63827 — apparmor: fix use-after-free in rawdata dedup loop</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-63827</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: fix use-after-free in rawdata dedup loop&lt;/p&gt;
&lt;p&gt;aa_replace_profiles() walks ns-&amp;gt;rawdata_list to dedup the incoming
policy blob against entries already attached to existing profiles.
Per the kernel-doc on struct aa_loaddata, list membership does not
hold a reference: profiles hold pcount, and when the last pcount
drops, do_ploaddata_rmfs() is queued on a workqueue that takes
ns-&amp;gt;lock and removes the entry. Between dropping the last pcount
and the workqueue running, an entry remains on the list with
pcount == 0.&lt;/p&gt;
&lt;p&gt;aa_get_profile_loaddata() is an unconditional kref_get() on
pcount, so when the dedup loop hits such an entry, refcount
hardening reports&lt;/p&gt;
&lt;p&gt;refcount_t: addition on 0; use-after-free.&lt;/p&gt;
&lt;p&gt;inside aa_replace_profiles(), and the poisoned counter then
trips &amp;#34;saturated&amp;#34; and &amp;#34;underflow&amp;#34; warnings on the subsequent
uses of the same loaddata.&lt;/p&gt;
&lt;p&gt;Before commit a0b7091c4de4 (&amp;#34;apparmor: fix race on rawdata
dereference&amp;#34;) the dedup path used a get_unless_zero-style helper
on a single counter, so the existing &amp;#34;if (tmp)&amp;#34; guard was
meaningful. The split-refcount refactor introduced
aa_get_profile_loaddata(), which has plain kref_get() semantics,
and the guard quietly became a no-op.&lt;/p&gt;
&lt;p&gt;Introduce aa_get_profile_loaddata_not0(), matching the existing
_not0 convention used by aa_get_profile_not0(), and use it for
the rawdata_list dedup lookup so dying entries are skipped.&lt;/p&gt;
&lt;p&gt;Reproduced on x86_64 with v7.1-rc5 in QEMU+KVM run…&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: fix use-after-free in rawdata dedup loop&lt;/p&gt;
&lt;p&gt;aa_replace_profiles() walks ns-&amp;gt;rawdata_list to dedup the incoming
policy blob against entries already attached to existing profiles.
Per the kernel-doc on struct aa_loaddata, list membership does not
hold a reference: profiles hold pcount, and when the last pcount
drops, do_ploaddata_rmfs() is queued on a workqueue that takes
ns-&amp;gt;lock and removes the entry. Between dropping the last pcount
and the workqueue running, an entry remains on the list with
pcount == 0.&lt;/p&gt;
&lt;p&gt;aa_get_profile_loaddata() is an unconditional kref_get() on
pcount, so when the dedup loop hits such an entry, refcount
hardening reports&lt;/p&gt;
&lt;p&gt;refcount_t: addition on 0; use-after-free.&lt;/p&gt;
&lt;p&gt;inside aa_replace_profiles(), and the poisoned counter then
trips &amp;#34;saturated&amp;#34; and &amp;#34;underflow&amp;#34; warnings on the subsequent
uses of the same loaddata.&lt;/p&gt;
&lt;p&gt;Before commit a0b7091c4de4 (&amp;#34;apparmor: fix race on rawdata
dereference&amp;#34;) the dedup path used a get_unless_zero-style helper
on a single counter, so the existing &amp;#34;if (tmp)&amp;#34; guard was
meaningful. The split-refcount refactor introduced
aa_get_profile_loaddata(), which has plain kref_get() semantics,
and the guard quietly became a no-op.&lt;/p&gt;
&lt;p&gt;Introduce aa_get_profile_loaddata_not0(), matching the existing
_not0 convention used by aa_get_profile_not0(), and use it for
the rawdata_list dedup lookup so dying entries are skipped.&lt;/p&gt;
&lt;p&gt;Reproduced on x86_64 with v7.1-rc5 in QEMU+KVM run…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-63827</guid>
    </item>
  </channel>
</rss>
