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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 8 Aug 2013 18:14:10 +0300 (EEST)
From:	Petko Manolov <petkan@...leusys.com>
To:	Jussi Kivilinna <jussi.kivilinna@....fi>
cc:	netdev@...r.kernel.org,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	linux-usb@...r.kernel.org, "David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH] net/usb: rtl8150: allocate URB transfer_buffer and
 setup_packet separately

On Wed, 7 Aug 2013, Jussi Kivilinna wrote:

> rtl8150 allocates URB transfer_buffer and setup_packet as part of same 
> structure 'struct async_req'. This can cause same cacheline to be 
> DMA-mapped twice with same URB. This can lead to memory corruption on 
> some systems.

I can see performance impact due to the double mapping.  However, memory 
corruption seems a bit too much for sane cache and DMA controllers.  Out 
of interest - which is the architecture that will potentially corrupt the 
memory.


cheers,
Petko
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ