* [PATCH] Bluetooth: l2cap: always unlock channel in l2cap_conless_channel()
@ 2024-07-31 9:19 Dmitry Antipov
2024-07-31 9:58 ` bluez.test.bot
2024-08-01 8:20 ` [PATCH] " patchwork-bot+bluetooth
0 siblings, 2 replies; 3+ messages in thread
From: Dmitry Antipov @ 2024-07-31 9:19 UTC (permalink / raw)
To: Luiz Augusto von Dentz
Cc: linux-bluetooth, lvc-project, Dmitry Antipov,
syzbot+45ac74737e866894acb0
Add missing call to 'l2cap_chan_unlock()' on receive error handling
path in 'l2cap_conless_channel()'.
Fixes: a24cce144b98 ("Bluetooth: Fix reference counting of global L2CAP channels")
Reported-by: syzbot+45ac74737e866894acb0@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=45ac74737e866894acb0
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
---
net/bluetooth/l2cap_core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c
index c3c26bbb5dda..9988ba382b68 100644
--- a/net/bluetooth/l2cap_core.c
+++ b/net/bluetooth/l2cap_core.c
@@ -6774,6 +6774,7 @@ static void l2cap_conless_channel(struct l2cap_conn *conn, __le16 psm,
bt_cb(skb)->l2cap.psm = psm;
if (!chan->ops->recv(chan, skb)) {
+ l2cap_chan_unlock(chan);
l2cap_chan_put(chan);
return;
}
--
2.45.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: Bluetooth: l2cap: always unlock channel in l2cap_conless_channel()
2024-07-31 9:19 [PATCH] Bluetooth: l2cap: always unlock channel in l2cap_conless_channel() Dmitry Antipov
@ 2024-07-31 9:58 ` bluez.test.bot
2024-08-01 8:20 ` [PATCH] " patchwork-bot+bluetooth
1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2024-07-31 9:58 UTC (permalink / raw)
To: linux-bluetooth, dmantipov
[-- Attachment #1: Type: text/plain, Size: 1421 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=875380
---Test result---
Test Summary:
CheckPatch PASS 0.66 seconds
GitLint PASS 0.31 seconds
SubjectPrefix PASS 0.11 seconds
BuildKernel PASS 30.42 seconds
CheckAllWarning PASS 32.76 seconds
CheckSparse PASS 38.48 seconds
CheckSmatch PASS 103.46 seconds
BuildKernel32 PASS 29.82 seconds
TestRunnerSetup PASS 538.73 seconds
TestRunner_l2cap-tester PASS 22.30 seconds
TestRunner_iso-tester PASS 37.69 seconds
TestRunner_bnep-tester PASS 4.94 seconds
TestRunner_mgmt-tester PASS 117.50 seconds
TestRunner_rfcomm-tester PASS 7.59 seconds
TestRunner_sco-tester PASS 13.03 seconds
TestRunner_ioctl-tester PASS 8.13 seconds
TestRunner_mesh-tester PASS 6.10 seconds
TestRunner_smp-tester PASS 6.98 seconds
TestRunner_userchan-tester PASS 5.14 seconds
IncrementalBuild PASS 28.55 seconds
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Bluetooth: l2cap: always unlock channel in l2cap_conless_channel()
2024-07-31 9:19 [PATCH] Bluetooth: l2cap: always unlock channel in l2cap_conless_channel() Dmitry Antipov
2024-07-31 9:58 ` bluez.test.bot
@ 2024-08-01 8:20 ` patchwork-bot+bluetooth
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2024-08-01 8:20 UTC (permalink / raw)
To: Dmitry Antipov
Cc: luiz.dentz, linux-bluetooth, lvc-project,
syzbot+45ac74737e866894acb0
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
On Wed, 31 Jul 2024 12:19:36 +0300 you wrote:
> Add missing call to 'l2cap_chan_unlock()' on receive error handling
> path in 'l2cap_conless_channel()'.
>
> Fixes: a24cce144b98 ("Bluetooth: Fix reference counting of global L2CAP channels")
> Reported-by: syzbot+45ac74737e866894acb0@syzkaller.appspotmail.com
> Closes: https://syzkaller.appspot.com/bug?extid=45ac74737e866894acb0
> Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
>
> [...]
Here is the summary with links:
- Bluetooth: l2cap: always unlock channel in l2cap_conless_channel()
https://git.kernel.org/bluetooth/bluetooth-next/c/1e69bd3ba19c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-08-01 8:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-31 9:19 [PATCH] Bluetooth: l2cap: always unlock channel in l2cap_conless_channel() Dmitry Antipov
2024-07-31 9:58 ` bluez.test.bot
2024-08-01 8:20 ` [PATCH] " patchwork-bot+bluetooth
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.