Re: [Umap2][7/11][160a:3184] NULL pointer dereference

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

 





On 26/09/16 09:48, Oliver Neukum wrote:
On Sat, 2016-09-24 at 01:21 +0100, Malcolm Priestley wrote:

On 22/09/16 20:50, Malcolm Priestley wrote:


On 22/09/16 15:25, Oliver Neukum wrote:
On Thu, 2016-09-22 at 14:46 +0300, Binyamin Sharet wrote:

-- Binyamin

I compiled the kernel without BPF and still got an issue (attached)
How can I verify the BPF is not enabled/part of the kernel?

-- Binyamin

Could you test the attached patch?
ieee80211_free_hw frees the priv.

usb_set_intfdata is set to hw_>priv, If vt6656_disconnect is called
there is a null check.
I was wrong ieee80211_free_hw does not null the ieee80211_hw->priv offset.

I have replicated this bug with the hardware.

This patch fixes the bug.

Which patch? It seems there's a potential for confusion here.

Your attached patch
[PATCH] vt6656: avoid double free

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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux