RE: Bluetooth: SCO: serialise sco_conn lifetime against sco_recv_scodata()

[email protected] Mon, 27 Jul 2026 21:04:34 -0700 (PDT)
Newsgroups org.kernel.vger.linux-bluetooth
Message-ID <[email protected]>
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=1135493

---Test result---

Test Summary:
CheckPatch                    PASS      0.59 seconds
VerifyFixes                   PASS      0.07 seconds
VerifySignedoff               PASS      0.10 seconds
GitLint                       FAIL      0.20 seconds
SubjectPrefix                 PASS      0.06 seconds
BuildKernel                   PASS      27.52 seconds
CheckAllWarning               PASS      30.22 seconds
CheckSparse                   PASS      28.79 seconds
BuildKernel32                 PASS      26.82 seconds
CheckKernelLLVM               SKIP      0.00 seconds
TestRunnerSetup               PASS      507.27 seconds
TestRunner_sco-tester         PASS      32.47 seconds
IncrementalBuild              PASS      26.15 seconds

Details
##############################
Test: GitLint - FAIL
Desc: Run gitlint
Output:
Bluetooth: SCO: serialise sco_conn lifetime against sco_recv_scodata()

6: B3 Line contains hard tab characters (\t): "	hci_dev_lock(hdev);"
7: B3 Line contains hard tab characters (\t): "	hcon = hci_conn_hash_lookup_handle(hdev, handle);"
8: B3 Line contains hard tab characters (\t): "	..."
9: B3 Line contains hard tab characters (\t): "	conn = sco_conn_hold_unless_zero(hcon->sco_data);"
10: B3 Line contains hard tab characters (\t): "	hci_dev_unlock(hdev);"
15: B3 Line contains hard tab characters (\t): "	conn->hcon->sco_data = NULL;"
20: B3 Line contains hard tab characters (\t): "	BUG: KASAN: slab-use-after-free in sco_conn_hold_unless_zero+0xbe/0x160"
21: B3 Line contains hard tab characters (\t): "	Write of size 4 by task kworker/u17:0"
22: B3 Line contains hard tab characters (\t): "	Workqueue: hci0 hci_rx_work"
23: B3 Line contains hard tab characters (\t): "	Call Trace:"
24: B3 Line contains hard tab characters (\t): "	 sco_conn_hold_unless_zero+0xbe/0x160"
25: B3 Line contains hard tab characters (\t): "	 sco_recv_scodata+0x13f/0x490"
26: B3 Line contains hard tab characters (\t): "	 hci_rx_work+0x3af/0x730"
##############################
Test: CheckKernelLLVM - SKIP
Desc: Build kernel with LLVM + context analysis
Output:
Clang not found


https://github.com/bluez/bluetooth-next/pull/502

---
Regards,
Linux Bluetooth