Re: [PATCH] Bluetooth: hci_qca: Fix double free during SSR timeout

From: gubbaven
Date: Tue Jun 09 2020 - 11:51:03 EST


Hi Markus,

Sure we will update in next patch set.

Regards,
Lakshmi Narayna.
On 2020-06-04 23:54, Markus Elfring wrote:
Due to race conditions between qca_hw_error and qca_controller_memdump
during SSR timeout,the same pointer is freed twice.

This is an unfortunate software situation.


Which results to double free error.

How do you think about to omit this sentence from the change description?


Now a lock is acquired while SSR state moved to timeout.

I suggest to convert this information into an imperative wording.

Would you like to add the tag âFixesâ to the commit message?

Regards,
Markus