CVE-2026-53173
published high CVSS 3.1 · 7.8accel/ethosu: fix OOB write in ethosu_gem_cmdstream_copy_and_validate()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b to < db6cb3e35cebf487f9a78ebd4cfa4b83708ff40d · 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b to < c0837b9cf6eabbad8b8cbddaff1a46a6d0a2e29d · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.19 (affected) · 0 to < 6.19 (unaffected · semver) · 7.0.13 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | 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 |
| Ubuntu | noble | linux-aws-7.0 | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-aws-7.0-cloud-tools-7.0.0-1012 | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-aws-7.0-headers-7.0.0-1012 | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-aws-7.0-tools-7.0.0-1012 | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-azure-7.0 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-cloud-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-headers-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-gcp-7.0 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-gcp-7.0-headers-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-gcp-7.0-tools-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-headers-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-headers-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-headers-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-headers-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-headers-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-headers-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-headers-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-headers-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-hwe-7.0 | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-hwe-7.0-cloud-tools-7.0.0-31 | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-hwe-7.0-headers-7.0.0-31 | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-hwe-7.0-tools-7.0.0-31 | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-lib-rust-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-modules-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-modules-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-modules-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-modules-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-modules-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-evdi-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-ipu6-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-ipu7-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-modules-usbio-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-vision-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-nvidia-7.0 | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-nvidia-7.0-headers-7.0.0-1018 | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-nvidia-7.0-tools-7.0.0-1018 | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-oracle-7.0 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-oracle-7.0-headers-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-oracle-7.0-tools-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-tools-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-tools-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-tools-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-tools-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-tools-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-tools-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-tools-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-tools-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | resolute | bpftool | Advisory build | 7.7.0+7.0.0-31.31 | USN-8726-1 |
| Ubuntu | resolute | linux | Advisory build | 7.0.0-31.31 | USN-8726-1 |
| Ubuntu | resolute | linux-aws | Advisory build | 7.0.0-1012.12 | USN-8726-1 |
| Ubuntu | resolute | linux-aws-cloud-tools-7.0.0-1012 | Advisory build | 7.0.0-1012.12 | USN-8726-1 |
| Ubuntu | resolute | linux-aws-headers-7.0.0-1012 | Advisory build | 7.0.0-1012.12 | USN-8726-1 |
| Ubuntu | resolute | linux-aws-tools-7.0.0-1012 | Advisory build | 7.0.0-1012.12 | USN-8726-1 |
| Ubuntu | resolute | linux-azure | Advisory build | 7.0.0-1014.14 | USN-8726-4 |
| Ubuntu | resolute | linux-azure-cloud-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14 | USN-8726-4 |
| Ubuntu | resolute | linux-azure-headers-7.0.0-1014 | Advisory build | 7.0.0-1014.14 | USN-8726-4 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: accel/ethosu: fix OOB write in ethosu_gem_cmdstream_copy_and_validate() The command stream parsing loop increments the index variable a second time when a 64-bit command word is encountered (bit 14 set), but does not re-check the loop bound before writing the second word: for (i = 0; i < size / 4; i++) { bocmds[i] = cmds[0]; if (cmd & 0x4000) { i++; bocmds[i] = cmds[1]; /* unchecked */ } } The buffer bocmds is backed by a DMA allocation of exactly size bytes from drm_gem_dma_create(ddev, size), giving valid indices [0, size/4-1]. When i == size/4 - 1 on entry to an iteration and bit 14 of cmds[0] is set, bocmds[size/4-1] is written in bounds, i is then incremented to size/4, and bocmds[size/4] writes four bytes past the end of the allocation. Userspace controls both the buffer contents and the size argument via the ioctl, making this a userspace-triggerable heap out-of-bounds write. Fix by checking the incremented index against the buffer bound before the second write and returning -EINVAL if the buffer is too small to contain the extended command.
Related advisories
Vendor advisories explicitly linked to 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 - The vulnerable code is reached through the local DRM accel ioctl `DRM_IOCTL_ETHOSU_CMDSTREAM_BO_CREATE` on `/dev/accel/accel*`, not through network, adjacent, or physical input. AC:L - Userspace controls both the command stream contents and size, and can deterministically place a 64-bit command marker at the final word to trigger the unchecked second write. No race or external state is required. PR:L - The driver ioctl has no capability, root, master, or authentication check, but the attacker must be a local user/process able to open the accelerator device node. UI:N - No victim action is needed after the attacker has local device access; a single ioctl with attacker-controlled arguments reaches the vulnerable function. S:U - This is kernel memory corruption within the same host security authority and does not cross a VM, IOMMU, or other distinct security boundary. C:H - The bug is a userspace-triggered kernel heap/DMA allocation out-of-bounds write, which is defensibly exploitable as memory corruption and can lead to kernel compromise and disclosure of arbitrary kernel data. I:H - An out-of-bounds write of attacker-controlled command data past a kernel DMA-backed GEM allocation can corrupt adjacent memory and is treated as high-integrity-impact kernel memory corruption. A:H - Even without full exploitation, corrupting memory past the allocation can crash or destabilize the kernel, giving high availability impact.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b to < db6cb3e35cebf487f9a78ebd4cfa4b83708ff40d (affected · git)5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b to < c0837b9cf6eabbad8b8cbddaff1a46a6d0a2e29d (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.19 (affected)0 to < 6.19 (unaffected · semver)7.0.13 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
accel/ethosu: fix OOB write in ethosu_gem_cmdstream_copy_and_validate()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ac0d5ceb725afe4b03177cb03629c5c39c81c179069d4337c9943c796c56cea5
- Ingested
- 23 Sep 2026, 09:19:36 UTC
- Source record
- Official CVE record