In the Linux kernel, the following vulnerability has been resolved: usb: gadget: fmidi: fix UAF race during IN request handling…
CVE-2026-142986
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: fmidi: fix UAF race during IN request handling fmididisable() drains and frees pre-allocated IN requests from inreqfifo without holding midi->transmitlock. If fmiditransmit() runs concurrently on the workqueue, fmididotransmit() can peek a request from inreqfifo and write into its buffer while fmididisable() frees it, leading to a use-after-free. Additionally, when usbepqueue() fails in fmididotransmit() (such as with -ESHUTDOWN when the endpoint is disabled concurrently), it resets req->length = 0 and returns active instead of the error code, causing the do-while loop in fmiditransmit() to keep spinning under midi->transmitlock until the substream is drained. Fix this by acquiring midi->transmitlock in fmididisable() while releasing IN requests from inreqfifo, and returning the error code from fmididotransmit() when usbepqueue() fails so fmiditransmit() aborts immediately and drops active substreams.
Assessment
- CVSS
- Not yet scored
- Severity
- Unscored
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 3 December 2026
- Last updated
- 3 December 2026
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
At the source
References
- https://git.kernel.org/stable/c/41b3f72bc94c7701c322fe7c390edd7d2ec1ee38
- https://git.kernel.org/stable/c/78a8d6537f1de34770e460edee360b556ef40427
- https://git.kernel.org/stable/c/bf132239a705c7d3672c3d7086ac911bac23ebf4
- https://git.kernel.org/stable/c/d5e34684b1cdf9635f5c73e1c8ca02c886a81796
- https://git.kernel.org/stable/c/dc15fd316ac860b6904689941bb14527554e8a96
- https://git.kernel.org/stable/c/e43bc0f68b596a20fe7d4b65231e7d27192d5bb5
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-142986