CVE-2020-10942 Memory corruption in n/a

Medium 5.3 Published Updated

Attackers can trigger kernel stack corruption via crafted system calls due to missing validation in the vhost net driver, potentially leading to code execution or privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2020-10942?

CVE-2020-10942 is a medium-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 24 Mar 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel before 5.5.8, get_raw_socket in drivers/vhost/net.c lacks validation of an sk_family field, which might allow attackers to trigger kernel stack corruption via crafted system calls.

Weakness: CWE-787

Which versions are affected by CVE-2020-10942?

It affects 4 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Linux kernel, Opensuse Leap.

How do I fix CVE-2020-10942?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-10942 being exploited?

There is no known exploitation of CVE-2020-10942 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-10942, GHSA-m7p8-8c8g-qwrv, UBUNTU-CVE-2020-10942.

Is CVE-2020-10942 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free