summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-12-30 14:05:35 +0300
committerTakashi Iwai <tiwai@suse.de>2024-12-30 14:06:28 +0300
commit0179488ca992d79908b8e26b9213f1554fc5bacc (patch)
treec0907634866b42a8b4e1fa9d8cdda480da51a030 /tools/perf/scripts/python
parent7439b395211874e20c24b2fe0e4903864357a3f5 (diff)
downloadlinux-0179488ca992d79908b8e26b9213f1554fc5bacc.tar.xz
ALSA: seq: oss: Fix races at processing SysEx messages
OSS sequencer handles the SysEx messages split in 6 bytes packets, and ALSA sequencer OSS layer tries to combine those. It stores the data in the internal buffer and this access is racy as of now, which may lead to the out-of-bounds access. As a temporary band-aid fix, introduce a mutex for serializing the process of the SysEx message packets. Reported-by: Kun Hu <huk23@m.fudan.edu.cn> Closes: https://lore.kernel.org/2B7E93E4-B13A-4AE4-8E87-306A8EE9BBB7@m.fudan.edu.cn Cc: <stable@vger.kernel.org> Link: https://patch.msgid.link/20241230110543.32454-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions