CVE-2022-50719 ALSA: line6: fix stack overflow in line6_midi_transmit
A stack overflow in the ALSA line6 driver allows attackers to cause denial of service or execute code via crafted MIDI messages.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-50719?
CVE-2022-50719 is a high-severity memory corruption vulnerability in Linux, published on 24 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
ALSA: line6: fix stack overflow in line6_midi_transmit
Correctly calculate available space including the size of the chunk buffer. This fixes a buffer overflow when multiple MIDI sysex messages are sent to a PODxt device.
Which versions are affected by CVE-2022-50719?
How do I fix CVE-2022-50719?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-50719 being exploited?
There is no known exploitation of CVE-2022-50719 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2022-50719, GHSA-j6jv-hgrf-2v93, UBUNTU-CVE-2022-50719.