kernel: lack of check for mmap minimum address in expand_downwards in mm/mmap.c leads to NULL pointer dereferences exploit on non-SMAP platforms
Published Mar 5, 2019
5.5
MEDIUMCVSS 3.1
EPSS 5.67%
Description
In the Linux kernel before 4.20.14, expand_downwards in mm/mmap.c lacks a check for the mmap minimum address, which makes it easier for attackers to exploit kernel NULL pointer dereferences on non-SMAP platforms. This is related to a capability check for the wrong task.
Affected products
No data.
Configuration 1
- ≥ 4.9 · < 4.9.162
- ≥ 4.14 · < 4.14.105
- ≥ 4.19 · < 4.19.27
- ≥ 4.20 · < 4.20.14
Configuration 2
- 8.0
Configuration 3
- 7.0
- 8.0
Configuration 5
- 12.04
- 14.04
- 16.04
- 18.10
No data.
Red Hat Enterprise Linux 7
kernel-alt-0:4.14.0-115.7.1.el7a
Fixed · RHSA-2019:0831
Red Hat Enterprise Linux 8
kernel-0:4.18.0-80.4.2.el8_0
Fixed · RHSA-2019:1479
Red Hat Enterprise Linux 8
kernel-rt-0:4.18.0-80.4.2.rt9.152.el8_0
Fixed · RHSA-2019:1480
Red Hat Enterprise Linux 5
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise MRG 2
kernel
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | kernel-alt-0:4.14.0-115.7.1.el7a | Fixed | RHSA-2019:0831 |
| Red Hat Enterprise Linux 8 | kernel-0:4.18.0-80.4.2.el8_0 | Fixed | RHSA-2019:1479 |
| Red Hat Enterprise Linux 8 | kernel-rt-0:4.18.0-80.4.2.rt9.152.el8_0 | Fixed | RHSA-2019:1480 |
| Red Hat Enterprise Linux 5 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise MRG 2 | kernel | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat mitigation
Enabling selinux prevents the public exploit from working correctly.
References (31)
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0a1d52994d440e21def1c2174932410b4f2a98a1 x_refsource_MISCPatchVendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00045.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00052.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://packetstormsecurity.com/files/156053/Reliable-Datagram-Sockets-RDS-rds_atomic_free_op-Privilege-Escalation.html x_refsource_MISCExploitThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/bid/107296 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2019:0831 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:1479 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:1480 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2019-9213 Vendor Advisory
- https://bugs.chromium.org/p/project-zero/issues/detail?id=1792 x_refsource_MISCExploitMailing ListThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1686136 Issue Tracking
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.105 x_refsource_MISCMailing ListPatchVendor Advisory
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.27 x_refsource_MISCMailing ListPatchVendor Advisory
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.20.14 x_refsource_MISCMailing ListPatchVendor Advisory
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.162 x_refsource_MISCMailing ListPatchVendor Advisory
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-18588 Advisory
- https://github.com/torvalds/linux/commit/0a1d52994d440e21def1c2174932410b4f2a98a1 x_refsource_MISCMailing ListPatchVendor Advisory
- https://lists.debian.org/debian-lts-announce/2019/03/msg00034.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/04/msg00004.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/05/msg00002.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2019-9213
- https://usn.ubuntu.com/3930-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3930-2/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3931-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3931-2/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3932-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3932-2/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3933-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3933-2/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2019-9213
- https://www.exploit-db.com/exploits/46502/ exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
No data
GitHub
No data