summaryrefslogtreecommitdiff
path: root/sound/ppc/snd_ps3_reg.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-11-25 15:20:25 +0100
committerTakashi Iwai <tiwai@suse.de>2024-11-25 15:48:05 +0100
commit20c0c49720dc4e205d4c1d64add56a5043c5ec5f (patch)
tree8370d88e83f945befd02af2a09d34a65dc72df36 /sound/ppc/snd_ps3_reg.h
parent5ebe792a5139f1ce6e4aed22bef12e7e2660df96 (diff)
ALSA: rawmidi: Fix kvfree() call in spinlock
At the conversion of locking with guard(), I overlooked that kvfree() must not be called inside the spinlock unlike kfree(), and this was caught by syzkaller now. This patch reverts the conversion partially for restoring the kvfree() call outside the spinlock. It's not trivial to use guard() in this context, unfortunately. Fixes: 84bb065b316e ("ALSA: rawmidi: Use guard() for locking") Reported-by: syzbot+351f8764833934c68836@syzkaller.appspotmail.com Reported-by: Eric Dumazet <eric.dumazet@gmail.com> Closes: https://lore.kernel.org/6744737b.050a0220.1cc393.007e.GAE@google.com Cc: <stable@vger.kernel.org> Link: https://patch.msgid.link/20241125142041.16578-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/ppc/snd_ps3_reg.h')
0 files changed, 0 insertions, 0 deletions