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
| ||
|
Date: Tue, 11 Nov 2014 14:57:31 -0200 From: Henrique de Moraes Holschuh <hmh@....eng.br> To: Borislav Petkov <bp@...en8.de> Cc: linux-kernel@...r.kernel.org, H Peter Anvin <hpa@...or.com> Subject: Re: [PATCH 7/8] x86, microcode, intel: guard against misaligned microcode data On Tue, 11 Nov 2014, Borislav Petkov wrote: > On Sat, Nov 08, 2014 at 07:57:49PM -0200, Henrique de Moraes Holschuh wrote: > * you either write down *why* kmalloc guarantees alignment. From a quick > look it might but it might not, hint > > #define ARCH_KMALLOC_MINALIGN __alignof__(unsigned long long) Meh, I don't know where I came up with the wrong information that kmalloc aligned to 16-bytes instead of 8 bytes. I do wonder why I didn't hit this while testing, though. Maybe an artifact of slub, or just my luck that I never got a memory block that was not aligned to 16 bytes. I will fix this. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists