Vulnerability identifier: #VU9518
Vulnerability risk: Low
CVSSv3.1: 6.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-416
Exploitation vector: Local
Exploit availability: No
Vulnerable software:
Linux kernel
Operating systems & Components /
Operating system
Vendor: Linux Foundation
Description
The vulnerability allows a local user to execute arbitrary code on the target system with elevated privileges.
The vulnerability exists due to use-after-free error within the init_new_context() function in arch/x86/include/asm/mmu_context.h in the Linux kernel before 4.12.10 when handling errors in LDT table allocation during forking of a new process. A local user can execute a specially crafted application and execute arbitrary code on the system with escalated privileges.
This vulnerability only affected kernels built with "CONFIG_MODIFY_LDT_SYSCALL" set to "Y".
Mitigation
Update to version 4.12.10.
Vulnerable software versions
Linux kernel: 4.12 - 4.12.9, 4.11 - 4.11.5, 4.10 - 4.10.15, 4.9.1 - 4.9.11, 4.8 - 4.8.12, 4.7 - 4.7.9, 4.0 - 4.0.6
External links
http://github.com/torvalds/linux/commit/ccd5b3235180eef3cfec337df1c8554ab151b5cc
Can this vulnerability be exploited remotely?
No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.