Commit 5f0a657e authored by Takashi Iwai's avatar Takashi Iwai Committed by Zheng Zengkai
Browse files

ALSA: timer: Use deferred fasync helper

stable inclusion
from stable-v5.10.138
commit 658bc550a4ec7116e345a84f51c5de436b81e6c9
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I60QFD

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=658bc550a4ec7116e345a84f51c5de436b81e6c9



--------------------------------

[ Upstream commit 95cc637c ]

For avoiding the potential deadlock via kill_fasync() call, use the
new fasync helpers to defer the invocation from PCI API.  Note that
it's merely a workaround.

Reported-by: default avatar <syzbot+1ee0910eca9c94f71f25@syzkaller.appspotmail.com>
Reported-by: default avatar <syzbot+49b10793b867871ee26f@syzkaller.appspotmail.com>
Reported-by: default avatar <syzbot+8285e973a41b5aa68902@syzkaller.appspotmail.com>
Link: https://lore.kernel.org/r/20220728125945.29533-3-tiwai@suse.de


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
parent d6249ca0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment