Skip to content
OpenAdvisories
Unscored CVE-2017-17053 EUVD-2017-8221GHSA-qv5h-fq2w-c68j

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 fro…

Published Nov 29, 2017 · Updated Aug 5, 2024 · Assigned by mitre

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.

ReleasePackageFixed inAdvisory
Debian 14 linux 4.12.12-1 —
Debian 13 linux 4.12.12-1 —
Debian 12 linux 4.12.12-1 —
ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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

References