{
  "cveId": "CVE-2026-63827",
  "url": "https://patchblox.com/security/cve/CVE-2026-63827",
  "summary": "CVE-2026-63827 is fixed in 17 products on 1 platform, first by DEBIAN-CVE-2026-63827, released July 20, 2026. It is not reported as exploited. Patch Radar priority: Urgent.",
  "title": "apparmor: fix use-after-free in rawdata dedup loop",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  apparmor: fix use-after-free in rawdata dedup loop  aa_replace_profiles() walks ns-\u003Erawdata_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-\u003Elock and removes the entry. Between dropping the last pcount and the workqueue running, an entry remains on the list with pcount == 0.  aa_get_profile_loaddata() is an unconditional kref_get() on pcount, so when the dedup loop hits such an entry, refcount hardening reports    refcount_t: addition on 0; use-after-free.  inside aa_replace_profiles(), and the poisoned counter then trips \u0022saturated\u0022 and \u0022underflow\u0022 warnings on the subsequent uses of the same loaddata.  Before commit a0b7091c4de4 (\u0022apparmor: fix race on rawdata dereference\u0022) the dedup path used a get_unless_zero-style helper on a single counter, so the existing \u0022if (tmp)\u0022 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.  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.  Reproduced on x86_64 with v7.1-rc5 in QEMU\u002BKVM running Ubuntu 24.04 \u002B stress-ng 0.17.06:    stress-ng --apparmor 1 --klog-check --timeout 60s  Without this patch the three refcount_t warnings fire within a few seconds. With it the same 60 s run is clean. Coverage is a smoke-test only; a longer soak with CONFIG_KASAN, CONFIG_KCSAN and CONFIG_PROVE_LOCKING would be welcome from anyone with the cycles.",
  "published": "2026-07-19T12:16:55Z",
  "severity": "Critical",
  "cvss": 9.8,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
  "epss": 0.00124,
  "epssPercentile": 0.02142,
  "priority": "Urgent",
  "priorityTier": 2,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "vendorAdvisory": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-63827",
  "fixes": [
    {
      "platform": "linux",
      "product": "dtb-aarch64",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-64kb",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-64kb",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.81.1",
      "fix": "SUSE-SU-2026:4254-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4254-1",
      "released": "2026-10-07T22:31:36Z"
    },
    {
      "platform": "linux",
      "product": "kernel-64kb",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "SUSE-SU-2026:23231-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23231-1",
      "released": "2026-08-11T21:26:34Z"
    },
    {
      "platform": "linux",
      "product": "kernel-azure",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-azure",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.81.1",
      "fix": "SUSE-SU-2026:4254-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4254-1",
      "released": "2026-10-07T22:31:36Z"
    },
    {
      "platform": "linux",
      "product": "kernel-azure",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "SUSE-SU-2026:23231-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23231-1",
      "released": "2026-08-11T21:26:34Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.135.1",
      "fix": "SUSE-SU-2026:4369-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4369-1",
      "released": "2026-10-02T12:46:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.81.1",
      "fix": "SUSE-SU-2026:4254-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4254-1",
      "released": "2026-10-07T22:31:36Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "SUSE-SU-2026:23237-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23237-1",
      "released": "2026-08-11T21:34:22Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default-base",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1.160000.2.19",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default-base",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.135.1.150600.12.62.4",
      "fix": "SUSE-SU-2026:4369-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4369-1",
      "released": "2026-10-02T12:46:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default-base",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.81.1.150700.17.45.1",
      "fix": "SUSE-SU-2026:4254-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4254-1",
      "released": "2026-10-07T22:31:36Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default-base",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.37.1.160000.2.19",
      "fix": "SUSE-SU-2026:23231-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23231-1",
      "released": "2026-08-11T21:26:34Z"
    },
    {
      "platform": "linux",
      "product": "kernel-docs",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-docs",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.135.1",
      "fix": "SUSE-SU-2026:4369-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4369-1",
      "released": "2026-10-02T12:46:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-docs",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.81.1",
      "fix": "SUSE-SU-2026:4254-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4254-1",
      "released": "2026-10-07T22:31:36Z"
    },
    {
      "platform": "linux",
      "product": "kernel-docs",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "SUSE-SU-2026:23231-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23231-1",
      "released": "2026-08-11T21:26:34Z"
    },
    {
      "platform": "linux",
      "product": "kernel-kvmsmall",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-kvmsmall",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "SUSE-SU-2026:23231-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23231-1",
      "released": "2026-08-11T21:26:34Z"
    },
    {
      "platform": "linux",
      "product": "kernel-livepatch-SLE15-SP6_Update_31",
      "release": "sles 15.6",
      "fixedVersion": "1-150600.13.3.4",
      "fix": "SUSE-SU-2026:4369-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4369-1",
      "released": "2026-10-02T12:46:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-livepatch-SLE15-SP7-RT_Update_20",
      "release": "sles 15.7",
      "fixedVersion": "1-150700.1.3.1",
      "fix": "SUSE-SU-2026:4120-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4120-1",
      "released": "2026-09-10T09:31:34Z"
    },
    {
      "platform": "linux",
      "product": "kernel-livepatch-SLE15-SP7_Update_21",
      "release": "sles 15.7",
      "fixedVersion": "1-150700.15.3.1",
      "fix": "SUSE-SU-2026:4254-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4254-1",
      "released": "2026-10-07T22:31:36Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-build",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-build",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.135.1",
      "fix": "SUSE-SU-2026:4369-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4369-1",
      "released": "2026-10-02T12:46:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-build",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.81.1",
      "fix": "SUSE-SU-2026:4254-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4254-1",
      "released": "2026-10-07T22:31:36Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-qa",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-qa",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "SUSE-SU-2026:23231-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23231-1",
      "released": "2026-08-11T21:26:34Z"
    },
    {
      "platform": "linux",
      "product": "kernel-rt",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.135.1",
      "fix": "SUSE-SU-2026:4369-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4369-1",
      "released": "2026-10-02T12:46:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.81.1",
      "fix": "SUSE-SU-2026:4254-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4254-1",
      "released": "2026-10-07T22:31:36Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "SUSE-SU-2026:23231-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23231-1",
      "released": "2026-08-11T21:26:34Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.135.1",
      "fix": "SUSE-SU-2026:4369-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4369-1",
      "released": "2026-10-02T12:46:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.81.1",
      "fix": "SUSE-SU-2026:4254-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4254-1",
      "released": "2026-10-07T22:31:36Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "SUSE-SU-2026:23231-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23231-1",
      "released": "2026-08-11T21:26:34Z"
    },
    {
      "platform": "linux",
      "product": "kernel-zfcpdump",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "OPENSUSE-SU-2026:21555-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21555-1",
      "released": "2026-08-12T01:09:28Z"
    },
    {
      "platform": "linux",
      "product": "kernel-zfcpdump",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.81.1",
      "fix": "SUSE-SU-2026:4254-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4254-1",
      "released": "2026-10-07T22:31:36Z"
    },
    {
      "platform": "linux",
      "product": "kernel-zfcpdump",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.37.1",
      "fix": "SUSE-SU-2026:23231-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23231-1",
      "released": "2026-08-11T21:26:34Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "6.1.177-1",
      "fix": "DEBIAN-CVE-2026-63827",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-63827",
      "released": "2026-07-20T12:58:36Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.12.95-1",
      "fix": "DEBIAN-CVE-2026-63827",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-63827",
      "released": "2026-07-20T12:58:36Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "7.1.3-1",
      "fix": "DEBIAN-CVE-2026-63827",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-63827",
      "released": "2026-07-20T12:58:36Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-10T01:44:33Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}