aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core/timer.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2023-08-16 16:02:49 +0000
committerTakashi Iwai <[email protected]>2023-08-17 07:24:15 +0000
commitb53a41ee9c7281d961a29a3524bcaacfc9020dd5 (patch)
tree20ca5722761cbb42ebd95e9e5d19c4486078a76e /sound/core/timer.c
parentALSA: rawmidi: Don't embed device (diff)
downloadkernel-b53a41ee9c7281d961a29a3524bcaacfc9020dd5.tar.gz
kernel-b53a41ee9c7281d961a29a3524bcaacfc9020dd5.zip
ALSA: compress: Don't embed device
Embedding the struct device to snd_compr object may result in UAF when the delayed kobj release is used. Like other devices, let's detach the struct device from the snd_compr by allocating dynamically via snd_device_alloc(). Reviewed-by: Jaroslav Kysela <[email protected]> Signed-off-by: Curtis Malainey <[email protected]> Tested-by: Curtis Malainey <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'sound/core/timer.c')
0 files changed, 0 insertions, 0 deletions