{"api_version":"1","generated_at":"2026-04-23T02:37:30+00:00","cve":"CVE-2021-31916","urls":{"html":"https://cve.report/CVE-2021-31916","api":"https://cve.report/api/cve/CVE-2021-31916.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-31916","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-31916"},"summary":{"title":"CVE-2021-31916","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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2021-05-06 17:15:00","updated_at":"2022-01-01 17:51:00"},"problem_types":["CWE-787"],"metrics":[],"references":[{"url":"https://github.com/torvalds/linux/commit/4edbe1d7bcffcd6269f3b5eb63f710393ff2ec7a","name":"https://github.com/torvalds/linux/commit/4edbe1d7bcffcd6269f3b5eb63f710393ff2ec7a","refsource":"MISC","tags":[],"title":"dm ioctl: fix out of bounds array access when no devices · torvalds/linux@4edbe1d · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2021/06/msg00020.html","name":"[debian-lts-announce] 20210623 [SECURITY] [DLA 2689-1] linux security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2689-1] linux security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1946965","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1946965","refsource":"MISC","tags":[],"title":"1946965 – (CVE-2021-31916) CVE-2021-31916 kernel: out of bounds array access in drivers/md/dm-ioctl.c","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2021/06/msg00019.html","name":"[debian-lts-announce] 20210623 [SECURITY] [DLA 2690-1] linux-4.19 security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2690-1] linux-4.19 security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://seclists.org/oss-sec/2021/q1/268","name":"https://seclists.org/oss-sec/2021/q1/268","refsource":"MISC","tags":[],"title":"oss-sec: Linux Kernel: out of bounds array access in dm-ioctl.c","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-31916","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31916","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"31916","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"31916","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"31916","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"7.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"31916","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-31916","qid":"159276","title":"Oracle Enterprise Linux Security Update for Unbreakable Enterprise kernel (ELSA-2021-9305)"},{"cve":"CVE-2021-31916","qid":"159277","title":"Oracle Enterprise Linux Security Update for Unbreakable Enterprise kernel (ELSA-2021-9306)"},{"cve":"CVE-2021-31916","qid":"159278","title":"Oracle Enterprise Linux Security Update for Unbreakable Enterprise kernel-container (ELSA-2021-9307)"},{"cve":"CVE-2021-31916","qid":"159280","title":"Oracle Enterprise Linux Security Update for Unbreakable Enterprise kernel-container (ELSA-2021-9308)"},{"cve":"CVE-2021-31916","qid":"159296","title":"Oracle Enterprise Linux Security Update for Unbreakable Enterprise kernel (ELSA-2021-9346)"},{"cve":"CVE-2021-31916","qid":"159492","title":"Oracle Enterprise Linux Security Update for kernel (ELSA-2021-4356)"},{"cve":"CVE-2021-31916","qid":"178679","title":"Debian Security Update for linux-4.19 (DLA 2690-1)"},{"cve":"CVE-2021-31916","qid":"178680","title":"Debian Security Update for linux (DLA 2689-1)"},{"cve":"CVE-2021-31916","qid":"180153","title":"Debian Security Update for linux (CVE-2021-31916)"},{"cve":"CVE-2021-31916","qid":"198365","title":"Ubuntu Security Notification for Linux kernel (OEM) vulnerabilities (USN-4948-1)"},{"cve":"CVE-2021-31916","qid":"198398","title":"Ubuntu Security Notification for Linux kernel vulnerabilities (USN-4979-1)"},{"cve":"CVE-2021-31916","qid":"198401","title":"Ubuntu Security Notification for Linux kernel vulnerabilities (USN-4982-1)"},{"cve":"CVE-2021-31916","qid":"198403","title":"Ubuntu Security Notification for Linux kernel vulnerabilities (USN-4984-1)"},{"cve":"CVE-2021-31916","qid":"239816","title":"Red Hat Update for kernel security (RHSA-2021:4356)"},{"cve":"CVE-2021-31916","qid":"239879","title":"Red Hat Update for kernel-rt (RHSA-2021:4140)"},{"cve":"CVE-2021-31916","qid":"352366","title":"Amazon Linux Security Advisory for kernel: ALAS-2021-1503"},{"cve":"CVE-2021-31916","qid":"352831","title":"Amazon Linux Security Advisory for kernel: ALAC2012-2021-030"},{"cve":"CVE-2021-31916","qid":"352832","title":"Amazon Linux Security Advisory for kmod-sfc: ALAC2012-2021-031"},{"cve":"CVE-2021-31916","qid":"352833","title":"Amazon Linux Security Advisory for kmod-mlx5: ALAC2012-2021-032"},{"cve":"CVE-2021-31916","qid":"390223","title":"Oracle Managed Virtualization (VM) Server for x86 Security Update for kernel (OVMSA-2021-0022)"},{"cve":"CVE-2021-31916","qid":"610372","title":"Google Pixel Android October 2021 Security Patch Missing"},{"cve":"CVE-2021-31916","qid":"610381","title":"Google Android November 2021 Security Patch Missing for Huawei EMUI"},{"cve":"CVE-2021-31916","qid":"670488","title":"EulerOS Security Update for kernel (EulerOS-SA-2021-2246)"},{"cve":"CVE-2021-31916","qid":"670514","title":"EulerOS Security Update for kernel (EulerOS-SA-2021-2272)"},{"cve":"CVE-2021-31916","qid":"670543","title":"EulerOS Security Update for kernel (EulerOS-SA-2021-2301)"},{"cve":"CVE-2021-31916","qid":"670578","title":"EulerOS Security Update for kernel (EulerOS-SA-2021-2336)"},{"cve":"CVE-2021-31916","qid":"670634","title":"EulerOS Security Update for kernel (EulerOS-SA-2021-2392)"},{"cve":"CVE-2021-31916","qid":"671047","title":"EulerOS Security Update for kernel (EulerOS-SA-2021-2588)"},{"cve":"CVE-2021-31916","qid":"751399","title":"OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2021:1501-1)"},{"cve":"CVE-2021-31916","qid":"751406","title":"OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2021:3806-1)"},{"cve":"CVE-2021-31916","qid":"751424","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2021:3848-1)"},{"cve":"CVE-2021-31916","qid":"751436","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2021:3877-1)"},{"cve":"CVE-2021-31916","qid":"751437","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2021:3876-1)"},{"cve":"CVE-2021-31916","qid":"751441","title":"OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2021:3876-1)"},{"cve":"CVE-2021-31916","qid":"751451","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2021:3935-1)"},{"cve":"CVE-2021-31916","qid":"751462","title":"OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2021:3941-1)"},{"cve":"CVE-2021-31916","qid":"751473","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2021:3969-1)"},{"cve":"CVE-2021-31916","qid":"751476","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2021:3972-1)"},{"cve":"CVE-2021-31916","qid":"900096","title":"CBL-Mariner Linux Security Update for kernel 5.10.52.1"},{"cve":"CVE-2021-31916","qid":"900304","title":"CBL-Mariner Linux Security Update for kernel 5.10.57.1"},{"cve":"CVE-2021-31916","qid":"900319","title":"CBL-Mariner Linux Security Update for kernel 5.10.60.1"},{"cve":"CVE-2021-31916","qid":"901545","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (6558-1)"},{"cve":"CVE-2021-31916","qid":"903632","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (4193)"},{"cve":"CVE-2021-31916","qid":"905761","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (4193-1)"},{"cve":"CVE-2021-31916","qid":"940265","title":"AlmaLinux Security Update for kernel (ALSA-2021:4356)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-31916","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"kernel","version":{"version_data":[{"version_value":"Kernel 5.12"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-787"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1946965","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1946965"},{"refsource":"MISC","name":"https://github.com/torvalds/linux/commit/4edbe1d7bcffcd6269f3b5eb63f710393ff2ec7a","url":"https://github.com/torvalds/linux/commit/4edbe1d7bcffcd6269f3b5eb63f710393ff2ec7a"},{"refsource":"MISC","name":"https://seclists.org/oss-sec/2021/q1/268","url":"https://seclists.org/oss-sec/2021/q1/268"},{"refsource":"MLIST","name":"[debian-lts-announce] 20210623 [SECURITY] [DLA 2689-1] linux security update","url":"https://lists.debian.org/debian-lts-announce/2021/06/msg00020.html"},{"refsource":"MLIST","name":"[debian-lts-announce] 20210623 [SECURITY] [DLA 2690-1] linux-4.19 security update","url":"https://lists.debian.org/debian-lts-announce/2021/06/msg00019.html"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]}},"nvd":{"publishedDate":"2021-05-06 17:15:00","lastModifiedDate":"2022-01-01 17:51:00","problem_types":["CWE-787"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":6.7,"baseSeverity":"MEDIUM"},"exploitabilityScore":0.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:C","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"COMPLETE","baseScore":6.1},"severity":"MEDIUM","exploitabilityScore":3.9,"impactScore":8.5,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.12","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"31916","Ordinal":"207236","Title":"CVE-2021-31916","CVE":"CVE-2021-31916","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"31916","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"31916","Ordinal":"2","NoteData":"2021-05-06","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"31916","Ordinal":"3","NoteData":"2021-06-22","Type":"Other","Title":"Modified"}]}}}