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] [thread-next>] [day] [month] [year] [list]
Message-ID: <96d7676a-ade7-4250-be3f-fd11728c23ee@web.de>
Date: Mon, 31 Mar 2025 16:07:04 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Henry Martin <bsdhenrymartin@...il.com>,
 linux-perf-users@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Cc: LKML <linux-kernel@...r.kernel.org>, Mark Rutland <mark.rutland@....com>,
 Will Deacon <will@...nel.org>
Subject: Re: [PATCH v2] driver: tx2: Add NULL check in tx2_uncore_pmu_register

> devm_kasprintf() return NULL if memory allocation fails. Currently,

                   call returns?                    failed?


> tx2_uncore_pmu_register() does not check for this case, leading to a
> possible NULL pointer dereference.
…

You may omit the word “possible” in such a change description.


Is any automated source code analysis involved here?
https://cwe.mitre.org/data/definitions/252.html

Regards,
Markus

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ