aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-starfive.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2024-11-25 15:20:25 +0100
committerTakashi Iwai <[email protected]>2024-11-25 15:48:05 +0100
commit20c0c49720dc4e205d4c1d64add56a5043c5ec5f (patch)
tree8370d88e83f945befd02af2a09d34a65dc72df36 /drivers/usb/cdns3/cdns3-starfive.c
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: [email protected] Reported-by: Eric Dumazet <[email protected]> Closes: https://lore.kernel.org/[email protected] Cc: <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-starfive.c')
0 files changed, 0 insertions, 0 deletions