Fun with the preprocessor: CONFIG_IA32_EMULATION hacks in Linux

from blog Posts on Made of Bugs, | ↗ original
About two months ago, Linux saw CVE-2010-0307, which was a trival denial-of-service attack that could crash essentially any 64-bit Linux machine with 32-bit compatibility enabled. LWN has an excellent writeup of the bug, which turns out to be a subtle error related to the details of the execve system call and with 32-bit compatibility mode. While...