Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 4.12.12-1 | — |
| Debian 13 | linux | 4.12.12-1 | — |
| Debian 12 | linux | 4.12.12-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +2 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +3 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-azure | 4.13.0-1005.7 | — |
| Ubuntu 16.04 LTS | linux-gcp | 4.13.0-1002.5 | — |
| Ubuntu 16.04 LTS | linux-hwe | 4.13.0-32.35~16.04.1 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Live Patching 12 SP3 | kgraft-patch-SLE12-SP3_Update_1 | 11-2.1 | SUSE-SU-2018:2413-1 |
| SLE Live Patching 12 SP3 | kgraft-patch-SLE12-SP3_Update_2 +1 | 10-2.1 | SUSE-SU-2018:2413-1 |
Advisories 1
- SUSE-SU-2018:2413-1 Security update for the Linux Kernel (Live Patch 2 for SLE 12 SP3) SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 102010 vdb-entry
- https://github.com/torvalds/linux/commit/ccd5b3235180eef3cfec337df1c8554ab151b5cc
- RHSA-2018:0676 vendor-advisory
- https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.12.10
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ccd5b3235180eef3cfec337df1c8554ab151b5cc