Use-after-free in Linux kernel - CVE-2026-74387

 

Use-after-free in Linux kernel - CVE-2026-74387

Published: August 15, 2026


Vulnerability identifier: #VU142761
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-74387
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to cause a denial of service or execute arbitrary code.

The vulnerability exists due to use-after-free in the ALSA sequencer MIDI output handling in sound/core/seq/seq_midi.c when processing MIDI sequencer events during concurrent output teardown. A local user can trigger concurrent event processing and output teardown to cause a denial of service or execute arbitrary code.

The issue occurs because the event_input path can keep using a stale substream or runtime after the last unuse path releases the rawmidi file.


Affected software

Linux kernel
SUSE Linux Micro Extras
SUSE Linux Micro
Anolis OS
Ubuntu
linux (Ubuntu package)
linux-lowlatency (Ubuntu package)
linux-raspi (Ubuntu package)
linux-azure (Ubuntu package)
linux-gcp (Ubuntu package)
linux-aws (Ubuntu package)
linux-ibm (Ubuntu package)
linux-oracle (Ubuntu package)
linux-azure-fde (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-realtime (Ubuntu package)
linux-hwe-6.8 (Ubuntu package)
linux-lowlatency-hwe-6.8 (Ubuntu package)
linux-fips (Ubuntu package)
linux-azure-fde-6.8 (Ubuntu package)
linux-oracle-6.8 (Ubuntu package)
linux-azure-6.8 (Ubuntu package)
linux-aws-6.8 (Ubuntu package)
linux-nvidia-tegra (Ubuntu package)
linux-nvidia-lowlatency (Ubuntu package)
linux-gkeop (Ubuntu package)
linux-nvidia-6.8 (Ubuntu package)
linux-gke (Ubuntu package)
linux-ibm-6.8 (Ubuntu package)
linux-gcp-6.8 (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-gcp-fips (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-realtime-6.8 (Ubuntu package)
linux-nvidia-bos (Ubuntu package)
linux-hwe-7.0 (Ubuntu package)
linux-oracle-7.0 (Ubuntu package)
linux-gcp-7.0 (Ubuntu package)
linux-oem-7.0 (Ubuntu package)
linux-aws-7.0 (Ubuntu package)
linux-nvidia-7.0 (Ubuntu package)
python3-perf
kernel-debug-core
kernel-debug
kernel-core
kernel
bpftool
kernel-debug-devel
kernel-debug-modules
kernel-debug-modules-extra
kernel-debug-modules-internal
kernel-devel
kernel-headers
kernel-modules
kernel-modules-extra
kernel-modules-internal
kernel-tools-libs-devel
kernel-tools-libs
perf
kernel-tools
kernel-default-devel
kernel-default-devel-debuginfo
kernel-default-debugsource
kernel-obs-build-debugsource
kernel-obs-build
kernel-syms
kernel-64kb-devel
kernel-64kb-debugsource
kernel-64kb
kernel-default
linux-azure-7.0 (Ubuntu package)

How to mitigate CVE-2026-74387

Install security update from vendor's repository.

Linux kernel - update to 7.0 rc3
linux (Ubuntu package) - addressed in versions 6.8.0-147.147, 7.0.0-38.38
linux-lowlatency (Ubuntu package) - update to 6.8.0-147.147.1
linux-raspi (Ubuntu package) - addressed in versions 6.8.0-1068.72, 7.0.0-1023.23
linux-azure (Ubuntu package) - addressed in versions 6.8.0-1071.79, 7.0.0-1016.16, 7.0.0-1017.17
linux-gcp (Ubuntu package) - addressed in versions 6.8.0-1071.79, 7.0.0-1014.14
linux-aws (Ubuntu package) - addressed in versions 6.8.0-1067.70, 7.0.0-1014.14
linux-ibm (Ubuntu package) - addressed in versions 6.8.0-1067.68, 7.0.0-1015.15
linux-oracle (Ubuntu package) - addressed in versions 6.8.0-1064.67, 7.0.0-1013.13
linux-azure-fde (Ubuntu package) - update to 6.8.0-1069.76
linux-nvidia (Ubuntu package) - addressed in versions 6.8.0-1067.70, 7.0.0-1025.26
linux-realtime (Ubuntu package) - addressed in versions 6.8.1-1062.63, 7.0.0-38.38.1
linux-hwe-6.8 (Ubuntu package) - update to 6.8.0-149.149~22.04.1
linux-lowlatency-hwe-6.8 (Ubuntu package) - update to 6.8.0-149.149.1~22.04.1
linux-fips (Ubuntu package) - update to 6.8.0-147.147+fips1
linux-azure-fde-6.8 (Ubuntu package) - update to 6.8.0-1071.78~22.04.1
linux-oracle-6.8 (Ubuntu package) - update to 6.8.0-1067.71~22.04.1
linux-azure-6.8 (Ubuntu package) - update to 6.8.0-1073.82~22.04.1
linux-aws-6.8 (Ubuntu package) - update to 6.8.0-1069.74~22.04.1
linux-nvidia-tegra (Ubuntu package) - update to 6.8.0-1036.39
linux-nvidia-lowlatency (Ubuntu package) - update to 6.8.0-1067.70.1
linux-gkeop (Ubuntu package) - update to 6.8.0-1052.56
linux-nvidia-6.8 (Ubuntu package) - update to 6.8.0-1068.71~22.04.1
linux-gke (Ubuntu package) - addressed in versions 6.8.0-1066.74, 7.0.0-1008.9
linux-ibm-6.8 (Ubuntu package) - update to 6.8.0-1069.70~22.04.1
linux-gcp-6.8 (Ubuntu package) - update to 6.8.0-1073.81~22.04.1
linux-aws-fips (Ubuntu package) - update to 6.8.0-1067.70+fips1
linux-gcp-fips (Ubuntu package) - update to 6.8.0-1071.79+fips1
linux-azure-fips (Ubuntu package) - update to 6.8.0-1071.79+fips1
linux-raspi-realtime (Ubuntu package) - update to 6.8.0-2056.58
linux-realtime-6.8 (Ubuntu package) - update to 6.8.1-1064.65~22.04.1
linux-nvidia-bos (Ubuntu package) - update to 7.0.0-2022.23
linux-hwe-7.0 (Ubuntu package) - update to 7.0.0-38.38~24.04.4
linux-oracle-7.0 (Ubuntu package) - update to 7.0.0-1013.13~24.04.1
linux-gcp-7.0 (Ubuntu package) - update to 7.0.0-1014.14~24.04.1
linux-oem-7.0 (Ubuntu package) - update to 7.0.0-1015.15
linux-aws-7.0 (Ubuntu package) - update to 7.0.0-1014.14~24.04.1
linux-nvidia-7.0 (Ubuntu package) - update to 7.0.0-1024.25~24.04.1
python3-perf - update to 5.10.134-20.2
kernel-debug-core - update to 5.10.134-20.2
kernel-debug - update to 5.10.134-20.2
kernel-core - update to 5.10.134-20.2
kernel - update to 5.10.134-20.2
bpftool - update to 5.10.134-20.2
kernel-debug-devel - update to 5.10.134-20.2
kernel-debug-modules - update to 5.10.134-20.2
kernel-debug-modules-extra - update to 5.10.134-20.2
kernel-debug-modules-internal - update to 5.10.134-20.2
kernel-devel - update to 5.10.134-20.2
kernel-headers - update to 5.10.134-20.2
kernel-modules - update to 5.10.134-20.2
kernel-modules-extra - update to 5.10.134-20.2
kernel-modules-internal - update to 5.10.134-20.2
kernel-tools-libs-devel - update to 5.10.134-20.2
kernel-tools-libs - update to 5.10.134-20.2
perf - update to 5.10.134-20.2
kernel-tools - update to 5.10.134-20.2
kernel-default-devel - update to 6.4.0-159998.55.1
kernel-default-devel-debuginfo - update to 6.4.0-159998.55.1
kernel-default-debugsource - update to 6.4.0-159998.55.1
kernel-obs-build-debugsource - update to 6.4.0-159998.55.1
kernel-obs-build - update to 6.4.0-159998.55.1
kernel-syms - update to 6.4.0-159998.55.1
kernel-64kb-devel - update to 6.4.0-159998.55.1
kernel-64kb-debugsource - update to 6.4.0-159998.55.1
kernel-64kb - update to 6.4.0-159998.55.1
kernel-default - update to 6.4.0-159998.55.1
linux-azure-7.0 (Ubuntu package) - addressed in versions 7.0.0-1016.16~24.04.1, 7.0.0-1017.17~24.04.1

External References

Related Security Bulletins