From: Jarkko Nikula Date: Thu, 24 Apr 2014 07:34:36 +0000 (+0300) Subject: ASoC: Intel: Cancel hsw_notification_work before freeing the stream X-Git-Tag: omap-for-v3.16/fixes-against-rc1~177^2~1^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de30a2ccb20d9baf5dac8a9c8ba8f0d9d5f4361e;p=pandora-kernel.git ASoC: Intel: Cancel hsw_notification_work before freeing the stream I suppose there is a possibility that hsw_notification_work() may run after sst_hsw_stream_free() which can lead to a kernel crash since struct sst_hsw_stream is freed at that point and stream = container_of(work, struct sst_hsw_stream, notify_work) is not valid when hsw_notification_work() is run. Reported-by: Derek Basehore Reported-by: Wenkai Du Signed-off-by: Jarkko Nikula Signed-off-by: Mark Brown --- Reading git-diff-tree failed