CVE-2021-31916Out-of-bounds Write in Kernel

CWE-787Out-of-bounds Write15 documents8 sources
Severity
6.7MEDIUMNVD
OSV7.8OSV6.5OSV5.3
EPSS
0.0%
top 93.13%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 6
Latest updateFeb 14

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HExploitability: 0.8 | Impact: 5.9

Affected Packages8 packages

NVDlinux/linux_kernel< 5.12
Debianlinux/linux_kernel< 5.10.28-1+3
Ubuntulinux/linux_kernel< 5.4.0-74.83+1
CVEListV5linux/linux_kernelKernel 5.12

Also affects: Debian Linux 9.0, Enterprise Linux 7.0, 8.0

Patches

🔴Vulnerability Details

7
GHSA
GHSA-2x6w-89x6-c628: An out-of-bounds (OOB) memory write flaw was found in list_devices in drivers/md/dm-ioctl2022-05-24
OSV
linux, linux-aws, linux-kvm, linux-lts-xenial vulnerabilities2022-04-01
OSV
CVE-2021-31916: In list_devices of dm-ioctl2021-10-01
OSV
linux, linux-aws, linux-azure, linux-gcp, linux-hwe-5.8, linux-kvm, linux-oracle, linux-raspi vulnerabilities2021-06-08
OSV
linux, linux-aws, linux-aws-5.4, linux-azure, linux-azure-5.4, linux-gcp, linux-gcp-5.4, linux-gke, linux-gke-5.4, linux-gkeop, linux-gkeop-5.4, linux-hwe-5.4, linux-kvm, linux-oracle, linux-oracle-5.2021-06-08

📋Vendor Advisories

7
Palo Alto
PAN-SA-2024-0001 Informational Bulletin: Impact of OSS CVEs in PAN-OS2024-02-14
Ubuntu
Linux kernel vulnerabilities2022-04-01
Ubuntu
Linux kernel vulnerabilities2021-06-08
Ubuntu
Linux kernel (OEM) vulnerabilities2021-05-11
Microsoft
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 2021-05-11