Description
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 randomize_stack_top function in fs/binfmt_elf.c and the stack_maxrandom_size function in arch/x86/mm/mmap.c.
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 | 3.16.7-ckt7-1 | — |
| Debian 13 | linux | 3.16.7-ckt7-1 | — |
| Debian 12 | linux | 3.16.7-ckt7-1 | — |
| Debian 7 | linux | 3.2.65-1+deb7u2 | DSA-3170-1 |
| Debian 6.0 | linux-2.6 | 2.6.32-48squeeze11 | DLA-155-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-riscv +6 | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +2 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +4 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +3 | No fix yet | — |
| Ubuntu 14.04 LTS | linux | 3.13.0-49.81 | USN-2563-1 |
| Ubuntu 14.04 LTS | linux-lts-utopic | 3.16.0-34.45~14.04.1 | USN-2564-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | linux-azure-fde-5.15 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | perf +26 | 4.18.0-147.el8 | RHSA-2019:3517 |
| RHEL 7 | kernel-kdump +4 | 3.10.0-229.7.2.el7 | RHSA-2015:1137 |
| RHEL 7 | kernel-rt +7 | 3.10.0-229.7.2.rt56.141.6.el7_1 | RHSA-2015:1139 |
| RHEL 7 | perf +13 | 3.10.0-229.7.2.ael7b | RHSA-2015:1137 |
| RHEL 6 | perf +16 | 2.6.32-504.30.3.el6 | RHSA-2015:1221 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat MRG 2 | kernel-rt +10 | 1:3.10.0-229.rt56.153.el6rt | RHSA-2015:1138 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | perf +19 | 4.18.0-147.el8 | ELSA-2019-3517 |
| Oracle Linux 7 | dtrace-modules-3.8.13-68.3.3.el6uek | 0.4.3-4.el6 | ELSA-2015-3045 |
| Oracle Linux 7 | dtrace-modules-3.8.13-68.3.3.el7uek | 0.4.3-4.el7 | ELSA-2015-3045 |
| Oracle Linux 7 | kernel-uek +5 | 3.8.13-68.3.3.el7uek | ELSA-2015-3045 |
| Oracle Linux 7 | perf +11 | 3.10.0-229.7.2.el7 | ELSA-2015-1137 |
Advisories 12
- RHSA-2019:3517 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2015:1221 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:1138 Red Hat Security Advisory: kernel-rt security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:1139 Red Hat Security Advisory: kernel-rt security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:1137 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-2563-1 linux vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-3170-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-155-1 linux-2.6 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-2564-1 linux-lts-utopic vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- ELSA-2019-3517 Important: kernel security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 14, 2019
- ELSA-2015-3045 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jun 24, 2015
- ELSA-2015-1137 Important: kernel security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jun 23, 2015
References
- https://github.com/torvalds/linux/commit/4e7c22d447bb6d7e37bfe39ff658486ae78e8d77
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.19.1
- DSA-3170 vendor-advisory
- SUSE-SU-2015:0736 vendor-advisory
- USN-2562-1 vendor-advisory
- USN-2565-1 vendor-advisory
- USN-2561-1 vendor-advisory
- 72607 vdb-entry
- USN-2564-1 vendor-advisory
- USN-2563-1 vendor-advisory
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=4e7c22d447bb6d7e37bfe39ff658486ae78e8d77
- RHSA-2015:1138 vendor-advisory
- http://hmarco.org/bugs/linux-ASLR-integer-overflow.html
- USN-2560-1 vendor-advisory
- [oss-security] 20150213 Re: CVE-Request -- Linux ASLR integer overflow mailing-list
- https://bugzilla.redhat.com/show_bug.cgi?id=1192519
- openSUSE-SU-2015:0714 vendor-advisory
- RHSA-2015:1137 vendor-advisory
- [linux-kernel] 20150107 Re: [PATH] Fix stack randomization on x86_64 bit mailing-list
- RHSA-2015:1221 vendor-advisory
- RHSA-2019:3517 vendor-advisory