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: <20110412171343.GA2745@suse.de>
Date:	Tue, 12 Apr 2011 10:13:43 -0700
From:	Greg KH <gregkh@...e.de>
To:	Sebastian Ott <sebott@...ux.vnet.ibm.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] driver-core: fix race between device_register and
 driver_register

On Tue, Apr 12, 2011 at 07:05:37PM +0200, Sebastian Ott wrote:
> 
> When a device is registered to a bus it will be a) added to the list
> of devices of the bus and b) bind to a driver (if one matches). As a
> result of a driver being registered at this bus between a) and b) this
> device could already be bound to a driver. This leads to a warning
> and incorrect refcounting.
> To fix this add a check to device_attach to identify an already bound
> device.
> 
> Signed-off-by: Sebastian Ott <sebott@...ux.vnet.ibm.com>

Thanks, I'll queue this up for .40.

greg k-h
--
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