CVE-2021-3714
Linux Kernel vulnerability analysis and mitigation

Overview

A flaw was found in the Linux kernel's memory deduplication mechanism (CVE-2021-3714). Previous work has shown that memory deduplication can be attacked via a local exploitation mechanism. The vulnerability allows attackers to exploit memory deduplication through networked services by uploading page-sized files and detecting changes in access time to determine if pages have been merged (Ubuntu Security, NVD).

Technical details

The vulnerability exists in the kernel's memory deduplication feature known as KSM (Kernel Samepage Merging). An attacker can exploit this by uploading page-sized files and monitoring access time changes from networked services to determine if pages have been merged. The vulnerability has a CVSS 3.x Base Score of 5.9 (Medium) (Ubuntu Security).

Impact

This attack can leak targeted information if an attacker is willing to write an exploit for the running services. The vulnerability enables remote memory disclosure attacks, making it possible to disclose memory contents from a remote server by timing HTTP/1 and HTTP/2 network requests (Research Paper).

Mitigation and workarounds

KSM can be disabled with the command 'echo 2 > /sys/kernel/mm/ksm/run'. However, this will deduplicate memory and may cause an OOM (Out Of Memory) situation (Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management