{
  "affected": [
    {
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      },
      "package": {
        "ecosystem": "Debian:12",
        "name": "linux"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      },
      "package": {
        "ecosystem": "Debian:13",
        "name": "linux"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.12.117-1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "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 refcount leak in aa_get_newest_profile()  The labels_profile() macro is evaluating its argument twice    #define labels_profile(X) ((X)-\u003evec[(X)-\u003esize - 1])  unfortunately aa_get_newest_profile() passes    aa_get_newest_label(\u0026p-\u003elabel) so every call to aa_get_newest_profile results in 2 refcounts being taken with one being leaked.  There is no need for labels_profile() to be a macro. Convert it to an inline fn, which ensures all uses are passing the correct struct and removes the double evaluation.",
  "id": "DEBIAN-CVE-2026-99838",
  "modified": "2026-12-01T03:47:29.978747565Z",
  "published": "2026-11-30T14:20:16.803Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://security-tracker.debian.org/tracker/CVE-2026-99838"
    }
  ],
  "upstream": [
    "CVE-2026-99838"
  ]
}