The init_new_context function in arch/x86/include/asm/mmu_context.h in the Linux kernel before 4.12.10 does not correctly handle errors from LDT table allocation when forking a new process, allowing a local attacker to achieve a use-after-free or possibly have unspecified other impact by running a specially crafted program. This vulnerability only affected kernels built with CONFIG_MODIFY_LDT_SYSCALL=y.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 4.10 | 4.12.10 |
| linux / linux_kernel | 4.4.144 | 4.4.153 |
| linux / linux_kernel | 4.6 | 4.9.46 |