Re: Memory (skb) leak in kernel 4.8-rc2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/21/2016 07:09 AM, Frederic Dalleau wrote:
Hi Marcel, Johan,

I am unable to unload module bluetooth to verify that the second
leak is not a false positive; however, the one in btusb is a real
memory leak.

There was a bugzilla last week with that backtrace:
https://bugzilla.kernel.org/show_bug.cgi?id=120691

At the time, I was thinking that the leak could originate from one of the
req_complete_skb callback, but which one?

And today that the issue has popped again, I found that hci_req_sync_complete
references the skb in hdev->req_skb. It is called (via hci_req_run_skb) from
either __hci_cmd_sync_ev which will pass the skb to the caller, or
__hci_req_sync which leaks.

I have a patch on the grill.

Frédéric,

Any progress on this patch?

Thanks,

Larry

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux