CVE-2021-31916
publishedkernel: out of bounds array access in drivers/md/dm-ioctl.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | kernelKernel 5.12 | Affected | Not stated | redhat |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-348.el8 | ALSA-2021:4356 |
| Debian | stretch | linux | Advisory build | 4.9.272-1 | DLA-2689-1 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Debian | stretch | linux-4.19 | Advisory build | 4.19.194-1~deb9u1 | DLA-2690-1 |
| Oracle Linux | 6 | kernel-uekx86_64 | Advisory build | 0:4.1.12-124.52.4.el6uek | ELSA-2021-9346 |
| Oracle Linux | 6 | kernel-uek-debugx86_64 | Advisory build | 0:4.1.12-124.52.4.el6uek | ELSA-2021-9346 |
| Oracle Linux | 6 | kernel-uek-debug-develx86_64 | Advisory build | 0:4.1.12-124.52.4.el6uek | ELSA-2021-9346 |
| Oracle Linux | 6 | kernel-uek-develx86_64 | Advisory build | 0:4.1.12-124.52.4.el6uek | ELSA-2021-9346 |
| Oracle Linux | 6 | kernel-uek-docx86_64 | Advisory build | 0:4.1.12-124.52.4.el6uek | ELSA-2021-9346 |
| Oracle Linux | 6 | kernel-uek-firmwarex86_64 | Advisory build | 0:4.1.12-124.52.4.el6uek | ELSA-2021-9346 |
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:4.14.35-2047.504.2.el7uek | ELSA-2021-9305 |
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2102.202.5.el7uek | ELSA-2021-9306 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:4.1.12-124.52.4.el7uek | ELSA-2021-9346 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:4.14.35-2047.504.2.el7uek | ELSA-2021-9305 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2102.202.5.el7uek | ELSA-2021-9306 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:4.14.35-2047.504.2.el7 | ELSA-2021-9308 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2102.202.5.el7 | ELSA-2021-9307 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2102.202.5.el7 | ELSA-2021-9307 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:4.14.35-2047.504.2.el7uek | ELSA-2021-9305 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2102.202.5.el7uek | ELSA-2021-9306 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:4.1.12-124.52.4.el7uek | ELSA-2021-9346 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:4.14.35-2047.504.2.el7uek | ELSA-2021-9305 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2102.202.5.el7uek | ELSA-2021-9306 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:4.14.35-2047.504.2.el7uek | ELSA-2021-9305 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2102.202.5.el7uek | ELSA-2021-9306 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:4.1.12-124.52.4.el7uek | ELSA-2021-9346 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:4.14.35-2047.504.2.el7uek | ELSA-2021-9305 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2102.202.5.el7uek | ELSA-2021-9306 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:4.14.35-2047.504.2.el7uek | ELSA-2021-9305 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2102.202.5.el7uek | ELSA-2021-9306 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:4.1.12-124.52.4.el7uek | ELSA-2021-9346 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:4.14.35-2047.504.2.el7uek | ELSA-2021-9305 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2102.202.5.el7uek | ELSA-2021-9306 |
| Oracle Linux | 7 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2102.202.5.el7uek | ELSA-2021-9306 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:4.1.12-124.52.4.el7uek | ELSA-2021-9346 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:4.14.35-2047.504.2.el7uek | ELSA-2021-9305 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2102.202.5.el7uek | ELSA-2021-9306 |
| Oracle Linux | 7 | kernel-uek-firmwarex86_64 | Advisory build | 0:4.1.12-124.52.4.el7uek | ELSA-2021-9346 |
| Oracle Linux | 7 | kernel-uek-headersaarch64 | Advisory build | 0:4.14.35-2047.504.2.el7uek | ELSA-2021-9305 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:4.14.35-2047.504.2.el7uek | ELSA-2021-9305 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:5.4.17-2102.202.5.el7uek | ELSA-2021-9306 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:4.14.35-2047.504.2.el7uek | ELSA-2021-9305 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2102.202.5.el7uek | ELSA-2021-9306 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:4.14.35-2047.504.2.el7uek | ELSA-2021-9305 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:5.4.17-2102.202.5.el7uek | ELSA-2021-9306 |
| Oracle Linux | 7 | kernel-uek-tools-libs-develaarch64 | Advisory build | 0:4.14.35-2047.504.2.el7uek | ELSA-2021-9305 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:4.14.35-2047.504.2.el7uek | ELSA-2021-9305 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:5.4.17-2102.202.5.el7uek | ELSA-2021-9306 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:4.14.35-2047.504.2.el7uek | ELSA-2021-9305 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:5.4.17-2102.202.5.el7uek | ELSA-2021-9306 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-toolsx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-tools-libsaarch64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-tools-libsx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-tools-libs-develaarch64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-tools-libs-develx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2102.202.5.el8uek | ELSA-2021-9306 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2102.202.5.el8uek | ELSA-2021-9306 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2102.202.5.el8 | ELSA-2021-9307 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2102.202.5.el8 | ELSA-2021-9307 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2102.202.5.el8uek | ELSA-2021-9306 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2102.202.5.el8uek | ELSA-2021-9306 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2102.202.5.el8uek | ELSA-2021-9306 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2102.202.5.el8uek | ELSA-2021-9306 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2102.202.5.el8uek | ELSA-2021-9306 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2102.202.5.el8uek | ELSA-2021-9306 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2102.202.5.el8uek | ELSA-2021-9306 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2102.202.5.el8uek | ELSA-2021-9306 |
| Oracle Linux | 8 | perfaarch64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | perfx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | python3-perfaarch64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | python3-perfx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | kernel | Kernel 5.12 (affected) | redhat · cna |
Weaknesses
1- CWE-787
References
5- https://bugzilla.redhat.com/show_bug.cgi?id=1946965
- https://github.com/torvalds/linux/commit/4edbe1d7bcffcd6269f3b5eb63f710393ff2ec7a
- [debian-lts-announce] 20210623 [SECURITY] [DLA 2690-1] linux-4.19 security update https://lists.debian.org/debian-lts-announce/2021/06/msg00019.html
- [debian-lts-announce] 20210623 [SECURITY] [DLA 2689-1] linux security update https://lists.debian.org/debian-lts-announce/2021/06/msg00020.html
- https://seclists.org/oss-sec/2021/q1/268
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3ebfd53eb4c65478b85d707d24f33bea381af317ac593b8b837a33fea350c530
- Ingested
- 23 Sep 2026, 07:54:21 UTC
- Source record
- Official CVE record