kernel: offset2lib allows for the stack guard page to be jumped over
Published Jun 19, 2017
7.8
HIGHCVSS 3.1
EPSS 2.58%
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
No data.
- ≥ 4.1 · < 4.1.43
- ≥ 4.2 · < 4.4.78
- ≥ 4.5 · < 4.9.39
- ≥ 4.10 · < 4.11.12
- ≥ 4.12 · < 4.12.3
No data.
Red Hat Enterprise Linux 6
kernel-0:2.6.32-754.29.1.el6
Fixed · RHSA-2020:1524
Red Hat Enterprise Linux 5
kernel
Will not fix
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-alt
Will not fix
Red Hat Enterprise Linux 7
kernel-rt
Will not fix
Red Hat Enterprise MRG 2
realtime-kernel
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel-0:2.6.32-754.29.1.el6 | Fixed | RHSA-2020:1524 |
| Red Hat Enterprise Linux 5 | kernel | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-alt | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Will not fix | n/a |
| Red Hat Enterprise MRG 2 | realtime-kernel | Not affected | n/a |
No package ranges for this CVE.
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)
- http://www.debian.org/security/2017/dsa-3981 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.securityfocus.com/bid/99131 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2017-1000371 x_refsource_CONFIRMThird Party AdvisoryVDB EntryVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1462158 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000371
- https://www.cve.org/CVERecord?id=CVE-2017-1000371
- https://www.exploit-db.com/exploits/42273/ exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/42276/ exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry
- https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt x_refsource_MISCThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| http://www.debian.org/security/2017/dsa-3981 | vendor-advisoryx_refsource_DEBIANThird Party Advisory | |
| http://www.securityfocus.com/bid/99131 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/security/cve/CVE-2017-1000371 | x_refsource_CONFIRMThird Party AdvisoryVDB EntryVendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1462158 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-1000371 | ||
| https://www.cve.org/CVERecord?id=CVE-2017-1000371 | ||
| https://www.exploit-db.com/exploits/42273/ | exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry | |
| https://www.exploit-db.com/exploits/42276/ | exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry | |
| https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt | x_refsource_MISCThird Party Advisory |
Change history (0)
No recorded changes yet.