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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 3 Feb 2014 09:55:00 -0800 From: Sarah Sharp <sarah.a.sharp@...ux.intel.com> To: Mark Lord <mlord@...ox.com> Cc: Ming Lei <ming.lei@...onical.com>, Bjørn Mork <bjorn@...k.no>, David Laight <David.Laight@...lab.com>, "linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>, "netdev@...r.kernel.org" <netdev@...r.kernel.org>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>, David Miller <davem@...emloft.net>, Dan Williams <dan.j.williams@...el.com>, "Nyman, Mathias" <mathias.nyman@...el.com>, Alan Stern <stern@...land.harvard.edu>, Freddy Xin <freddy@...x.com.tw> Subject: Re: [PATCH RFC 1/1] usb: Tell xhci when usb data might be misaligned On Sat, Feb 01, 2014 at 03:05:21PM -0500, Mark Lord wrote: > On 14-02-01 09:18 AM, Ming Lei wrote: > > > > Even real regressions are easily/often introduced, and we are discussing > > how to fix that. I suggest to unset the flag only for the known buggy > > controllers. Ming, the regression cannot be easily fixed in this case. We tried the "easy, quick fix" and it broke USB storage and usbfs. The patches to paper over those issues started to creep into the upper layers, and I'm not willing to add more code to hack around the issues caused by the "quick fix". We need to do this right, not wall-paper over the issues. > It is not the controllers that are particularly "buggy" here. > But rather the drivers and design of parts of the kernel. As Mark mentioned, the host controllers aren't buggy. The xHCI driver simply doesn't handle a 1.0 host controller requirement, TD fragments, very well. Only the USB ethernet layer triggers this bug, because the USB storage layer hands down scatter-gather lists in multiples of the max packet size. You tested on a 1.0 host controller, and it apparently didn't need the TD fragments requirement. It seems that Intel 1.0 xHCI host controllers do need that requirement. Perhaps we can add an xHCI driver quirk for an exception so that your host can allow any kind of scatter-gather? Sarah Sharp -- 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