# CVE-2026-93118: usb: gadget: aspeed\_udc: check endpoint DMA allocation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-17T16:11:25.186Z
- **Modified:** 2026-10-19T10:17:01.783Z

## Who should check

- Anyone running Linux \>= 055276c1320564b0192b3af323b8cc67f9b665e1, \< d7ae1a48e70e9c3451b7dc7bc3896c82884bc4df; \>= 055276c1320564b0192b3af323b8cc67f9b665e1, \< 4aaad88f857498ed1294f061f0b25d27ae891c55; \>= 055276c1320564b0192b3af323b8cc67f9b665e1, \< 6182e708e2e1f55521c8a01d7535630ecc2d7df9; \>= 055276c1320564b0192b3af323b8cc67f9b665e1, \< ff6e88e29965bd06f640e59acdcf0bbf04a7f55c; \>= 055276c1320564b0192b3af323b8cc67f9b665e1, \< 9e6f57107c1886052d4baaa047a2bc3d0e91be5d; \>= 055276c1320564b0192b3af323b8cc67f9b665e1, \< 97cee53a94be3bd4fd8fbed6071bd2f32dad1ab1
- Anyone running Linux 6.0

## Description

In the Linux kernel, the following vulnerability has been resolved:

usb: gadget: aspeed\_udc: check endpoint DMA allocation

ast\_udc\_probe() allocates a coherent DMA buffer used as the backing store
for endpoint buffers. ast\_udc\_init\_ep() derives per-endpoint buffer
pointers from udc-\>ep0\_buf, so a failed allocation is dereferenced during
probe.

Check the allocation before endpoint setup. The existing probe error path
called ast\_udc\_remove(), which unregisters the gadget unconditionally and
is not safe before usb\_add\_gadget\_udc() succeeds. Add a local cleanup
helper for probe failures so pre-registration failures only unwind the
resources that were actually initialized.

This was found by a local static analysis checker for unchecked allocator
returns while scanning Linux 6.16. The change was checked by applying it
to current mainline and by running checkpatch. I do not have access to
Aspeed UDC hardware, so no runtime testing was performed.

## Affected and fixed versions

- Linux: \>= 055276c1320564b0192b3af323b8cc67f9b665e1, \< d7ae1a48e70e9c3451b7dc7bc3896c82884bc4df; \>= 055276c1320564b0192b3af323b8cc67f9b665e1, \< 4aaad88f857498ed1294f061f0b25d27ae891c55; \>= 055276c1320564b0192b3af323b8cc67f9b665e1, \< 6182e708e2e1f55521c8a01d7535630ecc2d7df9; \>= 055276c1320564b0192b3af323b8cc67f9b665e1, \< ff6e88e29965bd06f640e59acdcf0bbf04a7f55c; \>= 055276c1320564b0192b3af323b8cc67f9b665e1, \< 9e6f57107c1886052d4baaa047a2bc3d0e91be5d; \>= 055276c1320564b0192b3af323b8cc67f9b665e1, \< 97cee53a94be3bd4fd8fbed6071bd2f32dad1ab1 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- Upgrade Linux to 97cee53a94be3bd4fd8fbed6071bd2f32dad1ab1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-93118. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-93118.md
Affected: Linux >= 055276c1320564b0192b3af323b8cc67f9b665e1, < d7ae1a48e70e9c3451b7dc7bc3896c82884bc4df; >= 055276c1320564b0192b3af323b8cc67f9b665e1, < 4aaad88f857498ed1294f061f0b25d27ae891c55; >= 055276c1320564b0192b3af323b8cc67f9b665e1, < 6182e708e2e1f55521c8a01d7535630ecc2d7df9; >= 055276c1320564b0192b3af…
Fixed in: Linux 4aaad88f857498ed1294f061f0b25d27ae891c55, Linux 6182e708e2e1f55521c8a01d7535630ecc2d7df9, Linux 9e6f57107c1886052d4baaa047a2bc3d0e91be5d, Linux 97cee53a94be3bd4fd8fbed6071bd2f32dad1ab1

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.
```

## FAQ

### Is CVE-2026-93118 being exploited?

There is no confirmed exploitation: CVE-2026-93118 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-93118?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-93118?

Linux \>= 055276c1320564b0192b3af323b8cc67f9b665e1, \< d7ae1a48e70e9c3451b7dc7bc3896c82884bc4df; \>= 055276c1320564b0192b3af323b8cc67f9b665e1, \< 4aaad88f857498ed1294f061f0b25d27ae891c55; \>= 055276c1320564b0192b3af323b8cc67f9b665e1, \< 6182e708e2e1f55521c8a01d7535630ecc2d7df9; \>= 055276c1320564b0192b3af323b8cc67f9b665e1, \< ff6e88e29965bd06f640e59acdcf0bbf04a7f55c; \>= 055276c1320564b0192b3af323b8cc67f9b665e1, \< 9e6f57107c1886052d4baaa047a2bc3d0e91be5d; \>= 055276c1320564b0192b3af323b8cc67f9b665e1, \< 97cee53a94be3bd4fd8fbed6071bd2f32dad1ab1; Linux 6.0.

### Is there a fix for CVE-2026-93118?

Yes. Fixed in Linux 4aaad88f857498ed1294f061f0b25d27ae891c55, Linux 6182e708e2e1f55521c8a01d7535630ecc2d7df9, Linux 9e6f57107c1886052d4baaa047a2bc3d0e91be5d, Linux 97cee53a94be3bd4fd8fbed6071bd2f32dad1ab1. Upgrade Linux to 97cee53a94be3bd4fd8fbed6071bd2f32dad1ab1 or later.

### How do I check if I'm affected by CVE-2026-93118?

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.

## References

- other: <https://git.kernel.org/stable/c/d7ae1a48e70e9c3451b7dc7bc3896c82884bc4df>
- other: <https://git.kernel.org/stable/c/4aaad88f857498ed1294f061f0b25d27ae891c55>
- other: <https://git.kernel.org/stable/c/6182e708e2e1f55521c8a01d7535630ecc2d7df9>
- other: <https://git.kernel.org/stable/c/ff6e88e29965bd06f640e59acdcf0bbf04a7f55c>
- other: <https://git.kernel.org/stable/c/9e6f57107c1886052d4baaa047a2bc3d0e91be5d>
- other: <https://git.kernel.org/stable/c/97cee53a94be3bd4fd8fbed6071bd2f32dad1ab1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-93118>

HTML: <https://flawdb.com/CVE-2026-93118> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-93118>
