Vulnerability Details : CVE-2021-31916
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.
Vulnerability category: Memory Corruption
Products affected by CVE-2021-31916
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-31916
0.05%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 12 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-31916
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.1
|
MEDIUM | AV:L/AC:L/Au:N/C:P/I:P/A:C |
3.9
|
8.5
|
NIST | |
6.7
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
0.8
|
5.9
|
NIST |
CWE ids for CVE-2021-31916
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: secalert@redhat.com (Primary)
References for CVE-2021-31916
-
https://seclists.org/oss-sec/2021/q1/268
oss-sec: Linux Kernel: out of bounds array access in dm-ioctl.cMailing List;Third Party Advisory
-
https://lists.debian.org/debian-lts-announce/2021/06/msg00019.html
[SECURITY] [DLA 2690-1] linux-4.19 security updateMailing List;Third Party Advisory
-
https://lists.debian.org/debian-lts-announce/2021/06/msg00020.html
[SECURITY] [DLA 2689-1] linux security updateMailing List;Third Party Advisory
-
https://bugzilla.redhat.com/show_bug.cgi?id=1946965
1946965 – (CVE-2021-31916) CVE-2021-31916 kernel: out of bounds array access in drivers/md/dm-ioctl.cIssue Tracking;Patch;Third Party Advisory
-
https://github.com/torvalds/linux/commit/4edbe1d7bcffcd6269f3b5eb63f710393ff2ec7a
dm ioctl: fix out of bounds array access when no devices · torvalds/linux@4edbe1d · GitHubPatch;Third Party Advisory
Jump to