CVE-2026-99485
accel/amdxdna: clear the mailbox channel pointer when starting it fails
Mitigation
- Upgrade Linux to 2117e3d96a4fd1ee13fa28b31494ff5f5db6ccf4 or later.
Who should check
- Anyone running Linux >= d5b8b0347fa8470b751a506fb801797e271d7548, < 35003a3a2221207ded92ca4c60a54c2f83136473; >= d5b8b0347fa8470b751a506fb801797e271d7548, < 2117e3d96a4fd1ee13fa28b31494ff5f5db6ccf4
- Anyone running Linux 7.0
Vulnerability facts
- Affected
- Linux >= d5b8b0347fa8470b751a506fb801797e271d7548, < 35003a3a2221207ded92ca4c60a54c2f83136473; >= d5b8b0347fa8470b751a506fb801797e271d7548, < 2117e3d96a4fd1ee13fa28b31494ff5f5db6ccf4; Linux 7.0
- Fixed in
- Linux 35003a3a2221207ded92ca4c60a54c2f83136473, Linux 2117e3d96a4fd1ee13fa28b31494ff5f5db6ccf4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.14% chance of exploitation in 30 days (percentile 2, 2026-11-26)
- Modified
Description
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_mailbox_free_channel() on memory that was already freed: a use-after-free, and a second free of the same channel. The AIE4 management channel already does this correctly - aie4_mailbox_start() clears ndev->aie.mgmt_chann right after freeing it. Do the same here. The create path itself is not affected: when aie2_xrs_load() fails, xrs_allocate_resource() removes the solver node without calling ->unload, and aie2_hwctx_init() frees hwctx->priv, so the stale pointer never outlives the structure holding it. Starting a channel can fail today without this patch: the ring buffer sizes firmware reports are rejected unless both are powers of two, and request_irq() can fail.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-99485. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99485.md Affected: Linux >= d5b8b0347fa8470b751a506fb801797e271d7548, < 35003a3a2221207ded92ca4c60a54c2f83136473; >= d5b8b0347fa8470b751a506fb801797e271d7548, < 2117e3d96a4fd1ee13fa28b31494ff5f5db6ccf4; Linux 7.0 Fixed in: Linux 35003a3a2221207ded92ca4c60a54c2f83136473, Linux 2117e3d96a4fd1ee13fa28b31494ff5f5db6ccf4 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
FAQ
Is CVE-2026-99485 being exploited?
There is no confirmed exploitation: CVE-2026-99485 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.14% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-99485?
High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-99485?
Linux >= d5b8b0347fa8470b751a506fb801797e271d7548, < 35003a3a2221207ded92ca4c60a54c2f83136473; >= d5b8b0347fa8470b751a506fb801797e271d7548, < 2117e3d96a4fd1ee13fa28b31494ff5f5db6ccf4; Linux 7.0.
Is there a fix for CVE-2026-99485?
Yes. Fixed in Linux 35003a3a2221207ded92ca4c60a54c2f83136473, Linux 2117e3d96a4fd1ee13fa28b31494ff5f5db6ccf4. Upgrade Linux to 2117e3d96a4fd1ee13fa28b31494ff5f5db6ccf4 or later.
How do I check if I'm affected by CVE-2026-99485?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.0 | CVE-2026-137974 Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile | Linux kernel+1 | ||
| HIGH 7.8 | CVE-2026-137941 Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-137898 Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling | Linux kernel+1 | ||
| MEDIUM 6.5 | CVE-2026-102963 Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled | Linux kernel+1 | ||
| MEDIUM 5.3 | CVE-2026-115841 Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa | Linux kernel+4 |