linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] Bluetooth: hci_qca: Fix double free during SSR timeout
@ 2020-06-04 18:24 Markus Elfring
  2020-06-09 15:50 ` gubbaven
  2020-06-10 14:54 ` Greg KH
  0 siblings, 2 replies; 3+ messages in thread
From: Markus Elfring @ 2020-06-04 18:24 UTC (permalink / raw)
  To: Venkata Lakshmi Narayana Gubba, linux-arm-msm, linux-bluetooth
  Cc: Balakrishna Godavarthi, hemantg, Johan Hedberg, Marcel Holtmann,
	Matthias Kaehlcke, Rocky Liao, Rob Herring, Sean Paul,
	Claire Chang, yshavit, linux-kernel, kernel-janitors

> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-10 14:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-04 18:24 [PATCH] Bluetooth: hci_qca: Fix double free during SSR timeout Markus Elfring
2020-06-09 15:50 ` gubbaven
2020-06-10 14:54 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).