CVE-2026-64583: usb: gadget: udc: bdc: free IRQ and drain func_wake_notify before teardown
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.11% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 0583f2fbf8f86ae3a0ce054f96783dd83e65d9bb, 0b0b76e31b3991a899ae724eb97d359de0c0f1b1, 1a1d7158420df6b8fa1efc0cdd6ab704801a4fc8.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to Linux Linux 0583f2fbf8f86ae3a0ce054f96783dd83e65d9bb, 0b0b76e31b3991a899ae724eb97d359de0c0f1b1, 1a1d7158420df6b8fa1efc0cdd6ab704801a4fc8 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: udc: bdc: free IRQ and drain func_wake_notify before teardown The Broadcom BDC UDC driver registers its IRQ handler with devm_request_irq() in bdc_udc_init(), so the IRQ is released by devm only after bdc_remove() returns. devm releases resources in reverse LIFO order, but bdc_remove() runs bdc_udc_exit() and bdc_hw_exit() -> bdc_mem_free() manually before returning: bdc_udc_exit() tears down individual endpoint objects via bdc_free_ep(), while bdc_hw_exit() -> bdc_mem_free() frees and NULLs the DMA-coherent status-report ring (bdc->srr.sr_bds) and kfree()s bdc->bdc_ep_array. Both happen while the IRQ handler (bdc_udc_interrupt, requested with IRQF_SHARED) remains deliverable in the window up to the post-remove devm free_irq(). On receipt of a shared interrupt in that window, bdc_udc_interrupt() dereferences bdc->srr.sr_bds[bdc->srr.dqp_index] (NULL or freed DMA) and dispatches sr_handler callbacks that index into bdc_ep_array, causing a NULL-deref or use-after-free. The same window affects the delayed_work bdc->func_wake_notify, which is armed from the IRQ handler via bdc_sr_uspc() -> handle_link_state_change() -> schedule_delayed_work() and may self-rearm from its own callback bdc_func_wake_timer(). No cancel exists anywhere in the driver, so a queued work item that fires after bdc_remove() returns and the bdc structure is devm-freed dereferences freed memory. Replace devm_request_irq() with request_irq() and add an explicit free_irq(bdc->irq, bdc) in bdc_remove(). Clear BDC_GIE before free_irq() to stop the device from asserting interrupts, then free_irq() drains any in-flight handler, then cancel_delayed_work_sync() drains the func_wake_notify delayed work. This ordering ensures the IRQ handler and delayed work cannot interfere with the subsequent endpoint and DMA teardown in bdc_udc_exit() and bdc_hw_exit(). Wire the matching free_irq() into the bdc_udc_init() error path so the IRQ is released on probe failure, and route the bdc_init_ep() failure through err0 instead of returning directly. This issue was found by an in-house static analysis tool.
- Published
- Aug 6, 2026
- Updated
- Aug 23, 2026
- EPSS
- 0.1% · 1th percentile
- CWE
- —
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
CNA vs NVD score
- NVD
- —
- CNA · Linux
- 7.8
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 3.19affected
- efed421a94e62a7ddbc76acba4312b70e4be958f and later · before eac1107e54679db2df2c36d8bba3b66d3ab6cbcdaffected · git
- efed421a94e62a7ddbc76acba4312b70e4be958f and later · before 0b0b76e31b3991a899ae724eb97d359de0c0f1b1affected · git
- efed421a94e62a7ddbc76acba4312b70e4be958f and later · before 3fe181952b8a1aeb167d4503c794c0f5050f08edaffected · git
- efed421a94e62a7ddbc76acba4312b70e4be958f and later · before 1a1d7158420df6b8fa1efc0cdd6ab704801a4fc8affected · git
- efed421a94e62a7ddbc76acba4312b70e4be958f and later · before f6fc21ec7ccd83726ba766d73d0b8cc03e726475affected · git
- efed421a94e62a7ddbc76acba4312b70e4be958f and later · before dcf3e2f164435b5844706cb8eefef29ebee0eedbaffected · git
- efed421a94e62a7ddbc76acba4312b70e4be958f and later · before d4964a74717107697999f48bcb4e80a9c0679a27affected · git
- efed421a94e62a7ddbc76acba4312b70e4be958f and later · before 0583f2fbf8f86ae3a0ce054f96783dd83e65d9bbaffected · git
- before 3.19not affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.187-1 | 6.1.187-1 |
| Debian:12 | linux-6.12 | before 6.12.101-1~deb12u1 | 6.12.101-1~deb12u1 |
| Debian:13 | linux | before 6.12.101-1 | 6.12.101-1 |
| Debian:14 | linux | before 7.1.6-1 | 7.1.6-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-74705udp: fix potential use-after-free in tunnel segmentation40Plan
- CVE-2026-74612veth: fix skb length accounting after XDP frag adjustment40Plan
- CVE-2026-74475vxlan: use neigh_ha_snapshot() in route_shortcircuit()40Plan
Published before and after this one in the same product
- ← EarlierCVE-2026-64581Aug 5, 2026 · xfrm: fix sk_dst_cache double-free in xfrm_user_policy()31Monitor
- ← EarlierCVE-2026-64582Aug 5, 2026 · RDMA/rxe: Fix a use-after-free problem in rxe_mmap31Monitor
- Later →CVE-2026-64584Aug 6, 2026 · usb: gadget: f_midi: cancel pending IN work before freeing the midi object31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 0583f2fbf8f86ae3a0ce054f96783dd83e65d9bb | Vendor (CNA) |
| Linux Linux | 0b0b76e31b3991a899ae724eb97d359de0c0f1b1 | Vendor (CNA) |
| Linux Linux | 1a1d7158420df6b8fa1efc0cdd6ab704801a4fc8 | Vendor (CNA) |
| Linux Linux | 3fe181952b8a1aeb167d4503c794c0f5050f08ed | Vendor (CNA) |
| Linux Linux | d4964a74717107697999f48bcb4e80a9c0679a27 | Vendor (CNA) |
| Linux Linux | dcf3e2f164435b5844706cb8eefef29ebee0eedb | Vendor (CNA) |
| Linux Linux | eac1107e54679db2df2c36d8bba3b66d3ab6cbcd | Vendor (CNA) |
| Linux Linux | f6fc21ec7ccd83726ba766d73d0b8cc03e726475 | Vendor (CNA) |
| debian:linux | 6.1.187-1 · Debian:12 | Package registry (OSV) |
| debian:linux-6.12 | 6.12.101-1~deb12u1 · Debian:12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-26-0780 · Aug 7, 2026(Linux Kernel Güvenlik Bildirimi)
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
—
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- git.kernel.org/stable/c/0b0b76e31b3991a899ae724eb97d359de0c0f1b1
- git.kernel.org/stable/c/1a1d7158420df6b8fa1efc0cdd6ab704801a4fc8
- git.kernel.org/stable/c/3fe181952b8a1aeb167d4503c794c0f5050f08ed
- git.kernel.org/stable/c/d4964a74717107697999f48bcb4e80a9c0679a27
- git.kernel.org/stable/c/dcf3e2f164435b5844706cb8eefef29ebee0eedb
- git.kernel.org/stable/c/eac1107e54679db2df2c36d8bba3b66d3ab6cbcd
- git.kernel.org/stable/c/f6fc21ec7ccd83726ba766d73d0b8cc03e726475
Vendor advisories and official records. Exploit/PoC links are deliberately left out.