[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87zhbqz44s.fsf@kamboji.qca.qualcomm.com>
Date: Sun, 05 Apr 2020 12:13:55 +0300
From: Kalle Valo <kvalo@...eaurora.org>
To: Luca Coelho <luca@...lho.fi>
Cc: Chris Rorvick <chris@...vick.com>, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Johannes Berg <johannes.berg@...el.com>,
Emmanuel Grumbach <emmanuel.grumbach@...el.com>,
Intel Linux Wireless <linuxwifi@...el.com>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH] iwlwifi: actually check allocated conf_tlv pointer
Luca Coelho <luca@...lho.fi> writes:
> On Sun, 2020-04-05 at 11:44 +0300, Kalle Valo wrote:
>> Chris Rorvick <chris@...vick.com> writes:
>>
>> > Commit 71bc0334a637 ("iwlwifi: check allocated pointer when allocating
>> > conf_tlvs") attempted to fix a typoe introduced by commit 17b809c9b22e
>> > ("iwlwifi: dbg: move debug data to a struct") but does not implement the
>> > check correctly.
>> >
>> > Tweeted-by: @grsecurity
>> > Signed-off-by: Chris Rorvick <chris@...vick.com>
>>
>> I'll add:
>>
>> Fixes: 71bc0334a637 ("iwlwifi: check allocated pointer when allocating conf_tlvs")
>>
>> > ---
>> > In this wasn't picked up?
>>
>> Luca, can I take this directly?
>
> Yes, please take it directly.
Ok, assigned it to me in patchwork.
> This can happen in OOM situations and, when it does, we will
> potentially try to dereference a NULL pointer.
I'll add this to the commit log.
--
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists