{
  "threat_severity" : "Moderate",
  "public_date" : "2026-11-19T14:43:23Z",
  "bugzilla" : {
    "description" : "kernel: kernel: Denial of Service via use-after-free in AMD XDNA driver",
    "id" : "2576808",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2576808"
  },
  "cvss3" : {
    "cvss3_base_score" : "4.7",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H",
    "status" : "draft"
  },
  "cwe" : "CWE-825",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\naccel/amdxdna: clear the mailbox channel pointer when starting it fails\naie2_create_context() allocates a mailbox channel, starts it, and on a\nfailed start frees it again:\nhwctx->priv->mbox_chann = xdna_mailbox_alloc_channel(ndev->mbox);\n...\nret = xdna_mailbox_start_channel(hwctx->priv->mbox_chann, ...);\nif (ret)\ngoto free_channel;\n...\nfree_channel:\nxdna_mailbox_free_channel(hwctx->priv->mbox_chann);\nhwctx->priv->mbox_chann keeps pointing at the freed channel. That\npointer is the driver's own test for whether a hardware context has a\nusable channel: aie2_destroy_context() returns early on NULL,\naie2_sched_job_run() refuses to run a job on NULL, and the message\nhelpers return -ENODEV on NULL. A stale pointer passes all of them.\nIt matters on the restart path. aie2_hwctx_restart() calls\naie2_create_context() again on a hardware context that is already live,\nafter aie2_hwctx_stop() has torn its channel down, and the context\nsurvives a failure there: aie2_sched_job_timedout() discards the return\nvalue entirely, and aie2_hwctx_resume() only propagates it. What is\nleft is a live hardware context holding a freed channel, and every\nlater user of it takes the non-NULL branch:\n- the next job submitted reaches xdna_mailbox_send_msg() on the freed\nchannel, via the !mbox_chann guard in aie2_sched_job_run(),\n- a second command timeout reaches aie2_hwctx_stop() ->\naie2_destroy_context(),\n- closing the device reaches aie2_hwctx_fini() ->\naie2_release_resource() -> xrs_release_resource() ->\naie2_xrs_unload() -> aie2_destroy_context(),\nand aie2_destroy_context() then calls xdna_mailbox_stop_channel()\nfollowed by xdna_mailbox_free_channel() on memory that was already\nfreed: a use-after-free, and a second free of the same channel.\nThe AIE4 management channel already does this correctly -\naie4_mailbox_start() clears ndev->aie.mgmt_chann right after freeing\nit. Do the same here.\nThe create path itself is not affected: when aie2_xrs_load() fails,\nxrs_allocate_resource() removes the solver node without calling\n->unload, and aie2_hwctx_init() frees hwctx->priv, so the stale pointer\nnever outlives the structure holding it.\nStarting a channel can fail today without this patch: the ring buffer\nsizes firmware reports are rejected unless both are powers of two, and\nrequest_irq() can fail.", "A flaw was found in the Linux kernel's AMD XDNA driver. When starting a mailbox communication channel fails during a hardware context restart, the driver frees the memory but fails to clear the channel pointer. Subsequent operations access this freed memory, leading to a use-after-free condition that can cause a kernel crash and Denial of Service (DoS)." ],
  "statement" : "This vulnerability is rated as Moderate severity for Red Hat because exploitation is constrained to local users on systems configured with specific AMD AI accelerator hardware. Successful exploitation relies on an uncommon failure during mailbox channel restarts, reducing attack reliability. Furthermore, the operational impact is limited to a local denial of service via a kernel crash without enabling remote access or privilege escalation.",
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 10",
    "fix_state" : "Fix deferred",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:rhel_els:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:rhel_els:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:rhel_els:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4",
    "fix_state" : "Not affected",
    "package_name" : "openshift/ose-rhel-coreos-8",
    "cpe" : "cpe:/a:redhat:openshift:4"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4",
    "fix_state" : "Not affected",
    "package_name" : "openshift/ose-rhel-coreos-9",
    "cpe" : "cpe:/a:redhat:openshift:4"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 5",
    "fix_state" : "Not affected",
    "package_name" : "openshift/ose-rhel-coreos-10",
    "cpe" : "cpe:/a:redhat:openshift:5"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 5",
    "fix_state" : "Not affected",
    "package_name" : "openshift/ose-rhel-coreos-9",
    "cpe" : "cpe:/a:redhat:openshift:5"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2026-99485\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-99485\nhttps://git.kernel.org/stable/c/2117e3d96a4fd1ee13fa28b31494ff5f5db6ccf4\nhttps://git.kernel.org/stable/c/35003a3a2221207ded92ca4c60a54c2f83136473" ],
  "name" : "CVE-2026-99485",
  "csaw" : false
}