android_kernel_motorola_sm6375/sound/hda
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ye Bin 02dea987ec ALSA: hda: fix potential memleak in 'add_widget_node'
commit 9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143 upstream.

As 'kobject_add' may allocated memory for 'kobject->name' when return error.
And in this function, if call 'kobject_add' failed didn't free kobject.
So call 'kobject_put' to recycling resources.

Signed-off-by: Ye Bin <[email protected]>
Cc: <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2022-11-25 17:42:08 +01:00
..
ext ALSA: hda: hdac_ext_stream: fix potential locking issues 2021-11-26 10:47:23 +01:00
array.c
hda_bus_type.c
hdac_bus.c ALSA: hda: Fix potential race in unsol event handler 2020-10-01 13:18:00 +02:00
hdac_component.c
hdac_controller.c ALSA: hda: avoid write to STATESTS if controller is in reset 2021-10-27 09:54:29 +02:00
hdac_device.c ALSA: hda/realtek - Add HW8326 support 2022-06-22 14:11:21 +02:00
hdac_i915.c
hdac_regmap.c
hdac_stream.c ALSA: hda: hdac_stream: fix potential locking issue in snd_hdac_stream_assign() 2021-11-26 10:47:23 +01:00
hdac_sysfs.c ALSA: hda: fix potential memleak in 'add_widget_node' 2022-11-25 17:42:08 +01:00
hdmi_chmap.c
intel-nhlt.c ALSA: hda: ignore invalid NHLT table 2021-03-30 14:35:20 +02:00
Kconfig
local.h
Makefile
trace.c
trace.h