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: <174367530124.3067819.2690843491529168690.b4-ty@codeconstruct.com.au>
Date: Thu, 03 Apr 2025 20:45:01 +1030
From: Andrew Jeffery <andrew@...econstruct.com.au>
To: joel@....id.au, gsomlo@...il.com, heiko@...ech.de, arnd@...db.de, 
 herve.codina@...tlin.com, andersson@...nel.org, 
 u.kleine-koenig@...libre.com, Henry Martin <bsdhenrymartin@...il.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-aspeed@...ts.ozlabs.org, 
 linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4] soc: aspeed: Add NULL check in
 aspeed_lpc_enable_snoop()

On Tue, 01 Apr 2025 15:46:47 +0800, Henry Martin wrote:
> devm_kasprintf() returns NULL when memory allocation fails. Currently,
> aspeed_lpc_enable_snoop() does not check for this case, which results in a
> NULL pointer dereference.
> 
> Add NULL check after devm_kasprintf() to prevent this issue.
> 
> 
> [...]

Thanks, I've applied this to be picked up through the BMC tree.

--
Andrew Jeffery <andrew@...econstruct.com.au>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ