# CVE-2020-10942: In the Linux kernel before 5.5.8, getrawsocket in drivers/vhost/net.c lacks validation of an skfamily field, which might allow attackers to…

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.00%, higher than 63% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-03-24T21:03:52.000Z
- Modified: 2026-06-17T02:48:43.460Z
- Weaknesses: CWE-787
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linux linux_kernel: before 5.5.8
- opensuse leap: 15.1
- debian debian_linux: 8.0; 9.0; 10.0
- canonical ubuntu_linux: 14.04; 16.04; 18.04; 19.10

## Every score

- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H`
- NVD: CVSS:2.0 5.4 Medium `AV:L/AC:M/Au:N/C:N/I:P/A:C`

## References

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

## Sources

- CVE List: [CVE-2020-10942](https://www.cve.org/CVERecord?id=CVE-2020-10942), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-10942](https://nvd.nist.gov/vuln/detail/CVE-2020-10942), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-10942 · Whole record: https://cve.day/CVE-2020-10942.json · Rebuilt by cve.day 2026-11-25T22:57:51.648Z
