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: <1225258595.3865.1.camel@eswierk-laptop.arastra.com>
Date:	Tue, 28 Oct 2008 22:36:35 -0700
From:	Ed Swierk <eswierk@...stanetworks.com>
To:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Fix range check on mmaped sysfs resource files

On Tue, 2008-10-28 at 22:24 -0700, Ed Swierk wrote:
> pci_mmap_fits() in 2.6.27.4 returns the wrong answer if the sysfs
> resource file size is not a multiple of the page size. vm_end and
> vm_start are already page-aligned, so size - start < nr, causing
> mmap() to return EINVAL.
> 
> Signed-off-by: Ed Swierk <eswierk@...stanetworks.com>

...and here is the patch in a hopefully more readable form.


View attachment "linux-2.6.27-pci-sysfs-mmap-bug.patch" of type "text/x-patch" (608 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ