VDB

CVE-2026-53173

CVE-2026-53173 PUBLISHED CVSS 7.8 HIGH

accel/ethosu: fix OOB write in ethosu_gem_cmdstream_copy_and_validate()

Reported by linux · Published June 25, 2026

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.

EPSS 0.16% · 5.8th percentile

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.16%
5.8th percentile

Affected products

VendorProductVersions
LinuxLinux5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b, 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b
LinuxLinux6.19, 0, 7.0.13
linuxlinux_kernel6.19, 6.19
LinuxLinux5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b, 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b, 6.19

Timeline

  • Jun 24, 2026 CVE Published
  • Jun 26, 2026 EPSS Score (9 in total, the first dated here)
  • Jun 26, 2026 Coalition ESS Score
  • Jun 29, 2026 Security Advisory (64 in total, the first dated here)
  • Jun 30, 2026 CVE Updated
  • Aug 11, 2026 Distribution Patch (63 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-53173
vulnetix vdb fixes CVE-2026-53173

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-53173/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›