Description
The Linux Kernel versions 4.14, 4.15, and 4.16 has a null pointer dereference which can result in an out of memory (OOM) killing of large mlocked processes. The issue arises from an oom killed process's final thread calling exit_mmap(), which calls munlock_vma_pages_all() for mlocked vmas.This can happen synchronously with the oom reaper's unmap_page_range() since the vma's VM_LOCKED bit is cleared before munlocking (to determine if any other vmas share the memory and are mlocked).
References (10)
Core 10
Core References
Vendor Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/3752-3/
Vendor Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/3752-2/
Mitigation, Patch, Vendor Advisory x_refsource_confirm
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=27ae357fa82be5ab73b2ef8d39dcb8ca2563483a
Third Party Advisory x_refsource_confirm
https://access.redhat.com/security/cve/cve-2018-1000200
Mailing List, Third Party Advisory mailing-list
x_refsource_mlist
https://marc.info/?l=linux-kernel&m=152460926619256
Vendor Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:2948
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/104397
Mailing List, Third Party Advisory mailing-list
x_refsource_mlist
https://marc.info/?l=linux-kernel&m=152400522806945
Vendor Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/3752-1/
Mailing List, Third Party Advisory mailing-list
x_refsource_mlist
http://seclists.org/oss-sec/2018/q2/67
Scores
CVSS v3
5.5
EPSS
0.0049
EPSS Percentile
38.6%
Attack Vector
LOCAL
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-476
Status
published
Products (3)
linux/linux_kernel
4.14
linux/linux_kernel
4.15
linux/linux_kernel
4.16
Published
Jun 05, 2018
Tracked Since
Feb 18, 2026