CVE-2026-89738: usb: gadget: at91_udc: drain polled-VBUS timer/work before udc is freed
Vulnerability summary
CVE-2026-89738 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 9% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 32 · Related 27Timeline
- 11-09-2026PublishedVulnerability first disclosed.
- 30-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
9%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.17% on 21-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu169 products
- linuxAll versions (No fix recorded) | < 5.15.0-204.214 | < 6.8.0-149.149 | < 7.0.0-42.42
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1121.128 | < 6.8.0-1069.74 | < 7.0.0-1016.17
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian2 products
- linuxAll versions (No fix recorded) | < 6.1.192-1 | < 6.12.111-1 | < 7.2.6-1
- linux-6.12< 6.12.111-1~deb12u1
Linux1 product
- linux≥ 4037242c4f5ff77afe61bf07ca1e8a99490219e5, < 2440ce54b8c4c8aa6963c181eb56164a466fbe1c | ≥ 4037242c4f5ff77afe61bf07ca1e8a99490219e5, < 1674e34fe61ad3f5585dc833ba6bb6522912e6a5 | ≥ 4037242c4f5ff77afe61bf07ca1e8a99490219e5, < 723d73b245843d4fff4c3f42e857c78c2b2d414e | ≥ 4037242c4f5ff77afe61bf07ca1e8a99490219e5, < a2a602cb1e28d76a5398cec3fa21b0110385f501 | ≥ 4037242c4f5ff77afe61bf07ca1e8a99490219e5, < 51a311eb97e91ce1aed3005cb71ccb2e30f8cce8 | ≥ 4037242c4f5ff77afe61bf07ca1e8a99490219e5, < 557ef547d49ff5e6026a4d39bdd3113bd81d7688 | ≥ 4037242c4f5ff77afe61bf07ca1e8a99490219e5, < c27d13ce4bab80fbdf6523928071b6c24b37606c | 2.6.36
3 vendors · 172 products