{
  "affected": [
    {
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      },
      "package": {
        "ecosystem": "Debian:14",
        "name": "linux"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7.3.4-1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "details": "In the Linux kernel, the following vulnerability has been resolved:  apparmor: fix NULL ctx-\u003epeer derefs in unix socket ctx updates  aa_unix_file_perm lazily refreshes the AppArmor context cached on a unix socket. Two of the helpers it uses assume ctx-\u003epeer has already been set:  \tupdate_peer_ctx -\u003e  l = aa_label_merge(old, label, GFP_ATOMIC); \tupdate_sk_ctx   -\u003e  } else if (aa_label_is_subset(plabel, old)) {  where @old is ctx-\u003epeer. Neither aa_label_merge nor aa_label_is_subset allows NULL. So both fault on the aa_label-\u003esize load.    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  ctx-\u003epeer 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-\u003epeer is still NULL, and the first write that needs revalidation reaches the helpers above.  Both derefs date back to the Fixes: commit, but the update_sk_ctx() one was dormant until commit 4483efe4f215 (\"apparmor: fix shadowing of plabel that prevents cache from being updated\") stopped @plabel being shadowed, which is why bisecting the oops lands there.  A NULL @old just means no peer label has been recorded yet, so install the label directly instead of merging or comparing against it.",
  "id": "DEBIAN-CVE-2026-99848",
  "modified": "2026-12-01T03:47:26.977031855Z",
  "published": "2026-11-30T14:20:18.133Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://security-tracker.debian.org/tracker/CVE-2026-99848"
    }
  ],
  "upstream": [
    "CVE-2026-99848"
  ]
}