# CVE-2026-89738: usb: gadget: at91\_udc: drain polled-VBUS timer/work before udc is freed

> 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, CNA) `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)
- **Published:** 2026-09-11T19:46:45.898Z
- **Modified:** 2026-10-30T13:20:27.713Z

## Who should check

- Anyone running Linux \>= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, \< 2440ce54b8c4c8aa6963c181eb56164a466fbe1c; \>= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, \< 1674e34fe61ad3f5585dc833ba6bb6522912e6a5; \>= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, \< 723d73b245843d4fff4c3f42e857c78c2b2d414e; \>= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, \< a2a602cb1e28d76a5398cec3fa21b0110385f501; \>= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, \< 51a311eb97e91ce1aed3005cb71ccb2e30f8cce8; \>= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, \< 557ef547d49ff5e6026a4d39bdd3113bd81d7688; \>= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, \< c27d13ce4bab80fbdf6523928071b6c24b37606c
- Anyone running Linux 2.6.36

## Description

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

usb: gadget: at91\_udc: drain polled-VBUS timer/work before udc is freed

In polled-VBUS mode (board.vbus\_pin && board.vbus\_polled), probe arms a
self-restarting cycle: at91\_vbus\_timer() schedules vbus\_timer\_work, and
at91\_vbus\_timer\_work() calls at91\_vbus\_update() and re-arms the timer via
mod\_timer(). Both recover the same udc through container\_of and dereference
it on every iteration.

Neither teardown path cancels this cycle. udc is devm-allocated, so it is
freed after at91udc\_remove() returns, and is likewise freed when probe
fails and devres runs. A timer callback or work item that is pending or
running at either point dereferences the freed udc.

Add at91\_udc\_shutdown\_vbus\_timer() and call it from at91udc\_remove() and
from the usb\_add\_gadget\_udc() failure path in probe; the remaining probe
error paths fail before the timer is armed. timer\_shutdown\_sync() waits
for a running callback and clears timer-\>function, which makes the work
handler's mod\_timer() a permanent no-op; cancel\_work\_sync() then drains
any pending or running work whose re-arm attempt now does nothing. The
timer must be shut down first, since cancelling the work alone would let
the timer re-queue it. The guard mirrors probe: in IRQ mode the timer and
work\_struct are never initialized.

This does not require a fault; a normal driver unbind can interleave with
an already queued work item.

This issue was found by an in-house static analysis tool.

## Affected and fixed versions

- Linux: \>= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, \< 2440ce54b8c4c8aa6963c181eb56164a466fbe1c; \>= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, \< 1674e34fe61ad3f5585dc833ba6bb6522912e6a5; \>= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, \< 723d73b245843d4fff4c3f42e857c78c2b2d414e; \>= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, \< a2a602cb1e28d76a5398cec3fa21b0110385f501; \>= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, \< 51a311eb97e91ce1aed3005cb71ccb2e30f8cce8; \>= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, \< 557ef547d49ff5e6026a4d39bdd3113bd81d7688; \>= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, \< c27d13ce4bab80fbdf6523928071b6c24b37606c (cvelist)
- Linux: 2.6.36 (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-89738. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89738.md
Affected: Linux >= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, < 2440ce54b8c4c8aa6963c181eb56164a466fbe1c; >= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, < 1674e34fe61ad3f5585dc833ba6bb6522912e6a5; >= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, < 723d73b245843d4fff4c3f42e857c78c2b2d414e; >= 4037242c4f5ff77afe61bf0…
Fixed in: Linux 2440ce54b8c4c8aa6963c181eb56164a466fbe1c, Linux 1674e34fe61ad3f5585dc833ba6bb6522912e6a5, Linux 723d73b245843d4fff4c3f42e857c78c2b2d414e, Linux 51a311eb97e91ce1aed3005cb71ccb2e30f8cce8, Linux 557ef547d49ff5e6026a4d39bdd3113bd81d7688

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

There is no confirmed exploitation: CVE-2026-89738 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-89738?

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

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

Linux \>= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, \< 2440ce54b8c4c8aa6963c181eb56164a466fbe1c; \>= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, \< 1674e34fe61ad3f5585dc833ba6bb6522912e6a5; \>= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, \< 723d73b245843d4fff4c3f42e857c78c2b2d414e; \>= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, \< a2a602cb1e28d76a5398cec3fa21b0110385f501; \>= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, \< 51a311eb97e91ce1aed3005cb71ccb2e30f8cce8; \>= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, \< 557ef547d49ff5e6026a4d39bdd3113bd81d7688; \>= 4037242c4f5ff77afe61bf07ca1e8a99490219e5, \< c27d13ce4bab80fbdf6523928071b6c24b37606c; Linux 2.6.36.

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

Yes. Fixed in Linux 2440ce54b8c4c8aa6963c181eb56164a466fbe1c, Linux 1674e34fe61ad3f5585dc833ba6bb6522912e6a5, Linux 723d73b245843d4fff4c3f42e857c78c2b2d414e, Linux 51a311eb97e91ce1aed3005cb71ccb2e30f8cce8, Linux 557ef547d49ff5e6026a4d39bdd3113bd81d7688. No fix listed yet: follow the vendor advisory.

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

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/2440ce54b8c4c8aa6963c181eb56164a466fbe1c>
- other: <https://git.kernel.org/stable/c/1674e34fe61ad3f5585dc833ba6bb6522912e6a5>
- other: <https://git.kernel.org/stable/c/723d73b245843d4fff4c3f42e857c78c2b2d414e>
- other: <https://git.kernel.org/stable/c/a2a602cb1e28d76a5398cec3fa21b0110385f501>
- other: <https://git.kernel.org/stable/c/51a311eb97e91ce1aed3005cb71ccb2e30f8cce8>
- other: <https://git.kernel.org/stable/c/557ef547d49ff5e6026a4d39bdd3113bd81d7688>
- other: <https://git.kernel.org/stable/c/c27d13ce4bab80fbdf6523928071b6c24b37606c>

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

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