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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <PS2P216MB075530CB1B7B099AAF9F42D580780@PS2P216MB0755.KORP216.PROD.OUTLOOK.COM>
Date:   Thu, 7 Nov 2019 13:50:35 +0000
From:   Nicholas Johnson <nicholas.johnson-opensource@...look.com.au>
To:     "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC:     "linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
        "bhelgaas@...gle.com" <bhelgaas@...gle.com>,
        "mika.westerberg@...ux.intel.com" <mika.westerberg@...ux.intel.com>,
        "corbet@....net" <corbet@....net>,
        "benh@...nel.crashing.org" <benh@...nel.crashing.org>,
        "logang@...tatee.com" <logang@...tatee.com>,
        Nicholas Johnson <nicholas.johnson-opensource@...look.com.au>
Subject: [PATCH 0/1] Fix bug resulting in double hpmemsize being assigned to
 MMIO window

I have split this patch off my main series, as I realised that it does 
not need to be part of that series.

I have made some recent improvements to add assurance against it 
breaking existing behaviour. Instead of returning the first resource of 
the desired type regardless of it being assigned, now it goes through 
all of the resources and returns only those of type that are not 
assigned. Only then does it go through and return the first resource of 
desired type that is assigned. If none are found then it returns NULL as 
usual.

I have made extensive changes to the patch notes, also.

Logan Gunthorpe <logang@...tatee.com> has an alternative method of 
fixing this same bug. Please also consider his patch and accept 
whichever is best for Linux. All I care is that the bug be fixed.

Nicholas Johnson (1):
  PCI: Fix bug resulting in double hpmemsize being assigned to MMIO
    window

 drivers/pci/setup-bus.c | 34 +++++++++++++++++++++++-----------
 1 file changed, 23 insertions(+), 11 deletions(-)

-- 
2.23.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ