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>] [day] [month] [year] [list]
Date:   Tue, 26 Oct 2021 07:14:43 +0000
From:   YE Chengfeng <cyeaa@...nect.ust.hk>
To:     "mturquette@...libre.com" <mturquette@...libre.com>,
        "sboyd@...nel.org" <sboyd@...nel.org>,
        "matthias.bgg@...il.com" <matthias.bgg@...il.com>
CC:     "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: drivers/clk/mediatek: suspected missing null check for return pointer
 of mtk_alloc_clk_data

Hi,

https://github.com/torvalds/linux/blob/master/drivers/clk/mediatek/clk-mt7622.c#L622

The return pointer of mtk_alloc_clk_data could be null, but null check is missing. It seems like there could be a potential null-pointer dereference problem at #line 639 and so on. Would you like to spare some time to have a look at it?

Thanks so much,
Chengfeng

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ