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).
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-1000200.json"
[
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "4.14"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "4.15"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "4.16"
}
]
}
]