Description
The arch_pick_mmap_layout function in arch/x86/mm/mmap.c in the Linux kernel through 4.5.2 does not properly randomize the legacy base address, which makes it easier for local users to defeat the intended restrictions on the ADDR_NO_RANDOMIZE flag, and bypass the ASLR protection mechanism for a setuid or setgid program, by disabling stack-consumption resource limits.
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 | 4.5.1-1 | — |
| Debian 13 | linux | 4.5.1-1 | — |
| Debian 12 | linux | 4.5.1-1 | — |
| Debian 8 | linux | 3.16.7-ckt25-2+deb8u2 | DSA-3607-1 |
| Debian 7 | linux | 3.2.81-1 | DLA-516-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 16.04 LTS | linux | 4.4.0-22.39 | USN-2965-1 |
| Ubuntu 16.04 LTS | linux-raspi2 | 4.4.0-1010.12 | USN-2965-3 |
| Ubuntu 16.04 LTS | linux-snapdragon | 4.4.0-1013.14 | USN-2965-4 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | linux | 3.13.0-87.133 | USN-2989-1 |
| Ubuntu 14.04 LTS | linux-lts-utopic | 3.16.0-73.95~14.04.1 | USN-3000-1 |
| Ubuntu 14.04 LTS | linux-lts-vivid | 3.19.0-61.69~14.04.1 | USN-3001-1 |
| Ubuntu 14.04 LTS | linux-lts-wily | 4.2.0-38.45~14.04.1 | USN-3002-1 |
| Ubuntu 14.04 LTS | linux-lts-xenial | 4.4.0-22.39~14.04.1 | USN-2965-2 |
| Ubuntu Pro 20.04 LTS | linux-azure-fde-5.15 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | kernel-rt +10 | 3.10.0-862.rt56.804.el7 | RHSA-2018:0676 |
| RHEL 7 | perf +18 | 3.10.0-862.el7 | RHSA-2018:1062 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP1 | kernel-docs | 3.12.62-60.62.3 | SUSE-SU-2016:2105-1 |
| SLES 12 SP1 | kernel-xen +4 | 3.12.62-60.62.1 | SUSE-SU-2016:2105-1 |
| SLES 12 | kernel-docs | 3.12.60-52.49.3 | SUSE-SU-2016:1690-1 |
| SLES 12 | kernel-ec2 +5 | 3.12.60-52.49.1 | SUSE-SU-2016:2105-1, SUSE-SU-2016:1690-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP1 | kernel-xen +3 | 3.12.62-60.62.1 | SUSE-SU-2016:2105-1 |
| SLES for SAP 12 | kernel-xen +3 | 3.12.60-52.49.1 | SUSE-SU-2016:1690-1 |
| SLE Real Time 12 SP1 | kernel-rt +5 | 3.12.61-60.18.1 | SUSE-SU-2016:1937-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_7 | 1-4.2 | SUSE-SU-2016:2105-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12_Update_14 | 1-2.1 | SUSE-SU-2016:1690-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | dtrace-modules-3.8.13-118.17.4.el6uek | 0.4.5-3.el6 | ELSA-2017-3534 |
| Oracle Linux 7 | dtrace-modules-3.8.13-118.17.4.el7uek | 0.4.5-3.el7 | ELSA-2017-3534 |
| Oracle Linux 7 | dtrace-modules-4.1.12-61.1.33.el6uek | 0.5.3-2.el6 | ELSA-2017-3533 |
| Oracle Linux 7 | dtrace-modules-4.1.12-61.1.33.el7uek | 0.5.3-2.el7 | ELSA-2017-3533 |
| Oracle Linux 7 | kernel-uek +5 | 3.8.13-118.17.4.el7uek | ELSA-2017-3534, ELSA-2017-3533 |
| Oracle Linux 7 | perf +11 | 3.10.0-862.el7 | ELSA-2018-1062 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Linux Kernel (x86) - Disable ASLR by Setting the RLIMIT_STACK Resource to Unlimited EDB-39669 · dos · Apr 6, 2016
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 18
- RHSA-2018:1062 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2018:0676 Red Hat Security Advisory: kernel-rt security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-2989-1 linux vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- USN-2965-1 linux vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-516-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3607-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3000-1 linux-lts-utopic vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-3001-1 linux-lts-vivid vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-3002-1 linux-lts-wily vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-2965-2 linux-lts-xenial vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-2965-3 linux-raspi2 vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-2965-4 linux-snapdragon vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2016:1937-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2105-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:1690-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- ELSA-2018-1062 Important: kernel security, bug fix, and enhancement update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Apr 16, 2018
- ELSA-2017-3533 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Mar 31, 2017
- ELSA-2017-3534 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Mar 31, 2017
References
- SUSE-SU-2016:1690 vendor-advisory
- USN-3004-1 vendor-advisory
- USN-3001-1 vendor-advisory
- 20160406 CVE-2016-3672 - Unlimiting the stack not longer disables ASLR mailing-list
- http://hmarco.org/bugs/CVE-2016-3672-Unlimiting-the-stack-not-longer-disables-ASLR.html
- 20160406 CVE-2016-3672 - Unlimiting the stack not longer disables ASLR mailing-list
- openSUSE-SU-2016:2184 vendor-advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8b8addf891de8a00e4d39fc32f93f7c5eb8feceb
- 85884 vdb-entry
- RHSA-2018:1062 vendor-advisory
- openSUSE-SU-2016:1641 vendor-advisory
- USN-2997-1 vendor-advisory
- USN-3000-1 vendor-advisory
- https://github.com/torvalds/linux/commit/8b8addf891de8a00e4d39fc32f93f7c5eb8feceb
- http://hmarco.org/bugs/CVE-2016-3672-Unlimiting-the-stack-not-longer-dis
- DSA-3607 vendor-advisory
- USN-3002-1 vendor-advisory
- USN-2996-1 vendor-advisory
- FEDORA-2016-76706f51a7 vendor-advisory
- RHSA-2018:0676 vendor-advisory
- 39669 exploit
- USN-2989-1 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1324749
- 1035506 vdb-entry
- USN-3003-1 vendor-advisory
- SUSE-SU-2016:2105 vendor-advisory
- USN-2998-1 vendor-advisory
- SUSE-SU-2016:1937 vendor-advisory