CVE-2020-10942 json
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…
published 2020-03-24 6 y ago modified 2026-06-17 4 mo ago also EUVD-2020-3347
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 63%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- linux linux_kernel 5.5.8
- linux Debian 14, Debian 13, Debian 12 5.5.13-1
debian advisories DEBIAN-CVE-2020-10942
- linux Ubuntu 16.04 LTS 4.4.0-179.209
- linux Ubuntu 18.04 LTS 4.15.0-99.100
- linux-aws Ubuntu 16.04 LTS 4.4.0-1107.118
- linux-aws Ubuntu 18.04 LTS 4.15.0-1066.70
- linux-gcp Ubuntu 16.04 LTS 4.15.0-1061.65
- linux-hwe Ubuntu 16.04 LTS 4.15.0-99.100~16.04.1
- linux-hwe Ubuntu 18.04 LTS 5.3.0-51.44~18.04.2
- linux-kvm Ubuntu 16.04 LTS 4.4.0-1071.78
ubuntu advisories UBUNTU-CVE-2020-10942
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 8 4.18.0-240.el8
- perf RHEL 8 4.18.0-240.el8
- bpftool RHEL 8 4.18.0-240.el8
- kernel-core RHEL 8 4.18.0-240.el8
- kernel-tools RHEL 8 4.18.0-240.el8
- python3-perf RHEL 8 4.18.0-240.el8
- kernel-modules RHEL 8 4.18.0-240.el8
- kernel-zfcpdump RHEL 8 4.18.0-240.el8
red hat advisories RHSA-2020:4431RHSA-2020:4060RHSA-2020:4609RHSA-2020:4062
- kernel-syms SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 4.12.14-150.52.1
- kernel-source SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 4.12.14-150.52.1
- kernel-default SLES for SAP 15, SLES 15-LTSS, SLE Live Patching 15 +3 more 4.12.14-150.52.1
- kernel-vanilla SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 4.12.14-150.52.1
- kernel-obs-build SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 4.12.14-150.52.1
- kernel-syms SLES for SAP 12 SP2, SLES 12 SP2-LTSS, SLES 12 SP2-BCL +1 more 4.4.121-92.129.1
- kernel-source SLES for SAP 12 SP2, SLES 12 SP2-LTSS, SLES 12 SP2-BCL +1 more 4.4.121-92.129.1
- kernel-default SLES for SAP 12 SP2, SLES 12 SP2-LTSS, SLES 12 SP2-BCL +2 more 4.4.121-92.129.1
suse advisories SUSE-SU-2020:1663-1SUSE-SU-2020:1255-1SUSE-SU-2020:1275-1SUSE-SU-2020:14354-1SUSE-SU-2020:1146-1SUSE-SU-2020:1142-1
- kernel-syms openSUSE Leap 15.1 4.12.14-lp151.28.48.1
- kernel-obs-qa openSUSE Leap 15.1 4.12.14-lp151.28.48.1
- kernel-source openSUSE Leap 15.1 4.12.14-lp151.28.48.1
- kernel-default openSUSE Leap 15.1 4.12.14-lp151.28.48.1
- kernel-vanilla openSUSE Leap 15.1 4.12.14-lp151.28.48.1
- kernel-kvmsmall openSUSE Leap 15.1 4.12.14-lp151.28.48.1
- kernel-obs-build openSUSE Leap 15.1 4.12.14-lp151.28.48.1
opensuse advisories openSUSE-SU-2020:0543-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-10942 updated cvss 5.3
kernel: vhost-net: stack overflow in get_raw_socket while checking sk_family field
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, kernel-alt, python-perf, kernel-kdump, kernel-tools, +3 moreaffected: no fix available
-
Red Hat CodeReady Linux Builder (v. 8) kernel-debuginfo-common-x86_64 4.18.0-240.el8, kernel-debuginfo-common-aarch64 4.18.0-240.el8, kernel-debuginfo-common-ppc64le 4.18.0-240.el8 Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-240.el8, kernel 4.18.0-240.el8, bpftool 4.18.0-240.el8, kernel-core 4.18.0-240.el8, kernel-tools 4.18.0-240.el8, python3-perf 4.18.0-240.el8, +15 morefixed: vendor fix RHSA-2020:4431
-
Red Hat Enterprise Linux Client (v. 7) perf 3.10.0-1160.el7, kernel 3.10.0-1160.el7, bpftool 3.10.0-1160.el7, python-perf 3.10.0-1160.el7, kernel-tools 3.10.0-1160.el7, kernel-tools-libs 3.10.0-1160.el7, +2 more Red Hat Enterprise Linux Client Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-1160.el7 Red Hat Enterprise Linux ComputeNode (v. 7) perf 3.10.0-1160.el7, kernel 3.10.0-1160.el7, bpftool 3.10.0-1160.el7, python-perf 3.10.0-1160.el7, kernel-tools 3.10.0-1160.el7, kernel-tools-libs 3.10.0-1160.el7, +2 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-1160.el7fixed: vendor fix RHSA-2020:4060
-
Red Hat Enterprise Linux for Real Time (v. 7) kernel-rt 3.10.0-1160.rt56.1131.el7, kernel-rt-trace 3.10.0-1160.rt56.1131.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-1160.rt56.1131.el7 Red Hat Enterprise Linux for Real Time for NFV (v. 7) kernel-rt 3.10.0-1160.rt56.1131.el7, kernel-rt-kvm 3.10.0-1160.rt56.1131.el7, kernel-rt-trace 3.10.0-1160.rt56.1131.el7, kernel-rt-debug-kvm 3.10.0-1160.rt56.1131.el7, kernel-rt-trace-kvm 3.10.0-1160.rt56.1131.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-1160.rt56.1131.el7fixed: vendor fix RHSA-2020:4062
-
Red Hat Enterprise Linux Real Time (v. 8) kernel-rt 4.18.0-240.rt7.54.el8, kernel-rt-core 4.18.0-240.rt7.54.el8, kernel-rt-modules 4.18.0-240.rt7.54.el8, kernel-rt-debug-core 4.18.0-240.rt7.54.el8, kernel-rt-debug-modules 4.18.0-240.rt7.54.el8, kernel-rt-modules-extra 4.18.0-240.rt7.54.el8, +2 more Red Hat Enterprise Linux Real Time for NFV (v. 8) kernel-rt 4.18.0-240.rt7.54.el8, kernel-rt-kvm 4.18.0-240.rt7.54.el8, kernel-rt-core 4.18.0-240.rt7.54.el8, kernel-rt-modules 4.18.0-240.rt7.54.el8, kernel-rt-debug-kvm 4.18.0-240.rt7.54.el8, kernel-rt-debug-core 4.18.0-240.rt7.54.el8, +4 morefixed: vendor fix RHSA-2020:4609
-
Red Hat Enterprise Linux Server (v. 7) perf 3.10.0-1160.el7, kernel 3.10.0-1160.el7, bpftool 3.10.0-1160.el7, python-perf 3.10.0-1160.el7, kernel-kdump 3.10.0-1160.el7, kernel-tools 3.10.0-1160.el7, +7 more Red Hat Enterprise Linux Server Optional (v. 7) kernel-debuginfo-common-ppc64 3.10.0-1160.el7, kernel-debuginfo-common-x86_64 3.10.0-1160.el7, kernel-debuginfo-common-ppc64le 3.10.0-1160.el7 Red Hat Enterprise Linux Workstation (v. 7) perf 3.10.0-1160.el7, kernel 3.10.0-1160.el7, bpftool 3.10.0-1160.el7, python-perf 3.10.0-1160.el7, kernel-tools 3.10.0-1160.el7, kernel-tools-libs 3.10.0-1160.el7, +2 more Red Hat Enterprise Linux Workstation Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-1160.el7fixed: vendor fix RHSA-2020:4060
-
Red Hat Enterprise Linux 5 kernel Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmwarenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.00% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- lkml.org https://lkml.org/lkml/2020/2/15/125 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H |
| NVD | 2.0 | 5.4 | AV:L/AC:M/Au:N/C:N/I:P/A:C |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
- Technology feeds
References
-
git.kernel.org
/linus/42d84c8490f9f0931786f1623191fcab397c3d64
patch, third-party-advisory
-
lkml.org
/lkml/2020/2/15/125
exploit, patch, vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-04/msg00035.html
vendor-advisory, mailing-list, third-party-advisory
-
debian.org
/security/2020/dsa-4667
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4344-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4345-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4342-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4364-1/
vendor-advisory, third-party-advisory
-
debian.org
/security/2020/dsa-4698
vendor-advisory, third-party-advisory
-
cdn.kernel.org
/pub/linux/kernel/v5.x/ChangeLog-5.5.8
release-notes, vendor-advisory
-
security.netapp.com
/advisory/ntap-20200403-0003/
third-party-advisory
-
openwall.com
/lists/oss-security/2020/04/15/4
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2020/06/msg00011.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2020/06/msg00012.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2020/06/msg00013.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2020-10942
- NVD CVE-2020-10942
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.