CVE-2017-17053

MEDIUM

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.

References

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ccd5b3235180eef3cfec337df1c8554ab151b5cc

http://www.securityfocus.com/bid/102010

https://access.redhat.com/errata/RHSA-2018:0676

https://github.com/torvalds/linux/commit/ccd5b3235180eef3cfec337df1c8554ab151b5cc

https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.12.10

Details

Source: MITRE

Published: 2017-11-29

Updated: 2018-12-19

Type: CWE-416

Risk Information

CVSS v2.0

Base Score: 6.9

Vector: AV:L/AC:M/Au:N/C:C/I:C/A:C

Impact Score: 10

Exploitability Score: 3.4

Severity: MEDIUM

CVSS v3.0

Base Score: 7

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 1

Severity: HIGH