CVE-2026-23288
published high CVSS 3.1 · 7.8accel/amdxdna: Fix out-of-bounds memset in command slot handling
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux13ae1a6000f7d8b09478e3128e87d45e89c7282f to < cca770d710d5e03bc814af585cd6975eb6d74074 · 3d32eb7a5ecff92d83a5fd34c45c171c17d3d5d0 to < 1110a949675ebd56b3f0286e664ea543f745801c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.19.4 to < 6.19.7 · Other versions: unaffected | Affected | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Fix out-of-bounds memset in command slot handling The remaining space in a command slot may be smaller than the size of the command header. Clearing the command header with memset() before verifying the available slot space can result in an out-of-bounds write and memory corruption. Fix this by moving the memset() call after the size validation.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - Triggered via DRM ioctl (AMDXDNA_EXEC_CMD) on the local /dev/accel device node. This is a PCI accelerator driver, not network-reachable. AC:L - The attacker can reliably trigger the OOB write by crafting a command chain that exhausts buffer space before the final slot. No race condition or special conditions required. PR:L - Requires opening the accelerator device file (/dev/accel/accel*). The ioctl has no DRM_MASTER requirement (flags=0), so any local user with device access can trigger it. No root or special capabilities needed. UI:N - No user interaction required. The attacker directly submits malicious commands through the DRM ioctl interface. S:U - The vulnerability stays within the kernel's security authority. No VM escape, IOMMU bypass, or sandbox boundary crossing is involved. C:H - The ~52-byte heap zero-fill corrupts adjacent kernel objects. This memory corruption can be leveraged through heap shaping to corrupt length fields or create UAF conditions, potentially enabling arbitrary memory reads. I:H - Out-of-bounds write of zeros into kernel heap memory corrupts adjacent objects. This can overwrite function pointers, metadata, or security-critical fields, potentially enabling code execution. A:H - The out-of-bounds memset corrupts kernel heap metadata and adjacent objects, reliably causing kernel crashes or oops when the corrupted data is subsequently accessed.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 13ae1a6000f7d8b09478e3128e87d45e89c7282f to < cca770d710d5e03bc814af585cd6975eb6d74074 (affected · git)3d32eb7a5ecff92d83a5fd34c45c171c17d3d5d0 to < 1110a949675ebd56b3f0286e664ea543f745801c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.19.4 to < 6.19.7 (affected · semver)Default: unaffected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
accel/amdxdna: Fix out-of-bounds memset in command slot handling
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e3350ad913d9b3df5217297cae109d97836eab93b768231ce629085dba750562
- Ingested
- 23 Sep 2026, 09:05:46 UTC
- Source record
- Official CVE record