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

2020-06-09 Thread gubbaven
Hi Abhishek, On 2020-06-05 10:23, Abhishek Pandit-Subedi wrote: Hi, On Thu, Jun 4, 2020 at 6:59 AM Venkata Lakshmi Narayana Gubba wrote: Due to race conditions between qca_hw_error and qca_controller_memdump during SSR timeout,the same pointer is freed twice. Which results to double free err

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

2020-06-04 Thread Abhishek Pandit-Subedi
Hi, On Thu, Jun 4, 2020 at 6:59 AM Venkata Lakshmi Narayana Gubba wrote: > > Due to race conditions between qca_hw_error and qca_controller_memdump > during SSR timeout,the same pointer is freed twice. Which results to > double free error. Now a lock is acquired while SSR state moved to timeout.

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

2020-06-04 Thread bgodavar
On 2020-06-04 19:27, Venkata Lakshmi Narayana Gubba wrote: Due to race conditions between qca_hw_error and qca_controller_memdump during SSR timeout,the same pointer is freed twice. Which results to double free error. Now a lock is acquired while SSR state moved to timeout. Signed-off-by: Venk