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.

Severity (CVSS NVD)6.7Medium
Exploit odds (30 days)0.7%top 46.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
AlmaLinux:8kernel-tools-libs-devel4.18.0-348.el8ALSA-2021:4356
Debian:12linux5.10.28-1DEBIAN-CVE-2021-31916
Debian:13linux5.10.28-1DEBIAN-CVE-2021-31916
Debian:14linux5.10.28-1DEBIAN-CVE-2021-31916
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2021-31916
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2021-31916
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2021-31916

Affected products (as reported)

VendorProductVersions
n/a kernel Kernel 5.12

Weakness: CWE-787

References