Bug 2536701 (CVE-2026-90207) - CVE-2026-90207 kernel: ALSA: seq: midi: Serialize input teardown with event_input
Summary: CVE-2026-90207 kernel: ALSA: seq: midi: Serialize input teardown with event_i...
Keywords:
Status: NEW
Alias: CVE-2026-90207
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-17 19:09 UTC by OSIDB Bzimport
Modified: 2026-11-30 17:12 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:102895 0 None None None 2026-11-30 17:12:21 UTC
Red Hat Product Errata RHSA-2026:98099 0 None None None 2026-11-11 03:06:52 UTC
Red Hat Product Errata RHSA-2026:98100 0 None None None 2026-11-11 02:28:01 UTC
Red Hat Product Errata RHSA-2026:99133 0 None None None 2026-11-11 23:35:49 UTC
Red Hat Product Errata RHSA-2026:99135 0 None None None 2026-11-12 02:52:35 UTC
Red Hat Product Errata RHSA-2026:99139 0 None None None 2026-11-11 23:19:13 UTC
Red Hat Product Errata RHSA-2026:99148 0 None None None 2026-11-12 03:35:42 UTC

Description OSIDB Bzimport 2026-09-17 19:09:24 UTC
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/20260813144224.753399-1-tiwai@suse.de/

Comment 3 errata-xmlrpc 2026-11-11 02:28:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:98100 https://access.redhat.com/errata/RHSA-2026:98100

Comment 4 errata-xmlrpc 2026-11-11 03:06:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:98099 https://access.redhat.com/errata/RHSA-2026:98099

Comment 5 errata-xmlrpc 2026-11-11 23:19:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.2 Extended Update Support

Via RHSA-2026:99139 https://access.redhat.com/errata/RHSA-2026:99139

Comment 6 errata-xmlrpc 2026-11-11 23:35:46 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:99133 https://access.redhat.com/errata/RHSA-2026:99133

Comment 7 errata-xmlrpc 2026-11-12 02:52:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:99135 https://access.redhat.com/errata/RHSA-2026:99135

Comment 8 errata-xmlrpc 2026-11-12 03:35:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.8 Extended Update Support

Via RHSA-2026:99148 https://access.redhat.com/errata/RHSA-2026:99148

Comment 9 errata-xmlrpc 2026-11-30 17:12:19 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 5.0

Via RHSA-2026:102895 https://access.redhat.com/errata/RHSA-2026:102895


Note You need to log in before you can comment on or make changes to this bug.