Vulnerabilities · 2021 · Linux
CVE-2021-31916
Linux Kernel vulnerability
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 products
Linux Kernel, Enterprise Linux, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- bugzilla.redhat.com/show_bug.cgi?id=1946965 · Patch
- github.com/torvalds/linux/commit/4edbe1d7bcffcd6269f3b5eb63f710393ff2ec7a · Patch
- lists.debian.org/debian-lts-announce/2021/06/msg00019.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2021/06/msg00020.html · Third Party Advisory
- seclists.org/oss-sec/2021/q1/268 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-31916
- cve.org/CVERecord?id=CVE-2021-31916
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.