CVE-2020-10942
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2020-10942 affects the Linux kernel before version 5.5.8, specifically in the get_raw_socket function within drivers/vhost/net.c. The vulnerability was discovered in March 2020 and involves a lack of validation of an sk_family field (NVD, MITRE).

Technical details

The vulnerability stems from improper validation of the sk_family field in the get_raw_socket function within the vhost-net driver. When performing an ioctl(VHOST_NET_SET_BACKEND) call and retrieving socket name in a kernel stack variable via get_raw_socket(), the lack of proper validation can lead to kernel stack corruption (OSS Security). The vulnerability has been assigned a CVSS v3.1 Base Score of 5.3 (Medium) with vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H (NVD).

Impact

Successful exploitation of this vulnerability could allow a local attacker with access to /dev/vhost-net to trigger kernel stack corruption via crafted system calls. This can result in a denial of service (system crash) or potentially lead to privilege escalation (Ubuntu Security, Debian Security).

Mitigation and workarounds

The vulnerability was fixed in Linux kernel version 5.5.8 through a patch that changes the socket family validation method. Instead of using getname() to check the socket family, the fix directly checks sk->sk_family, which is more secure and efficient (Kernel Patch). Major Linux distributions have released security updates to address this vulnerability, including Ubuntu, Debian, and Red Hat (NetApp Advisory).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-core
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-doc
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-abi-stablelists
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules
NoYesJan 14, 2026

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