diff options
author | Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> | 2022-04-12 12:16:28 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-14 17:53:44 +0300 |
commit | 8487a88136d54a1a4d3f26f1399685db648ab879 (patch) | |
tree | 4860b972f960ab9910a126c6a67758960c8550d4 /Kconfig | |
parent | 209a3aef829a67e9256f7d00e3431f86b1da2567 (diff) | |
download | linux-8487a88136d54a1a4d3f26f1399685db648ab879.tar.xz |
ALSA: jack: Access input_dev under mutex
[ Upstream commit 1b6a6fc5280e97559287b61eade2d4b363e836f2 ]
It is possible when using ASoC that input_dev is unregistered while
calling snd_jack_report, which causes NULL pointer dereference.
In order to prevent this serialize access to input_dev using mutex lock.
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20220412091628.3056922-1-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions