CVE-2026-74387

HIGHPre-NVD 7.87.8
EchelonGraph scoreHIGH confidence

Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2026-08-15. a secondary CVSS source baseline 7.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, secondary
Trending — 5 sources updated this week
7.8EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 7.8Exploit: None knownExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

In the Linux kernel, the following vulnerability has been resolved:

ALSA: seq: midi: Serialize output teardown with event_input

event_process_midi() borrows msynth->output_rfile.output and then passes the substream to dump_midi() and snd_rawmidi_kernel_write() without synchronizing with the output open/close transition. midisynth_use() also publishes output_rfile before snd_rawmidi_output_params() has finished.

The last midisynth_unuse() can therefore release the same rawmidi file and free substream->runtime before snd_rawmidi_kernel_write1() takes its runtime buffer reference. That leaves the event_input path using a stale substream or runtime and can end in a NULL-deref or use-after-free.

Fix this with two pieces of synchronization. Keep a short IRQ-safe spinlock only for publishing or clearing output_rfile and for pairing the output snapshot with an snd_use_lock_t reference. Once event_process_midi() has taken that in-flight reference, it drops the spinlock before calling snd_seq_dump_var_event(), dump_midi(), or snd_rawmidi_kernel_write(). midisynth_unuse() now detaches the visible rawmidi file under the same spinlock, waits for the in-flight writers to drain, and only then drains and releases the saved file. midisynth_use() likewise opens into a local snd_rawmidi_file and publishes it only after snd_rawmidi_output_params() succeeds.

The buggy scenario involves two paths, with each column showing the order within that path:

event_input path: last unuse path:

  • event_process_midi() snapshots 1. midisynth_unuse() starts
output_rfile.output. tearing down output_rfile.
  • dump_midi() reaches 2. snd_rawmidi_kernel_release()
snd_rawmidi_kernel_write() closes the output file. before runtime is pinned. 3. close_substream() frees
  • The callback keeps using substream->runtime.
the borrowed substream.

Validation reproduced this kernel report: KASAN null-ptr-deref in snd_rawmidi_kernel_write1+0x56/0x360 RIP: 0033:0x7fde7dd0837f RIP: 0010:snd_rawmidi_kernel_write1+0x56/0x360

CVSS v3
7.8
EG Score
7.8(high)
EG Risk
40(Track)
EG Risk 40/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity78% × 45%
Exploitation0% × 40%
Automatability30% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
0%
EPSS %ILE
3%
KEV
Not listed

Published

August 15, 2026

Last Modified

August 17, 2026

Advisory Details (6)

Auto-updated Aug 17, 2026
No patch confirmed yet.
generic

ALSA: seq: midi: Serialize output teardown with event_input - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/f5d470b808bc01f70978e22e595c6f7768313406
generic

ALSA: seq: midi: Serialize output teardown with event_input - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/ef7607ab1c8adc6258fb1b27d08e26aecdc18a58
generic

ALSA: seq: midi: Serialize output teardown with event_input - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/d6fd2afb137f52bf00c5210cc44d08ed54dcffb4
generic

ALSA: seq: midi: Serialize output teardown with event_input - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/936641af564c3d92721704b781e36aaf223efdd2
generic

ALSA: seq: midi: Serialize output teardown with event_input - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/718f6a56b40875f19e6915799044a02df9abfd52
generic

ALSA: seq: midi: Serialize output teardown with event_input - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/11165fe2c5ea0516debe486d91df67abbe36905e

Vendor Advisories for CVE-2026-74387(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Data Freshness Timeline

(refreshed 29× in last 7d / 29× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-08-20 22:56 UTCEPSS rescore
  2. 2026-08-20 21:42 UTCGHSA enrichment
  3. 2026-08-20 09:14 UTCGHSA enrichment
  4. 2026-08-19 20:45 UTCEG score recompute
  5. 2026-08-19 20:45 UTCGHSA enrichment
  6. 2026-08-19 17:04 UTCEPSS rescore
  7. 2026-08-19 08:18 UTCGHSA enrichment
  8. 2026-08-18 19:51 UTCEG score recompute
  9. 2026-08-18 19:51 UTCGHSA enrichment
  10. 2026-08-18 13:49 UTCEPSS rescore
  11. 2026-08-18 13:49 UTCEPSS rescore
  12. 2026-08-18 07:24 UTCGHSA enrichment
  13. 2026-08-17 18:57 UTCEG score recompute
  14. 2026-08-17 18:56 UTCGHSA enrichment
  15. 2026-08-17 13:47 UTCEPSS rescore
  16. 2026-08-17 06:26 UTCEG score recompute
  17. 2026-08-17 06:26 UTCGHSA enrichment
  18. 2026-08-17 05:56 UTCEG score recompute 7.80
  19. 2026-08-17 05:56 UTCGHSA enrichment
  20. 2026-08-17 05:54 UTCMITRE cvelistV5CVSS v3 → 7.8 · severity → HIGH
  21. 2026-08-17 05:26 UTCEG score recompute
  22. 2026-08-17 05:26 UTCGHSA enrichment
  23. 2026-08-17 05:25 UTCMITRE cvelistV5
  24. 2026-08-16 14:56 UTCEPSS rescore
  25. 2026-08-16 14:56 UTCEPSS rescore
Show 4 more
  1. 2026-08-16 02:15 UTCEPSS rescore
  2. 2026-08-15 06:23 UTCNVD update
  3. 2026-08-15 06:14 UTCEG score recompute
  4. 2026-08-15 06:12 UTCMITRE cvelistV5first tracked

Frequently asked(5)

What is CVE-2026-74387?
CVE-2026-74387 is a high vulnerability published on August 15, 2026. In the Linux kernel, the following vulnerability has been resolved: ALSA: seq: midi: Serialize output teardown with event_input eventprocessmidi() borrows msynth->output_rfile.output and then passes the substream to dumpmidi() and sndrawmidikernelwrite() without synchronizing with the output…
When was CVE-2026-74387 disclosed?
CVE-2026-74387 was first published in the National Vulnerability Database on August 15, 2026, with the most recent update on August 17, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-74387 actively exploited?
CVE-2026-74387 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 97.3% of all scored CVEs.
What is the CVSS score of CVE-2026-74387?
CVE-2026-74387 has a CVSS v3 base score of 7.8 (NVD).
How do I remediate CVE-2026-74387?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-74387, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-74387

Explore →

Is Your Infrastructure Affected by CVE-2026-74387?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.