Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c7df8f6 authored by Dmitry Antipov's avatar Dmitry Antipov Committed by Vegard Nossum
Browse files

Bluetooth: l2cap: always unlock channel in l2cap_conless_channel()



[ Upstream commit c531e63871c0b50c8c4e62c048535a08886fba3e ]

Add missing call to 'l2cap_chan_unlock()' on receive error handling
path in 'l2cap_conless_channel()'.

Fixes: a24cce14 ("Bluetooth: Fix reference counting of global L2CAP channels")
Reported-by: default avatar <syzbot+45ac74737e866894acb0@syzkaller.appspotmail.com>
Closes: https://syzkaller.appspot.com/bug?extid=45ac74737e866894acb0


Signed-off-by: default avatarDmitry Antipov <dmantipov@yandex.ru>
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
(cherry picked from commit 64f4938368f4be563b7652d6b18d37b317913b47)
Signed-off-by: default avatarVegard Nossum <vegard.nossum@oracle.com>
parent 928a0513
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment