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: <3918d367-e29b-405c-a58a-7c4e813c3cff@web.de>
Date: Mon, 18 Nov 2024 11:42:22 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: Charles Han <hanchunchao@...pur.com>, linux-pm@...r.kernel.org,
 Georgi Djakov <djakov@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] interconnect: Add NULL check in icc_clk_register()

> devm_kasprintf() can return a NULL pointer on failure,but this
> returned value in icc_clk_register() is not checked.
> Add NULL check in icc_clk_register(), to handle kernel NULL
> pointer dereference error.

Another wording suggestion:
devm_kasprintf() calls can return a null pointer on failure.
But such a return value was not checked in this function implementation.
Thus add corresponding checks so that null pointer dereferences
will be avoided.


Regards,
Markus

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ