linux/drivers/media/usb/ttusb-dec
Evgeny Novikov 98cb3a055b media: ttusb-dec: avoid release of non-acquired mutex
[ Upstream commit 36b9d695aa ]

ttusb_dec_send_command() invokes mutex_lock_interruptible() that can
fail but then it releases the non-acquired mutex. The patch fixes that.

Found by Linux Driver Verification project (linuxtesting.org).

Fixes: dba328bab4 ("media: ttusb-dec: cleanup an error handling logic")
Signed-off-by: Evgeny Novikov <novikov@ispras.ru>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-18 19:16:27 +01:00
..
Kconfig
Makefile
ttusb_dec.c media: ttusb-dec: avoid release of non-acquired mutex 2021-11-18 19:16:27 +01:00
ttusbdecfe.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
ttusbdecfe.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00