diff options
| author | 2021-07-20 11:28:27 +0200 | |
|---|---|---|
| committer | 2021-09-30 10:07:40 +0200 | |
| commit | 36b9d695aa6fb8e9a312db21af41f90824d16ab4 (patch) | |
| tree | 3775d5bbc7d4a6351cec3e8f4fb9592a369b2ce2 /include/uapi/linux/errqueue.h | |
| parent | media: cxd2880-spi: Fix a null pointer dereference on error handling path (diff) | |
media: ttusb-dec: avoid release of non-acquired mutex
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: dba328bab4c6 ("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>
Diffstat (limited to 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
