Saltar al contenido
DayZeroHub
Alta Sin redactarCVSS 7CVE-2026-99485

CVE-2026-99485: accel/amdxdna: clear the mailbox channel pointer when starting it fails

Linux Linux

Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.

Resumen

CVE-2026-99485: vulnerabilidad de severidad alta (CVSS 7) en Linux Linux.

Qué ocurre

Descripción original de la fuente (en inglés): In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: clear the mailbox channel pointer when starting it fails aie2_create_context() allocates a mailbox channel, starts it, and on a failed start frees it again: hwctx->priv->mbox_chann = xdna_mailbox_alloc_channel(ndev->mbox); ... ret = xdna_mailbox_start_channel(hwctx->priv->mbox_chann, ...); if (ret) goto free_channel; ... free_channel: xdna_mailbox_free_channel(hwctx->priv->mbox_chann); hwctx->priv->mbox_chann keeps pointing at the freed channel. That pointer is the driver's own test for whether a hardware context has a usable channel: aie2_destroy_context() returns early on NULL, aie2_sched_job_run() refuses to run a job on NULL, and the message helpers return -ENODEV on NULL. A stale pointer passes all of them. It matters on the restart path. aie2_hwctx_restart() calls aie2_create_context() again on a hardware context that is already live, after aie2_hwctx_stop() has torn its channel down, and the context survives a failure there: aie2_sched_job_timedout() discards the return value entirely, and aie2_hwctx_resume() only propagates it. What is left is a live hardware context holding a freed channel, and every later user of it takes the non-NULL branch: - the next job submitted reaches xdna_mailbox_send_msg() on the freed channel, via the !mbox_chann guard in aie2_sched_job_run(), - a second command timeout reaches aie2_hwctx_stop() -> aie2_destroy_context(), - closing the device reaches aie2_hwctx_fini() -> aie2_release_resource() -> xrs_release_resource() -> aie2_xrs_unload() -> aie2_destroy_context(), and aie2_destroy_context() then calls xdna_mailbox_stop_channel() followed by xdna_mail…

Por qué importa

Severidad alta, CVSS 7.

Productos y versiones afectados

Linux Linux >= d5b8b0347fa8470b751a506fb801797e271d7548, < 35003a3a2221207ded92ca4c60a54c2f83136473; Linux Linux >= d5b8b0347fa8470b751a506fb801797e271d7548, < 2117e3d96a4fd1ee13fa28b31494ff5f5db6ccf4; Linux Linux 7.0; Linux Linux < 7.0; Linux Linux 7.3.2 (corregido en 7.3.2); Linux Linux 7.4-rc1 (corregido en 7.4-rc1)

ProductoVersionesCorregido en
Linux Linux>= d5b8b0347fa8470b751a506fb801797e271d7548, < 35003a3a2221207ded92ca4c60a54c2f83136473—
Linux Linux>= d5b8b0347fa8470b751a506fb801797e271d7548, < 2117e3d96a4fd1ee13fa28b31494ff5f5db6ccf4—
Linux Linux7.0—
Linux Linux< 7.0—
Linux Linux7.3.27.3.2
Linux Linux7.4-rc17.4-rc1

Acción recomendada por la fuente

Actualizar a una versión corregida: 7.3.2, 7.4-rc1.

Corregido en: 7.3.2, 7.4-rc1

Información tomada de la fuente o del proveedor. Verificala en el enlace original antes de actuar.

Fuentes y referencias

Historial de cambios relevantes

  1. Publicado

    Aviso preliminar publicado.