# CVE-2026-43250: usb: chipidea: udc: fix DMA and SG cleanup in \_ep\_nuke()

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-28)
- **CWE:** CWE-787
- **Published:** 2026-05-06T11:28:41.158Z
- **Modified:** 2026-11-11T20:10:00.273Z

## Who should check

- Anyone running Linux \>= aa69a8093ff985873cb44fe1157bd6db29a20fe4, \< 1497998749600411d75e60a44f7e572b2348bd9a; \>= aa69a8093ff985873cb44fe1157bd6db29a20fe4, \< aad97c92119cb85db105ddda4a44c86cc0748e8c; \>= aa69a8093ff985873cb44fe1157bd6db29a20fe4, \< 1b72b834511d17f4d069d512f78671f3f210a2f1; \>= aa69a8093ff985873cb44fe1157bd6db29a20fe4, \< f4fbf2d4750d12ac8525d2efac1016fa0d84d4ec; \>= aa69a8093ff985873cb44fe1157bd6db29a20fe4, \< e74c436f8568af1c60942469d0a2300b3ada3857; \>= aa69a8093ff985873cb44fe1157bd6db29a20fe4, \< cea2a1257a3b5ea3e769a445b34af13e6aa5a123
- Anyone running Linux 2.6.29

## Description

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

usb: chipidea: udc: fix DMA and SG cleanup in \_ep\_nuke()

The ChipIdea UDC driver can encounter "not page aligned sg buffer"
errors when a USB device is reconnected after being disconnected
during an active transfer. This occurs because \_ep\_nuke() returns
requests to the gadget layer without properly unmapping DMA buffers
or cleaning up scatter-gather bounce buffers.

Root cause:
When a disconnect happens during a multi-segment DMA transfer, the
request's num\_mapped\_sgs field and sgt.sgl pointer remain set with
stale values. The request is returned to the gadget driver with status
-ESHUTDOWN but still has active DMA state. If the gadget driver reuses
this request on reconnect without reinitializing it, the stale DMA
state causes \_hardware\_enqueue() to skip DMA mapping (seeing non-zero
num\_mapped\_sgs) and attempt to use freed/invalid DMA addresses,
leading to alignment errors and potential memory corruption.

The normal completion path via \_hardware\_dequeue() properly calls
usb\_gadget\_unmap\_request\_by\_dev() and sglist\_do\_debounce() before
returning the request. The \_ep\_nuke() path must do the same cleanup
to ensure requests are returned in a clean, reusable state.

Fix:
Add DMA unmapping and bounce buffer cleanup to \_ep\_nuke() to mirror
the cleanup sequence in \_hardware\_dequeue():
- Call usb\_gadget\_unmap\_request\_by\_dev() if num\_mapped\_sgs is set
- Call sglist\_do\_debounce() with copy=false if bounce buffer exists

This ensures that when requests are returned due to endpoint shutdown,
they don't retain stale DMA mappings. The 'false' parameter to
sglist\_do\_debounce() prevents copying data back (appropriate for
shutdown path where transfer was aborted).

## Affected and fixed versions

- Linux: \>= aa69a8093ff985873cb44fe1157bd6db29a20fe4, \< 1497998749600411d75e60a44f7e572b2348bd9a; \>= aa69a8093ff985873cb44fe1157bd6db29a20fe4, \< aad97c92119cb85db105ddda4a44c86cc0748e8c; \>= aa69a8093ff985873cb44fe1157bd6db29a20fe4, \< 1b72b834511d17f4d069d512f78671f3f210a2f1; \>= aa69a8093ff985873cb44fe1157bd6db29a20fe4, \< f4fbf2d4750d12ac8525d2efac1016fa0d84d4ec; \>= aa69a8093ff985873cb44fe1157bd6db29a20fe4, \< e74c436f8568af1c60942469d0a2300b3ada3857; \>= aa69a8093ff985873cb44fe1157bd6db29a20fe4, \< cea2a1257a3b5ea3e769a445b34af13e6aa5a123 (cvelist)
- Linux: 2.6.29 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-43250.md
Affected: Linux >= aa69a8093ff985873cb44fe1157bd6db29a20fe4, < 1497998749600411d75e60a44f7e572b2348bd9a; >= aa69a8093ff985873cb44fe1157bd6db29a20fe4, < aad97c92119cb85db105ddda4a44c86cc0748e8c; >= aa69a8093ff985873cb44fe1157bd6db29a20fe4, < 1b72b834511d17f4d069d512f78671f3f210a2f1; >= aa69a8093ff985873cb44fe…
Fixed in: Linux 1497998749600411d75e60a44f7e572b2348bd9a, Linux 1b72b834511d17f4d069d512f78671f3f210a2f1

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-43250 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= aa69a8093ff985873cb44fe1157bd6db29a20fe4, \< 1497998749600411d75e60a44f7e572b2348bd9a; \>= aa69a8093ff985873cb44fe1157bd6db29a20fe4, \< aad97c92119cb85db105ddda4a44c86cc0748e8c; \>= aa69a8093ff985873cb44fe1157bd6db29a20fe4, \< 1b72b834511d17f4d069d512f78671f3f210a2f1; \>= aa69a8093ff985873cb44fe1157bd6db29a20fe4, \< f4fbf2d4750d12ac8525d2efac1016fa0d84d4ec; \>= aa69a8093ff985873cb44fe1157bd6db29a20fe4, \< e74c436f8568af1c60942469d0a2300b3ada3857; \>= aa69a8093ff985873cb44fe1157bd6db29a20fe4, \< cea2a1257a3b5ea3e769a445b34af13e6aa5a123; Linux 2.6.29.

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

Yes. Fixed in Linux 1497998749600411d75e60a44f7e572b2348bd9a, Linux 1b72b834511d17f4d069d512f78671f3f210a2f1. No fix listed yet: follow the vendor advisory.

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

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

- patch: <https://git.kernel.org/stable/c/1b72b834511d17f4d069d512f78671f3f210a2f1>
- patch: <https://git.kernel.org/stable/c/f4fbf2d4750d12ac8525d2efac1016fa0d84d4ec>
- patch: <https://git.kernel.org/stable/c/e74c436f8568af1c60942469d0a2300b3ada3857>
- patch: <https://git.kernel.org/stable/c/cea2a1257a3b5ea3e769a445b34af13e6aa5a123>
- other: <https://git.kernel.org/stable/c/1497998749600411d75e60a44f7e572b2348bd9a>
- other: <https://git.kernel.org/stable/c/aad97c92119cb85db105ddda4a44c86cc0748e8c>

## 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-43250>

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