
Cloud Vulnerability DB
A community-led vulnerabilities database
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).
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).
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).
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).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."