NULL pointer dereference in Linux Kernel
CVE-2018-1000200
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).
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.005, 39.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux Kernel — versions 4.14, 4.15, 4.16
Weakness classification (CWE)
References
- USN-3752-2 (vendor-advisory)
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/ (Patch, Mitigation, Vendor Advisory)
- USN-3752-3 (vendor-advisory)
- access.redhat.com/security/cve/cve-2018-1000200 (Third Party Advisory)
- [linux-kernel] 20180424 [patch v3 for-4.17] mm, oom: fix concurrent munlock and oom reaper unmap (mailing-list, Mailing List, Third Party Advisory)
- RHSA-2018:2948 (vendor-advisory)
- www.securityfocus.com/bid/104397 (Third Party Advisory, VDB Entry, vdb-entry)
- [linux-kernel] 20180417 [patch] mm, oom: fix concurrent munlock and oom reaper unmap (mailing-list, Mailing List, Third Party Advisory)
- USN-3752-1 (vendor-advisory)
- [oss-security] 20180424 CVE-2018-1000200 (Linux): Bad memory access on oom kill of large mlocked process (mailing-list, Mailing List, Third Party Advisory)