From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751582AbcEQWQr (ORCPT ); Tue, 17 May 2016 18:16:47 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:38763 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750792AbcEQWQq (ORCPT ); Tue, 17 May 2016 18:16:46 -0400 Date: Tue, 17 May 2016 15:16:44 -0700 From: Greg Kroah-Hartman To: Valdis Kletnieks Cc: Alan Stern , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: UBSAN whinge in ihci-hub.c Message-ID: <20160517221644.GA17167@kroah.com> References: <5739.1463521960@turing-police.cc.vt.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5739.1463521960@turing-police.cc.vt.edu> User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 17, 2016 at 05:52:40PM -0400, Valdis Kletnieks wrote: > So, not content in the amount of breakage I generate already, I > compiled with UBSAN enabled... > > The immediately relevant part: > > [ 2.418576] ================================================================================ > [ 2.418579] UBSAN: Undefined behaviour in drivers/usb/host/ehci-hub.c:877:47 > [ 2.418582] index -1 is out of range for type 'u32 [1]' It's a known bug in ubsan, please see the linux-usb archives for the details :(