<?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:46:33 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99848 — apparmor: fix NULL ctx-&gt;peer derefs in unix socket ctx updates</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99848</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 NULL ctx-&amp;gt;peer derefs in unix socket ctx updates&lt;/p&gt;
&lt;p&gt;aa_unix_file_perm lazily refreshes the AppArmor context cached on a unix
socket. Two of the helpers it uses assume ctx-&amp;gt;peer has already been set:&lt;/p&gt;
&lt;p&gt;update_peer_ctx -&amp;gt;  l = aa_label_merge(old, label, GFP_ATOMIC);
	update_sk_ctx   -&amp;gt;  } else if (aa_label_is_subset(plabel, old)) {&lt;/p&gt;
&lt;p&gt;where @old is ctx-&amp;gt;peer. Neither aa_label_merge nor aa_label_is_subset
allows NULL. So both fault on the aa_label-&amp;gt;size load.&lt;/p&gt;
&lt;p&gt;BUG: kernel NULL pointer dereference, address: 000000000000004c
  RIP: 0010:__aa_label_next_not_in_set+0xb/0xd0
  Call Trace:
   aa_label_is_subset+0x3f/0x70
   aa_unix_file_perm+0x5e8/0x9d0
   aa_file_perm+0x45a/0x550
   apparmor_file_permission+0x44/0xb0
   security_file_permission+0x40/0x100
   rw_verify_area+0x56/0x180
   vfs_write+0x7c/0x480
   ksys_write+0xbf/0xf0&lt;/p&gt;
&lt;p&gt;ctx-&amp;gt;peer is only recorded for stream connections and socket pairs.
unix_dgram_connect sets unix_peer(sk) without going through that path,
so a connected AF_UNIX datagram socket has unix_peer(sk) set while
ctx-&amp;gt;peer is still NULL, and the first write that needs revalidation
reaches the helpers above.&lt;/p&gt;
&lt;p&gt;Both derefs date back to the Fixes: commit, but the update_sk_ctx() one
was dormant until commit 4483efe4f215 (&amp;#34;apparmor: fix shadowing of plabel
that prevents cache from being updated&amp;#34;) stopped @plabel being shadowed,
which is why bisecting the oops lands there.&lt;/p&gt;
&lt;p&gt;A NULL @old ju…&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 NULL ctx-&amp;gt;peer derefs in unix socket ctx updates&lt;/p&gt;
&lt;p&gt;aa_unix_file_perm lazily refreshes the AppArmor context cached on a unix
socket. Two of the helpers it uses assume ctx-&amp;gt;peer has already been set:&lt;/p&gt;
&lt;p&gt;update_peer_ctx -&amp;gt;  l = aa_label_merge(old, label, GFP_ATOMIC);
	update_sk_ctx   -&amp;gt;  } else if (aa_label_is_subset(plabel, old)) {&lt;/p&gt;
&lt;p&gt;where @old is ctx-&amp;gt;peer. Neither aa_label_merge nor aa_label_is_subset
allows NULL. So both fault on the aa_label-&amp;gt;size load.&lt;/p&gt;
&lt;p&gt;BUG: kernel NULL pointer dereference, address: 000000000000004c
  RIP: 0010:__aa_label_next_not_in_set+0xb/0xd0
  Call Trace:
   aa_label_is_subset+0x3f/0x70
   aa_unix_file_perm+0x5e8/0x9d0
   aa_file_perm+0x45a/0x550
   apparmor_file_permission+0x44/0xb0
   security_file_permission+0x40/0x100
   rw_verify_area+0x56/0x180
   vfs_write+0x7c/0x480
   ksys_write+0xbf/0xf0&lt;/p&gt;
&lt;p&gt;ctx-&amp;gt;peer is only recorded for stream connections and socket pairs.
unix_dgram_connect sets unix_peer(sk) without going through that path,
so a connected AF_UNIX datagram socket has unix_peer(sk) set while
ctx-&amp;gt;peer is still NULL, and the first write that needs revalidation
reaches the helpers above.&lt;/p&gt;
&lt;p&gt;Both derefs date back to the Fixes: commit, but the update_sk_ctx() one
was dormant until commit 4483efe4f215 (&amp;#34;apparmor: fix shadowing of plabel
that prevents cache from being updated&amp;#34;) stopped @plabel being shadowed,
which is why bisecting the oops lands there.&lt;/p&gt;
&lt;p&gt;A NULL @old ju…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99848</guid>
    </item>
  </channel>
</rss>
