Back

HIGH

kernel: offset2lib allows for the stack guard page to be jumped over

Published Jun 19, 2017

Description

The offset2lib patch as used by the Linux Kernel contains a vulnerability, if RLIMIT_STACK is set to RLIM_INFINITY and 1 Gigabyte of memory is allocated (the maximum under the 1/4 restriction) then the stack will be grown down to 0x80000000, and as the PIE binary is mapped above 0x80000000 the minimum distance between the end of the PIE binary's read-write segment and the start of the stack becomes small enough that the stack guard page can be jumped over by an attacker. This affects Linux Kernel version 4.11.5. This is a different issue than CVE-2017-1000370 and CVE-2017-1000365. This issue appears to be limited to i386 based systems.

Affected products

Remediation

Red Hat statement

This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 7, MRG-2 and realtime kernels. This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 5 and 6. Future Linux kernel updates for the respective releases may address this issue.

References (9)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Jun 19, 2017
Updated Aug 5, 2024
Reserved Jun 19, 2017
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Low
Public date Jun 19, 2017