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
| ||
|
Message-Id: <20120905.174543.111505618029273524.davem@davemloft.net> Date: Wed, 05 Sep 2012 17:45:43 -0400 (EDT) From: David Miller <davem@...emloft.net> To: santil@...ux.vnet.ibm.com Cc: netdev@...r.kernel.org Subject: Re: [PATCH] ibmveth: Fix alignment of rx queue bug From: Santiago Leon <santil@...ux.vnet.ibm.com> Date: Tue, 04 Sep 2012 19:41:37 -0500 > This patch fixes a bug found by Nish Aravamudan > (https://lkml.org/lkml/2012/5/15/220) where the driver is not following > the spec (it is not aligning the rx buffer on a 16-byte boundary) and the > hypervisor aborts the registration, making the device unusable. > > The fix follows BenH's recommendation (https://lkml.org/lkml/2012/7/20/461) > to replace the kmalloc+map for a single call to dma_alloc_coherent() > because that function always aligns to a 16-byte boundary. > > The stable trees will run into this bug whenever the rx buffer kmalloc call > returns something not aligned on a 16-byte boundary. > > Cc: <stable@...r.kernel.org> > Signed-off-by: Santiago Leon <santil@...ux.vnet.ibm.com> Applied, thanks. -- 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