Buffer overflow in Linux Kernel
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 to trigger kernel stack corruption via crafted system calls.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H.
EPSS exploit prediction
EPSS 0.010, 63.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux Kernel
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- Debian Linux — versions 8.0, 9.0, 10.0
- openSUSE Leap — versions 15.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/linus/42d84c8490f9f0931786f1623191fcab397c3d64 (Patch, Third Party Advisory)
- lkml.org/lkml/2020/2/15/125 (Exploit, Patch, Vendor 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)
- [oss-security] 20200415 CVE-2020-10942 Kernel: vhost-net: stack overflow in get_raw_socket while checking sk_family field (mailing-list, Mailing List, Third Party Advisory)
- openSUSE-SU-2020:0543 (vendor-advisory, Mailing List, Third Party Advisory)
- DSA-4667 (vendor-advisory, Third Party Advisory)
- USN-4344-1 (vendor-advisory, Third Party Advisory)
- USN-4345-1 (vendor-advisory, Third Party Advisory)
- USN-4342-1 (vendor-advisory, Third Party Advisory)