CVE-2026-90207
published high CVSS 3.1 · 7.8ALSA: seq: midi: Serialize input teardown with event_input
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < de76a2b47582cd6dba2e15f024681bf377ecc94a · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 89d986897aff7275b42e075e556731b8353366af · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 6290afaae54c7a9fa3bca3b4d5433e6d83e8669d · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 210c193a9ef1312fab153948c6928e4cfaa1f03b · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 282a3ef9e4b63b2f6823bbbb3c1a90b002cdaf12 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 403f7f3ad3808a0096d84cf228fab68dc253fd9d · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 6.1.188 through 6.1.* (unaffected · semver) · 6.6.157 through 6.6.* (unaffected · semver) · 6.12.110 through 6.12.* (unaffected · semver) · 6.18.52 through 6.18.* (unaffected · semver) · 7.2.6 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 10 | kernel | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-64k | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-64k-core | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-64k-debug | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 10 | kernel-64k-debug-core | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-64k-debug-devel | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-64k-debug-devel-matched | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-64k-debug-modules | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-64k-debug-modules-core | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-64k-debug-modules-extra | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-64k-devel | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-64k-devel-matched | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-64k-modules | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-64k-modules-core | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-64k-modules-extra | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-core | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-cross-headers | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-debug | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-debug-core | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-debug-devel | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-debug-devel-matched | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-debug-modules | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-debug-modules-core | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-debug-modules-extra | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-debug-uki-virt | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-devel | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-devel-matched | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-headers | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-modules | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-modules-core | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-modules-extra | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-modules-extra-matched | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-64k | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-64k-core | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-64k-debug | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-64k-debug-core | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-64k-debug-devel | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules-core | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules-extra | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-64k-devel | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-64k-modules | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-64k-modules-core | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-64k-modules-extra | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-core | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-debug | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-debug-core | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-debug-devel | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-debug-modules | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-debug-modules-core | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-debug-modules-extra | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-devel | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-modules | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-modules-core | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-rt-modules-extra | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-tools | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-tools-libs | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-tools-libs-devel | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-uki-virt | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-uki-virt-addons | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-zfcpdump | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-zfcpdump-core | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-zfcpdump-devel | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-zfcpdump-devel-matched | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-zfcpdump-modules | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-zfcpdump-modules-core | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | kernel-zfcpdump-modules-extra | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | libperf | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | perf | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | python3-perf | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | rtla | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 10 | rv | Advisory build | 6.12.0-264.16.1.el10_3 | ALSA-2026:99133 |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.185.1.el8_10 | ALSA-2026:98099 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.185.1.el8_10 | ALSA-2026:98099 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.185.1.el8_10 | ALSA-2026:98099 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.185.1.el8_10 | ALSA-2026:98099 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.185.1.el8_10 | ALSA-2026:98099 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.185.1.el8_10 | ALSA-2026:98099 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.185.1.el8_10 | ALSA-2026:98099 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.185.1.el8_10 | ALSA-2026:98099 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.185.1.el8_10 | ALSA-2026:98099 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.185.1.el8_10 | ALSA-2026:98099 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.185.1.el8_10 | ALSA-2026:98099 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.185.1.el8_10 | ALSA-2026:98099 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.185.1.el8_10 | ALSA-2026:98099 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.185.1.el8_10 | ALSA-2026:98099 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.185.1.el8_10 | ALSA-2026:98099 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.185.1.rt7.526.el8_10 | ALSA-2026:98100 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.185.1.rt7.526.el8_10 | ALSA-2026:98100 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.185.1.rt7.526.el8_10 | ALSA-2026:98100 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.185.1.rt7.526.el8_10 | ALSA-2026:98100 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.185.1.rt7.526.el8_10 | ALSA-2026:98100 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.185.1.rt7.526.el8_10 | ALSA-2026:98100 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.185.1.rt7.526.el8_10 | ALSA-2026:98100 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.185.1.rt7.526.el8_10 | ALSA-2026:98100 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.185.1.rt7.526.el8_10 | ALSA-2026:98100 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.185.1.rt7.526.el8_10 | ALSA-2026:98100 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: seq: midi: Serialize input teardown with event_input snd_midi_input_event() must not be running while a rawmidi substream is closing, since this can lead to the trigger state becoming out-of-step through this sequence in snd_rawmidi_input_trigger(): snd_rawmidi_input_trigger(up=0) snd_midi_input_event() -> snd_rawmidi_kernel_read() -> snd_rawmidi_input_trigger(up=1) -> cancel_work_sync() which ends with the underlying device being active unexpectedly. When this is called from close_substream(), further input can re-trigger the input event leaving it running after rawmidi_release_priv() has set rfile->rmidi to NULL which leads to: Unable to handle kernel NULL pointer dereference at virtual address 00000000000000b0 Call trace: snd_midi_input_event+0x3c/0x134 [snd_seq_midi] (P) snd_rawmidi_input_event_work+0x1c/0x2c process_one_work+0x150/0x3a4 worker_thread+0x190/0x318 Apply a similar approach to commit ef7607ab1c8ad ("ALSA: seq: midi: Serialize output teardown with event_input") which fixed the same issue in the output direction, but updated to use RCU following Takashi Iwai's proposed follow-on patch [1]. With this change in place, midisynth_unsubscribe() clears the input file so snd_midi_input_event() will not re-trigger the stream and will be quiesced by the cancel_work_sync() in snd_rawmidi_input_trigger(). [1] https://lore.kernel.org/linux-sound/[email protected]/
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The race is reached from a local sequencer client: snd_seq_open() on /dev/snd/seq, SNDRV_SEQ_IOCTL_SUBSCRIBE_PORT (midisynth_subscribe) to open the rawmidi input, then SNDRV_SEQ_IOCTL_UNSUBSCRIBE_PORT or client close (midisynth_unsubscribe -> snd_rawmidi_kernel_release). Bytes that schedule snd_midi_input_event come from the bound rawmidi device, not a network or radio protocol. AC:L - The attacker owns teardown (last unsubscribe/close) and starts input by subscribing: midisynth_subscribe sets runtime->event to snd_midi_input_event and snd_rawmidi_kernel_read() triggers the device. Concurrent snd_midi_input_event can re-call snd_rawmidi_input_trigger(up=1) during close_substream's trigger(up=0)/cancel_work_sync window. Repeating subscribe/unsubscribe on that live port makes the race retryable. PR:L - snd_seq_open() has no capable() check. check_subscription_permission() allows any sequencer client to subscribe to seq_midi ports because they advertise SNDRV_SEQ_PORT_CAP_READ|SNDRV_SEQ_PORT_CAP_SUBS_READ. Typical DAC on /dev/snd/seq is audio-group/uaccess, so an unprivileged local user suffices; init-namespace root is not required. UI:N - The attacker opens their own /dev/snd/seq client, creates a destination port, issues SNDRV_SEQ_IOCTL_SUBSCRIBE_PORT to a seq_midi input port, and then unsubscribes or closes to run midisynth_unsubscribe. No other user must mount, click, or open a file. S:U - The UAF/NULL deref is in kernel rawmidi lifetime (close_substream/snd_rawmidi_runtime_free versus snd_rawmidi_input_event_work calling snd_midi_input_event). That is local kernel memory corruption in the same OS authority, not a VM, IOMMU, or sandbox escape. C:H - After cancel_work_sync, a re-triggered device can schedule runtime->event_work; close_substream then kfree()s snd_rawmidi_runtime while the work later does container_of() and calls runtime->event. Use-after-free of that heap object enables arbitrary reads via heap reuse of the freed runtime. I:H - The freed snd_rawmidi_runtime embeds event_work and the runtime->event function pointer that snd_rawmidi_input_event_work invokes. Heap spraying that object lets an attacker hijack the callback for arbitrary kernel write or control-flow hijack, not merely a one-shot crash. A:H - The reported crash is a NULL deref in snd_midi_input_event from snd_rawmidi_input_event_work after rawmidi_release_priv() nulls the file and close_substream frees runtime, which oopses the kernel and can be retried with subscribe/unsubscribe cycles.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < de76a2b47582cd6dba2e15f024681bf377ecc94a (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 89d986897aff7275b42e075e556731b8353366af (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 6290afaae54c7a9fa3bca3b4d5433e6d83e8669d (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 210c193a9ef1312fab153948c6928e4cfaa1f03b (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 282a3ef9e4b63b2f6823bbbb3c1a90b002cdaf12 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 403f7f3ad3808a0096d84cf228fab68dc253fd9d (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)6.1.188 through 6.1.* (unaffected · semver)6.6.157 through 6.6.* (unaffected · semver)6.12.110 through 6.12.* (unaffected · semver)6.18.52 through 6.18.* (unaffected · semver)7.2.6 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/210c193a9ef1312fab153948c6928e4cfaa1f03b
- https://git.kernel.org/stable/c/282a3ef9e4b63b2f6823bbbb3c1a90b002cdaf12
- https://git.kernel.org/stable/c/403f7f3ad3808a0096d84cf228fab68dc253fd9d
- https://git.kernel.org/stable/c/6290afaae54c7a9fa3bca3b4d5433e6d83e8669d
- https://git.kernel.org/stable/c/89d986897aff7275b42e075e556731b8353366af
- https://git.kernel.org/stable/c/de76a2b47582cd6dba2e15f024681bf377ecc94a
Provider assertions
1Linux · cna
ALSA: seq: midi: Serialize input teardown with event_input
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ce583a8d3aaa1f2cd97b796f6aacb70a3da1048fab8d20b0315d59b782dee1c1
- Ingested
- 19 Oct 2026, 09:08:15 UTC
- Source record
- Official CVE record