Message ID | YuAEqGGp/SRNP2Nr@kili (mailing list archive) |
---|---|
State | Accepted |
Commit | b7d8b9c71aa20f664be11bce123ec3e0f579a47b |
Headers | show |
Series | Bluetooth: mgmt: Fix double free on error path | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
tedd_an/checkpatch | success | Checkpatch PASS |
tedd_an/gitlint | success | Gitlint PASS |
tedd_an/subjectprefix | success | PASS |
tedd_an/buildkernel | success | Build Kernel PASS |
tedd_an/buildkernel32 | success | Build Kernel32 PASS |
tedd_an/incremental_build | success | Pass |
tedd_an/testrunnersetup | success | Test Runner Setup PASS |
tedd_an/testrunnerl2cap-tester | success | Total: 40, Passed: 40 (100.0%), Failed: 0, Not Run: 0 |
tedd_an/testrunnerbnep-tester | success | Total: 1, Passed: 1 (100.0%), Failed: 0, Not Run: 0 |
tedd_an/testrunnermgmt-tester | success | Total: 494, Passed: 494 (100.0%), Failed: 0, Not Run: 0 |
tedd_an/testrunnerrfcomm-tester | success | Total: 10, Passed: 10 (100.0%), Failed: 0, Not Run: 0 |
tedd_an/testrunnersco-tester | success | Total: 12, Passed: 12 (100.0%), Failed: 0, Not Run: 0 |
tedd_an/testrunnersmp-tester | success | Total: 8, Passed: 8 (100.0%), Failed: 0, Not Run: 0 |
tedd_an/testrunneruserchan-tester | success | Total: 4, Passed: 4 (100.0%), Failed: 0, Not Run: 0 |
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=663130 ---Test result--- Test Summary: CheckPatch PASS 1.91 seconds GitLint PASS 1.22 seconds SubjectPrefix PASS 0.94 seconds BuildKernel PASS 33.00 seconds BuildKernel32 PASS 28.54 seconds Incremental Build with patchesPASS 41.68 seconds TestRunner: Setup PASS 478.13 seconds TestRunner: l2cap-tester PASS 16.71 seconds TestRunner: bnep-tester PASS 6.27 seconds TestRunner: mgmt-tester PASS 98.49 seconds TestRunner: rfcomm-tester PASS 9.46 seconds TestRunner: sco-tester PASS 9.30 seconds TestRunner: smp-tester PASS 9.38 seconds TestRunner: userchan-tester PASS 6.41 seconds --- Regards, Linux Bluetooth
Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>: On Tue, 26 Jul 2022 18:13:44 +0300 you wrote: > Don't call mgmt_pending_remove() twice (double free). > > Fixes: 6b88eff43704 ("Bluetooth: hci_sync: Refactor remove Adv Monitor") > Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> > --- > net/bluetooth/mgmt.c | 1 - > 1 file changed, 1 deletion(-) Here is the summary with links: - Bluetooth: mgmt: Fix double free on error path https://git.kernel.org/bluetooth/bluetooth-next/c/b7d8b9c71aa2 You are awesome, thank you!
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index 0c6878095709..2bca36b9f3a2 100644 --- a/net/bluetooth/mgmt.c +++ b/net/bluetooth/mgmt.c @@ -5056,7 +5056,6 @@ static int remove_adv_monitor(struct sock *sk, struct hci_dev *hdev, else status = MGMT_STATUS_FAILED; - mgmt_pending_remove(cmd); goto unlock; }
Don't call mgmt_pending_remove() twice (double free). Fixes: 6b88eff43704 ("Bluetooth: hci_sync: Refactor remove Adv Monitor") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> --- net/bluetooth/mgmt.c | 1 - 1 file changed, 1 deletion(-)