CVE-2020-10942: Input Validation

Published Mar 22, 2020
·
Updated

A stack buffer overflow issue was found in the getrawsocket() routine of the Host kernel accelerator for virtio net (vhost-net) driver. It could occur while doing an ictol(VHOSTNETSETBACKEND) call, and retrieving socket name in a kernel stack variable via getrawsocket(). A user able to perform ioctl(2) calls on the '/dev/vhost-net' device may use this flaw to crash the kernel resulting in DoS issue.

Other sources

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 trigger kernel stack corruption via crafted system calls.

— Ubuntu

Affected Software

15 affected componentsFixes available
redhat/kernel-rt<0:3.10.0-1160.rt56.1131.el7
0:3.10.0-1160.rt56.1131.el7
redhat/kernel<0:3.10.0-1160.el7
0:3.10.0-1160.el7
redhat/kernel-rt<0:4.18.0-240.rt7.54.el8
0:4.18.0-240.rt7.54.el8
redhat/kernel<0:4.18.0-240.el8
0:4.18.0-240.el8
redhat/kernel<5.5.8
5.5.8
Linux Linux kernel<5.5.8
openSUSE Leap=15.1
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=19.10
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-1160.rt56.1131.el7
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-1160.el7
  3. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-240.rt7.54.el8
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-240.el8
  5. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.5.8
  6. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1
  7. Upgrade

    Upgrade Linux kernel (vhost-net) to a version that resolves this vulnerability.

    Fixed in 5.5.8

Event History

Mar 22, 2020
CVE Published
12:00 AM
Mar 24, 2020
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·09:03 PM
Data Sourced
via MITRE·09:03 PM
Description
Data Sourced
via NVD·10:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2020-10942?

CVE-2020-10942 is classified as a high severity vulnerability due to the potential for a stack buffer overflow in the virtio net driver.

2

How do I fix CVE-2020-10942?

To fix CVE-2020-10942, users should upgrade to one of the patched versions of the kernel specified by Red Hat, such as 0:3.10.0-1160.rt56.1131.el7 or 0:4.18.0-240.el8.

3

What systems are affected by CVE-2020-10942?

CVE-2020-10942 affects various Linux distributions, including Red Hat, Ubuntu, and Debian, specifically older kernel versions.

4

Who is impacted by CVE-2020-10942?

Any user or organization utilizing affected kernel versions in their systems that employ the virtio net driver may be impacted by CVE-2020-10942.

5

What are the symptoms of CVE-2020-10942 exploitation?

Exploitation of CVE-2020-10942 may lead to system instability, crashes, or arbitrary code execution in severe cases.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203