Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1615026

Re: [PATCH 1/2] wireless: ath9k_htc: fix NULL-deref at probe

From Kalle Valo <kvalo@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] wireless: ath9k_htc: fix NULL-deref at probe
Date 2017-04-03 11:40 +0200
Message-ID <ts6CR-52F-1@gated-at.bofh.it> (permalink)
References <tkxAe-ys-43@gated-at.bofh.it> <ts5Qt-4uN-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Johan Hovold <johan@kernel.org> writes:

> On Mon, Mar 13, 2017 at 01:44:20PM +0100, Johan Hovold wrote:
>> Make sure to check the number of endpoints to avoid dereferencing a
>> NULL-pointer or accessing memory beyond the endpoint array should a
>> malicious device lack the expected endpoints.
>> 
>> Fixes: 36bcce430657 ("ath9k_htc: Handle storage devices")
>> Cc: Sujith Manoharan <Sujith.Manoharan@atheros.com>
>> Signed-off-by: Johan Hovold <johan@kernel.org>
>
> Is this one still in your queue, Kalle?

Yes, I'm just lacking behing:

https://patchwork.kernel.org/patch/9620723/

> As I mentioned earlier, I should have added a
>
> Cc: stable <stable@vger.kernel.org>     # 2.6.39
>
> but left it out as I mistakingly thought the net recommendations to do
> so applied also to wireless.

Ok, I'll add that.

-- 
Kalle Valo

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 1/2] wireless: ath9k_htc: fix NULL-deref at probe Johan Hovold <johan@kernel.org> - 2017-04-03 10:50 +0200
  Re: [PATCH 1/2] wireless: ath9k_htc: fix NULL-deref at probe Kalle Valo <kvalo@codeaurora.org> - 2017-04-03 11:40 +0200
    Re: [PATCH 1/2] wireless: ath9k_htc: fix NULL-deref at probe Kalle Valo <kvalo@qca.qualcomm.com> - 2017-04-03 15:10 +0200
      Re: [PATCH 1/2] wireless: ath9k_htc: fix NULL-deref at probe Johan Hovold <johan@kernel.org> - 2017-04-03 15:20 +0200
        Re: [PATCH 1/2] wireless: ath9k_htc: fix NULL-deref at probe Kalle Valo <kvalo@qca.qualcomm.com> - 2017-04-03 15:30 +0200
          Re: [PATCH 1/2] wireless: ath9k_htc: fix NULL-deref at probe Johan Hovold <johan@kernel.org> - 2017-04-03 15:30 +0200

csiph-web