Linux Kernel ALSA Line6 MIDI Buffer Overflow Vulnerability

Vulnerability

A buffer overflow vulnerability has been addressed in the Linux kernel's ALSA Line6 MIDI driver. This issue occurred in versions prior to the patch and involved a stack overflow in the 'line6_midi_transmit' function. The vulnerability was triggered when multiple MIDI System Exclusive (sysex) messages were sent to a PODxt device, leading to a stack overflow. The root cause was an incorrect calculation of the available buffer space, which failed to account for the size of the chunk buffer. The vulnerability has been fixed by properly calculating the available space, including the chunk buffer size.

Impact

Exploitation of this vulnerability could lead to a stack overflow, potentially allowing for arbitrary code execution or causing a denial-of-service condition by crashing the system.

Reproduction

The vulnerability can be reproduced by sending multiple MIDI sysex messages to a PODxt device using a Line6 USB interface. The 'line6_midi_transmit' function in the ALSA USB Line6 MIDI driver will incorrectly calculate the available buffer space, leading to a stack overflow.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been patched. Instructions for downloading the patched version can be found in the Linux kernel documentation.

Added: Dec 24, 2025, 6:10 PM
Updated: Dec 24, 2025, 6:10 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.7
remediation
7.7
relevance
1.5
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.