The Linux kernel before 4.8 allows local users to bypass ASLR on setuid programs (such as /bin/su) because install_exec_creds() is called too late in load_elf_binary() in fs/binfmt_elf.c, and thus the ptrace_may_access() check has a race condition when reading /proc/pid/stat.
4.13.0-16.195.13.0-19.195.3.0-18.195.3.0-24.265.4.0-9.123.11.0-12.193.12.0-1.33.12.0-2.53.12.0-2.73.12.0-3.83.12.0-3.93.12.0-4.103.12.0-4.123.12.0-5.133.12.0-7.15+170 more4.2.0-16.194.2.0-17.214.2.0-19.234.3.0-1.104.3.0-2.114.3.0-5.164.3.0-6.174.3.0-7.184.4.0-10.254.4.0-101.124+81 more4.4.0-150.1766.8.0-31.316.5.0-9.96.11.0-8.86.8.0-1008.86.5.0-1008.8Exploitability
AV:LAC:HPR:LUI:NScope
S:UImpact
C:HI:NA:NCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N