Skip to contentSkip to conversation

arm64/mm: Remove hack in mmap randomize layout

DISCUSSION Applied Matthias Brugger 4 participants 4 messages Jul 13, 2015 – Sep 11, 2015 Stable branch

lore
Share & tools
lore
#0 lore raw

Hi all,

Commit d6c763afab14 "arm64/mm: Remove hack in mmap randomize layout" fixes a security issue which reduces the entropy for mmap base address by half [1]. A attempt to guess where the stack is mapped via brute-force needs just half the attempts.

I found this patch was added to v3.19-rc1 but should be added as well to:
v3.18, v3.14, v3.12 and v3.10

Best regards,
Matthias Brugger

[1] http://hmarco.org/bugs/linux-ASLR-reducing-mmap-by-half.html

#1 lore raw

Hi,

Quoted 11 lines · Matthias Brugger

Commit d6c763afab14 "arm64/mm: Remove hack in mmap randomize layout" fixes a security issue which reduces the entropy for mmap base address by half [1].
A attempt to guess where the stack is mapped via brute-force needs just half the attempts.

I found this patch was added to v3.19-rc1 but should be added as well to:
v3.18, v3.14, v3.12 and v3.10

I agree.

The issue fixed by commit d6c763afab142a85e4770b4bc2a5f40f256d5c5d is present since v3.7-rc1.

Quoted 1 line

[1] http://hmarco.org/bugs/linux-ASLR-reducing-mmap-by-half.html

Regards.

Signature · 2 lines
Yann Droneaud
OPTEYA
Applied
#2 lore raw
In reply to Matthias Brugger
Quoted 9 lines · Matthias Brugger

Hi all,

Commit d6c763afab14 "arm64/mm: Remove hack in mmap randomize layout" fixes a security issue which reduces the entropy for mmap base address by half [1]. A attempt to guess where the stack is mapped via brute-force needs just half the attempts.

I found this patch was added to v3.19-rc1 but should be added as well to:
v3.18, v3.14, v3.12 and v3.10

Applied to 3.12. Thanks.

Signature · 2 lines
js
suse labs
#3 lore raw
In reply to Matthias Brugger
Quoted 9 lines · Matthias Brugger

Hi all,

Commit d6c763afab14 "arm64/mm: Remove hack in mmap randomize layout" fixes a security issue which reduces the entropy for mmap base address by half [1]. A attempt to guess where the stack is mapped via brute-force needs just half the attempts.

I found this patch was added to v3.19-rc1 but should be added as well to:
v3.18, v3.14, v3.12 and v3.10

Thanks, now queued up for some of those.

greg k-h