Skip to content
Snippets Groups Projects
user avatar
Takashi Iwai authored
The SNDRV_RAWMIDI_IOCTL_PARAMS ioctl may resize the buffers and the
current code is racy.  For example, the sequencer client may write to
buffer while it being resized.

As a simple workaround, let's switch to the resized buffer inside the
stream runtime lock.

Reported-by: default avatar <syzbot+52f83f0ea8df16932f7f@syzkaller.appspotmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
39675f7a
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Name Last commit Last update
..