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  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]
Date:	Sun, 09 Dec 2012 00:34:33 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	bhutchings@...arflare.com
Cc:	sjur.brandeland@...ricsson.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 1/2] caif_usb: Check driver name before
 reading driver state in netdev notifier

From: Ben Hutchings <bhutchings@...arflare.com>
Date: Fri, 7 Dec 2012 16:17:26 +0000

> In cfusbl_device_notify(), the usbnet and usbdev variables are
> initialised before the driver name has been checked.  In case the
> device's driver is not cdc_ncm, this may result in reading beyond the
> end of the netdev private area.  Move the initialisation below the
> driver name check.
> 
> Signed-off-by: Ben Hutchings <bhutchings@...arflare.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists