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: <1377175780-10611-1-git-send-email-krzysiek@podlesie.net>
Date:	Thu, 22 Aug 2013 14:49:37 +0200
From:	Krzysztof Mazur <krzysiek@...lesie.net>
To:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	linux-usb@...r.kernel.org
Cc:	Alan Stern <stern@...land.harvard.edu>,
	linux-kernel@...r.kernel.org,
	Krzysztof Mazur <krzysiek@...lesie.net>
Subject: [PATCH v3 0/3] usb: fix hub_configure() error handling

Hi,

this series fixes hub_configure() error handling that causes hub->ports[i]
NULL pointer dereferences.


Changes in v3:

Added Acked-by from Alan Stern.

Changes in v2:

After review by Alan Stern. The new label has been placed in other place
to avoid changes in existing code. Third patch "usb: don't use bNbrPorts
after initialization" has been added.


The first version has been posted here:

https://lkml.org/lkml/2013/8/20/469

Krzysiek


Krzysztof Mazur (3):
  usb: fix cleanup after failure in hub_configure()
  usb: fail on usb_hub_create_port_device() errors
  usb: don't use bNbrPorts after initialization

 drivers/usb/core/hub.c | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

-- 
1.8.4.rc4.527.g303b16c

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ