summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-12-30 12:05:35 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-09 13:33:49 +0100
commit9d382112b36382aa65aad765f189ebde9926c101 (patch)
treeb249d25f682d9239e3818a37ebab4aad51939f58 /scripts/objdiff
parenta369c9b4ad5a18a37324b3c19e6945a4050eee3f (diff)
downloadlinux-9d382112b36382aa65aad765f189ebde9926c101.tar.gz
linux-9d382112b36382aa65aad765f189ebde9926c101.tar.bz2
linux-9d382112b36382aa65aad765f189ebde9926c101.zip
ALSA: seq: oss: Fix races at processing SysEx messages
commit 0179488ca992d79908b8e26b9213f1554fc5bacc upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions