CVE-2015-1593: Integer Overflow
It was reported [1] that stack address is not properly randomized on some 64 bit architectures due to an integer overflow. The stack entropy of the processes is reduced by four. The possible locations are significantly reduced from around one billion to two hundred millions. The problem seems to affect only to the x8664 architecture. Proposed patch: https://lkml.org/lkml/2015/1/7/811
[1]: http://hmarco.org/bugs/linux-ASLR-integer-overflow.html
Other sources
The stack randomization feature in the Linux kernel before 3.19.1 on 64-bit platforms uses incorrect data types for the results of bitwise left-shift operations, which makes it easier for attackers to bypass the ASLR protection mechanism by predicting the address of the top of the stack, related to the randomizestacktop function in fs/binfmtelf.c and the stackmaxrandomsize function in arch/x86/mm/mmap.c.
— Ubuntu
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 3.13.0-49.81 - Upgrade
Upgrade
ubuntu/linux-lts-utopicto a version that resolves this vulnerability.Fixed in 3.16.0-34.45~14.04.1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 3.2.65-1+deb7u2Fixed in 3.16.7-ckt7-1 - Upgrade
Upgrade
debian/linux-2.6to a version that resolves this vulnerability.Fixed in 2.6.32-48squeeze11 - Upgrade
Upgrade
Linux kernelto a version that resolves this vulnerability.Fixed in 3.19.1
Event History
Frequently Asked Questions
What is the severity of CVE-2015-1593?
CVE-2015-1593 has a medium severity rating due to the reduced entropy in stack address randomization.
How do I fix CVE-2015-1593?
To fix CVE-2015-1593, update your Linux kernel to version 5.10.223-1 or later, 6.1.123-1 or later, or 6.12.12-1 or later.
What systems are affected by CVE-2015-1593?
CVE-2015-1593 affects various Linux kernel versions prior to 3.18.9 on 64-bit architectures.
What issue does CVE-2015-1593 cause?
CVE-2015-1593 causes a decrease in stack address randomization, potentially leading to easier exploitation of stack-based vulnerabilities.
Is CVE-2015-1593 related to memory safety?
Yes, CVE-2015-1593 impacts memory safety by reducing the unpredictability of stack memory addresses.