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-next>] [day] [month] [year] [list]
Message-Id: <20171117150041.30509-1-niklas.cassel@axis.com>
Date:   Fri, 17 Nov 2017 16:00:39 +0100
From:   Niklas Cassel <niklas.cassel@...s.com>
To:     linux-pci@...r.kernel.org
Cc:     Niklas Cassel <niklass@...s.com>, linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/2] Fix find_first_zero_bit() usage

From: Niklas Cassel <niklass@...s.com>

find_first_zero_bit()'s parameter 'size' is defined in bits,
not in bytes.

Calling find_first_zero_bit() with the wrong size unit
will lead to insidious bugs.

Fix all uses of find_first_zero_bit() called with
sizeof() as size argument in drivers/pci.

Niklas Cassel (2):
  PCI: designware-ep: Fix find_first_zero_bit() usage
  PCI: endpoint: Fix find_first_zero_bit() usage

 drivers/pci/dwc/pcie-designware-ep.c | 6 ++----
 drivers/pci/endpoint/pci-ep-cfs.c    | 3 +--
 2 files changed, 3 insertions(+), 6 deletions(-)

-- 
2.14.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ