{"id":25616,"date":"2026-09-18T04:31:38","date_gmt":"2026-09-17T20:31:38","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-90207"},"modified":"2026-09-18T04:31:38","modified_gmt":"2026-09-17T20:31:38","slug":"cve-2026-90207","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-90207","title":{"rendered":"CVE-2026-90207 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: seq: midi: Seri"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ALSA: seq: midi: Serialize input teardown with event_input<\/p>\n<p>snd_midi_input_event() must not be running while a rawmidi substream is<br \/>\nclosing, since this can lead to the trigger state becoming out-of-step<br \/>\nthrough this sequence in snd_rawmidi_input_trigger():<\/p>\n<p>\tsnd_rawmidi_input_trigger(up=0)<br \/>\n\t\t\t\t\tsnd_midi_input_event()<br \/>\n\t\t\t\t\t -&gt; snd_rawmidi_kernel_read()<br \/>\n\t\t\t\t\t     -&gt; snd_rawmidi_input_trigger(up=1)<br \/>\n\t  -&gt; cancel_work_sync()<\/p>\n<p>which ends with the underlying device being active unexpectedly.<\/p>\n<p>When this is called from close_substream(), further input can re-trigger<br \/>\nthe input event leaving it running after rawmidi_release_priv() has set<br \/>\nrfile-&gt;rmidi to NULL which leads to:<\/p>\n<p>\tUnable to handle kernel NULL pointer dereference at virtual address 00000000000000b0<br \/>\n\tCall trace:<br \/>\n\t snd_midi_input_event+0x3c\/0x134 [snd_seq_midi] (P)<br \/>\n\t snd_rawmidi_input_event_work+0x1c\/0x2c<br \/>\n\t process_one_work+0x150\/0x3a4<br \/>\n\t worker_thread+0x190\/0x318<\/p>\n<p>Apply a similar approach to commit ef7607ab1c8ad (&#8220;ALSA: seq: midi:<br \/>\nSerialize output teardown with event_input&#8221;) which fixed the same issue<br \/>\nin the output direction, but updated to use RCU following Takashi Iwai&#8217;s<br \/>\nproposed follow-on patch [1].<\/p>\n<p>With this change in place, midisynth_unsubscribe() clears the input file<br \/>\nso snd_midi_input_event() will not re-trigger the stream and will be<br \/>\nquiesced by the cancel_work_sync() in snd_rawmidi_input_trigger().<\/p>\n<p>[1] https:\/\/lore.kernel.org\/linux-sound\/20260813144224.753399-1-tiwai@suse.de\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ALSA: seq: midi: Serialize input teardown with event_input<\/p>\n<p>snd_midi_input_event() must not be running while a rawmidi substream is<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-25616","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/25616","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=25616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}