Skip to content
OpenAdvisories

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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 18

References