CVE-2021-31916: Medium severity linux kernel vulnerability

Published Mar 29, 2021
·
Updated

An out-of-bounds (OOB) memory write flaw was found in listdevices 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 (CAPSYSADMIN) 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.

Other sources

An out-of-bounds (OOB) memory write flaw was found in listdevices in drivers/md/dm-ioctl.c in the Multi-device driver module in the Linux kernel. A bound check failure allows an attacker with special user (CAPSYSADMIN) privilege to gain access to out-of-bounds memory leading to a system crash, a leak of internal kernel information, or a privilege escalation problem.

Affected Software

8 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-348.rt7.130.el8
0:4.18.0-348.rt7.130.el8
redhat/kernel<0:4.18.0-348.el8
0:4.18.0-348.el8
redhat/Kernel<5.12
5.12
Linux Linux kernel<5.12
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
Debian Debian Linux=9.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Remediation

Information

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Event History

Mar 29, 2021
CVE Published
12:00 AM
May 6, 2021
CVE Published
via MITRE·04:14 PM
Data Sourced
via MITRE·04:14 PM
DescriptionWeakness
Jan 11, 2024
Data Sourced
via Launchpad·11:56 PM
Description
Apr 28, 2025
Data Sourced
via Ubuntu·04:26 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2021-31916?

CVE-2021-31916 is considered a high-severity vulnerability due to its potential for escalating privileges.

2

How do I fix CVE-2021-31916?

To address CVE-2021-31916, update your Linux kernel to version 5.12 or later, or apply the specific vendor patches provided for your operating system.

3

Which systems are affected by CVE-2021-31916?

CVE-2021-31916 affects multiple Linux distributions including Red Hat Enterprise Linux 7 and 8, and Debian 9.0.

4

What type of vulnerability is CVE-2021-31916?

CVE-2021-31916 is an out-of-bounds memory write flaw that can lead to potential privilege escalation.

5

Can CVE-2021-31916 be exploited remotely?

CVE-2021-31916 requires special user privileges (CAP_SYS_ADMIN) for exploitation, limiting its remote attack potential.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203