In the Linux kernel, the following vulnerability has been resolved: ALSA: rawmidi: Drain input work before freeing the runtime The input…
CVE-2026-139416
In the Linux kernel, the following vulnerability has been resolved: ALSA: rawmidi: Drain input work before freeing the runtime The input runtime embeds eventwork, so the work must be drained before closesubstream() frees the runtime. The cancellation in sndrawmidiinputtrigger() runs before close clears substream->opened, leaving a window for sndrawmidireceive() to enqueue more work. With a sequencer subscription to a USB MIDI input port, an in-flight completion can overlap the last subscription's midisynthunsubscribe(): 1. sndusbmidiinputdata() observes inputtriggered and is delayed before calling sndrawmidireceive(). 2. Unsubscribe enters closesubstream(), clears inputtriggered through the provider trigger callback and returns from cancelworksync(). The substream is still opened. 3. The completion resumes. sndrawmidireceive() takes substream->lock, sees opened set and queues runtime->eventwork before dropping the lock. 4. Close clears opened under that lock, closes the provider and frees the runtime. Stopping USB URBs does not drain the raw-MIDI work. 5. The queued work runs and sndrawmidiinputeventwork() reads event or substream from the freed runtime, causing a use-after-free.…
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
- 30 November 2026
- Last updated
- 30 November 2026
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
At the source
References
- https://git.kernel.org/stable/c/16ef7ce9f01ea9950b2186c48b14538dcb87da61
- https://git.kernel.org/stable/c/31fe24f97c1046ac0219b625eb5008ef31923e7b
- https://git.kernel.org/stable/c/48f7120813e8509dce98b4dd27c39ca80149d150
- https://git.kernel.org/stable/c/8c3529f0a8faaac7d73333486f69da1617ecc579
- https://git.kernel.org/stable/c/b4449d6b58b8a84ae1706775863f472765463bce
- https://git.kernel.org/stable/c/b8824d0fb9e515d9b0d5be78b4acc99f02981151
- https://git.kernel.org/stable/c/d2ee58c9cc55dc5f8a4b6e076d0dd29e55528ef9
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-139416