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: <20191211081814.GA433262@kroah.com>
Date:   Wed, 11 Dec 2019 09:18:14 +0100
From:   Greg KH <gregkh@...uxfoundation.org>
To:     Simon Schwartz <kern.simon@...schwartz.xyz>
Cc:     rafael@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] driver core: Prevent overflow from causing infinite loops

On Tue, Dec 10, 2019 at 05:41:37PM -0500, Simon Schwartz wrote:
> num_resources in the platform_device struct is declared as a u32.
> The for loops that iterate over num_resources use an int as the counter,
> which can cause infinite loops on architectures with smaller ints.

What arch is that that has so many resources and yet is only a 32bit
system?

thanks,

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ