Vulnerability · Published May 6, 2021 · Assigned by redhat
CVE-2021-31916
Medium 6.7
In plain English
A medium-severity out-of-bounds write in kernel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-348.el8 | ALSA-2021:4356 |
| Debian:12 | linux | 5.10.28-1 | DEBIAN-CVE-2021-31916 |
| Debian:13 | linux | 5.10.28-1 | DEBIAN-CVE-2021-31916 |
| Debian:14 | linux | 5.10.28-1 | DEBIAN-CVE-2021-31916 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2021-31916 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2021-31916 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2021-31916 |
Affected products (as reported)
Weakness: CWE-787
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1946965 x_refsource_MISC
- https://github.com/torvalds/linux/commit/4edbe1d7bcffcd6269f3b5eb63f710393ff2ec7a x_refsource_MISC
- https://seclists.org/oss-sec/2021/q1/268 x_refsource_MISC
- [debian-lts-announce] 20210623 [SECURITY] [DLA 2689-1] linux security update mailing-list, x_refsource_MLIST
- [debian-lts-announce] 20210623 [SECURITY] [DLA 2690-1] linux-4.19 security update mailing-list, x_refsource_MLIST