CVE-2018-1000200

kernel: NULL pointer dereference on OOM kill of large mlocked process

Published Jun 5, 2018 CVSS 3.0 · 5.5 Medium EPSS < 1% KEV · Not listed
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).

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2018-1875 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).
Ubuntu USN Ubuntu USN USN-3752-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3752-2 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-3752-3 Linux kernel (Azure, GCP, OEM) vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 12:40 PM
Reserved
Apr 17, 2018, 12:00 AM
Status
Modified
Published
Jun 5, 2018, 1:29 PM
Modified
Jun 17, 2026, 1:32 AM
Severity
Moderate
Public date
Apr 24, 2018, 12:00 AM