android_kernel_oneplus_msm8998/sound/soc
Srinivas Kandagatla 9472c65a17 ASoC: dapm: delete dapm_kcontrol_data paths list before freeing it
commit ff2faf1289c1f81b5b26b9451dd1c2006aac8db8 upstream.

dapm_kcontrol_data is freed as part of dapm_kcontrol_free(), leaving the
paths pointer dangling in the list.

This leads to system crash when we try to unload and reload sound card.
I hit this bug during ADSP crash/reboot test case on Dragon board DB410c.

Without this patch, on SLAB Poisoning enabled build, kernel crashes with
"BUG kmalloc-128 (Tainted: G        W        ): Poison overwritten"

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-07-03 11:21:27 +02:00
..
adi
atmel ASoC: atmel-classd: fix audio clock rate 2017-04-08 09:53:31 +02:00
au1x ASoC: au1x: Fix timeout tests in au1xac97c_ac97_read() 2018-05-30 07:48:52 +02:00
bcm ASoC: bcm2835-i2s: Fix module autoload for OF platform drivers 2015-08-27 20:22:47 +01:00
blackfin ASoC: blackfin: Convert to devm_snd_soc_register_card 2015-09-14 18:32:58 +01:00
cirrus
codecs ASoC: ssm2602: Replace reg_default_raw with reg_default 2018-04-24 09:32:07 +02:00
davinci Merge remote-tracking branches 'asoc/fix/davinci', 'asoc/fix/es8328', 'asoc/fix/fsl-sai', 'asoc/fix/rockchip', 'asoc/fix/sgtl5000' and 'asoc/fix/wm8974' into asoc-linus 2015-12-23 00:23:27 +00:00
dwc Merge remote-tracking branches 'asoc/topic/dwc', 'asoc/topic/es8328', 'asoc/topic/fsl' and 'asoc/topic/fsl-card' into asoc-next 2015-10-26 11:16:03 +09:00
fsl ASoC: fsl_esai: Fix divisor calculation failure at lower ratio 2018-05-02 07:53:42 -07:00
generic ASoC: simple-card: Fix misleading error message 2018-02-16 20:09:36 +01:00
intel ASoC: Intel: sst: remove redundant variable dma_dev_name 2018-06-06 16:46:21 +02:00
jz4740 ASoC: jz4740: Fix module autoload for OF platform driver 2015-09-14 18:46:14 +01:00
kirkwood ASoC: kirkwood: Fix module autoload for OF platform driver 2015-09-14 18:46:28 +01:00
mediatek ASoC: mediatek: add i2c dependency 2018-02-25 11:03:48 +01:00
mxs ASoC: mxs-sgtl5000: Convert to devm_snd_soc_register_card 2015-09-14 18:33:17 +01:00
nuc900 ASoC: nuc900: Fix a loop timeout test 2018-03-22 09:23:29 +01:00
omap ASoC: omap-mcpdm: Fix irq resource handling 2016-10-07 15:23:46 +02:00
pxa ASoC: pxa: pxa-pcm-lib: switch over to snd-soc-dmaengine-pcm 2015-09-30 23:21:16 +01:00
qcom ASoC: qcom: change PTR_ERR argument 2015-09-17 11:36:19 +01:00
rockchip ASoC: rockchip: use __maybe_unused to hide st_irq_syscfg_resume 2018-02-25 11:03:49 +01:00
samsung ASoC: samsung: i2s: Ensure the RCLK rate is properly determined 2018-05-30 07:49:17 +02:00
sh ASoC: rsnd: SSI PIO adjust to 24bit mode 2018-04-13 19:50:11 +02:00
sirf
spear ASoC: SPEAr: Make SND_SPEAR_SOC select SND_SOC_GENERIC_DMAENGINE_PCM 2015-09-16 17:46:11 +01:00
sti ASoC: sti: set player private data 2015-11-19 17:49:35 +00:00
sunxi ASoC: sun4i-codec: return error code instead of NULL when create_card fails 2016-11-18 10:48:37 +01:00
tegra ASoC: tegra: Use devm_ioremap_resource instead of open code 2015-08-26 18:58:46 +01:00
txx9 ASoC: txx9: Convert to devm_snd_soc_register_platform 2015-08-28 18:09:04 +01:00
ux500 ASoC: ux500: add MODULE_LICENSE tag 2018-02-25 11:03:37 +01:00
xtensa ASoC: xtfpga-i2s: Add missing __rcu annotation 2015-07-29 15:07:54 +01:00
zte Merge remote-tracking branches 'asoc/topic/wm8996', 'asoc/topic/xtensa' and 'asoc/topic/zx296702' into asoc-next 2015-08-30 15:59:18 +01:00
Kconfig Merge remote-tracking branch 'asoc/topic/core' into asoc-next 2015-10-26 11:15:55 +09:00
Makefile Merge remote-tracking branch 'asoc/topic/core' into asoc-next 2015-10-26 11:15:55 +09:00
soc-ac97.c ASoC: ac97: Add support for resetting device before registration 2015-07-23 17:33:28 +01:00
soc-cache.c
soc-compress.c ASoC: compress: Derive substream from stream based on direction 2017-07-27 15:06:04 -07:00
soc-core.c ASoC: Fix use-after-free at card unregistration 2017-06-14 13:16:26 +02:00
soc-dapm.c ASoC: dapm: delete dapm_kcontrol_data paths list before freeing it 2018-07-03 11:21:27 +02:00
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-io.c
soc-jack.c ASoC: Updates for v4.2 2015-06-08 20:47:53 +02:00
soc-ops.c ASoC: fix kernel-doc warnings in sound/soc/soc-ops.c 2015-11-25 12:35:40 +00:00
soc-pcm.c ASoC: do not close shared backend dailink 2017-08-11 09:08:47 -07:00
soc-topology.c ASoC: topology: create TLV data for dapm widgets 2018-05-30 07:49:12 +02:00
soc-utils.c ASoC: Document snd-soc-dummy-dai purpose 2015-08-31 16:40:26 +01:00