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

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

 



On Sat, Sep 24, 2016 at 3:21 AM, Malcolm Priestley <tvboxspy@xxxxxxxxx> 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.
>
> Good catch.
>
> Regards
>
>
> Malcolm

Is this still need to be tested?

-- Binyamin
--
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