CVE-2021-31916
Vulnerability Summary
Timeline
Description
An out-of-bounds (OOB) memory write flaw was found in list_devices in drivers/md/dm-ioctl.c in the Multi-device driver module in the Linux kernel before 5.12. A bound check failure allows an attacker with special user (CAP_SYS_ADMIN) privilege to gain access to out-of-bounds memory leading to a system crash or a leak of internal kernel information. The highest threat from this vulnerability is to system availability.
CVSS Metrics
- v3.1•MEDIUM•Score: 6.7CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 6.1AV:L/AC:L/Au:N/C:P/I:P/A:C
EPSS Trends
Current EPSS score: 0.70%• Percentile: 52%
Techniques & Countermeasures
- CWE-787•Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
Affected Systems
- debian•linux
< 5.10.28-1 | < 5.10.28-1 | < 5.10.28-1 | < 5.10.28-1
- ubuntu•linux
all | < 4.4.0-223.256 | < 4.15.0-144.148 | < 5.4.0-74.83
- ubuntu•linux-aws
< 4.4.0-1103.108 | < 4.4.0-1139.153 | < 4.15.0-1103.110 | < 5.4.0-1049.51
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1049.51~18.04.1
- ubuntu•linux-aws-fips
< 4.15.0-2045.47 | all | < 5.4.0-1069.73+fips2
- ubuntu•linux-aws-hwe
< 4.15.0-1103.110~16.04.1
- ubuntu•linux-azure
< 4.15.0-1115.128~14.04.1 | < 4.15.0-1115.128~16.04.1 | all | < 5.4.0-1048.50
- ubuntu•linux-azure-4.15
< 4.15.0-1115.128
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1048.50~18.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde-5.15
< 5.15.0-1114.123~20.04.1
- ubuntu•linux-azure-fips
< 4.15.0-2027.30 | all | < 5.4.0-1073.76+fips1
- ubuntu•linux-bluefield
all | < 5.4.0-1012.15
- ubuntu•linux-dell300x
< 4.15.0-1022.26
- ubuntu•linux-fips
< 4.4.0-1073.79 | all | < 4.15.0-1060.68
- ubuntu•linux-gcp
< 4.15.0-1100.113~16.04.1 | all | < 5.4.0-1044.47
- ubuntu•linux-gcp-4.15
< 4.15.0-1100.113
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1044.47~18.04.2
- ubuntu•linux-gcp-edge
all
- ubuntu•linux-gcp-fips
all | < 5.4.0-1067.71~20.04.1
- ubuntu•linux-gke
< 5.4.0-1044.46
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.4
< 5.4.0-1044.46~18.04.1
- ubuntu•linux-gkeop
< 5.4.0-1016.17
- ubuntu•linux-gkeop-5.4
< 5.4.0-1016.17~18.04.1
- ubuntu•linux-hwe
< 4.15.0-144.148~16.04.1 | all
- ubuntu•linux-hwe-5.4
< 5.4.0-74.83~18.04.1
- ubuntu•linux-hwe-5.8
< 5.8.0-55.62~20.04.1
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-kvm
< 4.4.0-1104.113 | < 4.15.0-1092.94 | < 5.4.0-1040.41
- ubuntu•linux-lts-xenial
< 4.4.0-223.256~14.04.1
- ubuntu•linux-oem
all
- ubuntu•linux-oem-5.10
< 5.10.0-1025.26
- ubuntu•linux-oem-5.6
all
- ubuntu•linux-oracle
< 4.15.0-1072.80~16.04.1 | < 4.15.0-1072.80 | < 5.4.0-1046.50
- ubuntu•linux-oracle-5.0
all
- ubuntu•linux-oracle-5.3
all
- ubuntu•linux-oracle-5.4
< 5.4.0-1046.50~18.04.2
- ubuntu•linux-raspi
< 5.4.0-1036.39
- ubuntu•linux-raspi-5.4
< 5.4.0-1036.39~18.04.1
- ubuntu•linux-raspi-realtime
all
- ubuntu•linux-raspi2
< 4.15.0-1086.91 | all
- ubuntu•linux-realtime
all
- ubuntu•linux-riscv
all
- ubuntu•linux-riscv-5.8
< 5.8.0-26.28~20.04.1
Showing first 50 affected entries in server-rendered view.
References (15)
- https://bugzilla.redhat.com/show_bug.cgi?id=1946965
- https://github.com/torvalds/linux/commit/4edbe1d7bcffcd6269f3b5eb63f710393ff2ec7a
- https://seclists.org/oss-sec/2021/q1/268
- https://lists.debian.org/debian-lts-announce/2021/06/msg00020.html
- https://lists.debian.org/debian-lts-announce/2021/06/msg00019.html
- https://ubuntu.com/security/CVE-2021-31916
- https://git.kernel.org/linus/4edbe1d7bcffcd6269f3b5eb63f710393ff2ec7a
- https://www.openwall.com/lists/oss-security/2021/03/28/1
- https://ubuntu.com/security/notices/USN-4948-1
- https://ubuntu.com/security/notices/USN-4979-1
- https://ubuntu.com/security/notices/USN-4982-1
- https://ubuntu.com/security/notices/USN-4984-1
- https://ubuntu.com/security/notices/USN-5361-1
- https://www.cve.org/CVERecord?id=CVE-2021-31916
- https://security-tracker.debian.org/tracker/CVE-2021-31916