title: ASoC: rt5645: Fix deadlock in rt5645_jack_detect_work()
description: In the Linux kernel, the following vulnerability has been resolved:
ASoC: rt5645: Fix deadlock in rt5645_jack_detect_work()
There is a path in rt5645_jack_detect_work(), where rt5645->jd_mutex
is left locked forever. That may lead to deadlock
when rt5645_jack_detect_work() is called for the second time.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
affected:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 48ce529c8352, lessThan: 3dd2d99e2352, status: affected, versionType: git
version: b67005b284dd, lessThan: 422d5243b9f7, status: affected, versionType: git
version: ffe13302b8fd, lessThan: 4a98bc739d07, status: affected, versionType: git
version: 7a3ff8a2bb26, lessThan: d14b8e2005f3, status: affected, versionType: git
version: 1613195bf31e, lessThan: 1f0d7792e902, status: affected, versionType: git
version: 8f82f2e4d9c4, lessThan: 050ad2ca0ac1, status: affected, versionType: git
version: cdba4301adda, lessThan: ed5b8b735369, status: affected, versionType: git
version: cdba4301adda, lessThan: 6ef5d5b92f71, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 6.7, status: affected
version: 0, lessThan: 6.7, status: unaffected, versionType: custom
version: 4.19.307, lessThanOrEqual: 4.19.*, status: unaffected, versionType: custom
version: 5.4.269, lessThanOrEqual: 5.4.*, status: unaffected, versionType: custom
version: 5.10.210, lessThanOrEqual: 5.10.*, status: unaffected, versionType: custom
version: 5.15.149, lessThanOrEqual: 5.15.*, status: unaffected, versionType: custom
version: 6.1.79, lessThanOrEqual: 6.1.*, status: unaffected, versionType: custom
version: 6.6.18, lessThanOrEqual: 6.6.*, status: unaffected, versionType: custom
version: 6.7.6, lessThanOrEqual: 6.7.*, status: unaffected, versionType: custom
version: 6.8, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
