lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ce214e06-78f3-8b1d-1970-8b0015ca1eb5@embeddedor.com>
Date:   Wed, 30 Jan 2019 18:16:14 -0600
From:   "Gustavo A. R. Silva" <gustavo@...eddedor.com>
To:     Lee Jones <lee.jones@...aro.org>
Cc:     Linus Walleij <linus.walleij@...aro.org>,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] mfd: sm501: Fix potential NULL pointer dereference



On 1/30/19 7:35 AM, Lee Jones wrote:
> On Tue, 22 Jan 2019, Gustavo A. R. Silva wrote:
> 
>> There is a potential NULL pointer dereference in case devm_kzalloc()
>> fails and returns NULL.
>>
>> Fix this by adding a NULL check on *lookup*
>>
>> This bug was detected with the help of Coccinelle.
>>
>> Fixes: b2e63555592f ("i2c: gpio: Convert to use descriptors")
>> Cc: stable@...r.kernel.org
>> Signed-off-by: Gustavo A. R. Silva <gustavo@...eddedor.com>
>> ---
>>  drivers/mfd/sm501.c | 3 +++
>>  1 file changed, 3 insertions(+)
> 
> Applied, thanks.
> 

Thanks, Lee.

--
Gustavo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ