CVE-2021-28972
JSON

6.7medium

In drivers/pci/hotplug/rpadlparsysfs.c in the Linux kernel through 5.11.8, the RPA PCI Hotplug driver has a user-tolerable buffer overflow…

Severity
6.7medium CVSS:3.1 by NVD
Exploit likelihood
0.80% (higher than 54% of CVEs)
Published
Last changed
Assigned by
mitre

Description

In drivers/pci/hotplug/rpadlpar_sysfs.c in the Linux kernel through 5.11.8, the RPA PCI Hotplug driver has a user-tolerable buffer overflow when writing a new device name to the driver from userspace, allowing userspace to write data to the kernel stack frame directly. This occurs because add_slot_store and remove_slot_store mishandle drc_name '\0' termination, aka CID-cc7a0bb058b8.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
linux linux_kernelbefore 4.4.263, from >4.5 up to 4.9.263, from 4.10 before 4.14.227, from >4.15 up to 4.19.183, from 4.20 before 5.4.108, from 5.5.0 before 5.10.26, from 5.11 before 5.11.9NVD
fedoraproject fedora32, 33, 34NVD
netapp cloud_backupNot specifiedNVD
netapp fas/aff_baseboard_management_controllerNot specifiedNVD
netapp solidfire_baseboard_management_controller_firmwareNot specifiedNVD

All scores

NVD6.7medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD7.2high CVSS:2.0AV:L/AC:L/Au:N/C:C/I:C/A:C

Classification

CWE-120

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

In drivers/pci/hotplug/rpadlpar_sysfs.c in the Linux kernel through 5.11.8, the RPA PCI Hotplug driver has a user-tolerable buffer overflow when writing a new device name to the driver from userspace, allowing userspace to write data to the kernel stack frame directly. This occurs because add_slot_store and remove_slot_store mishandle drc_name '\0' termination, aka CID-cc7a0bb058b8.

NVD (es)

En el archivo drivers/pci/hotplug/rpadlpar_sysfs.c en el kernel de Linux versiones hasta 5.11.8, el controlador RPA PCI Hotplug, presenta un desbordamiento de búfer tolerable por el usuario al escribir un nuevo nombre de dispositivo en el controlador desde el espacio de usuario, permitiendo al espacio de usuario escribir datos en el trama de la pila de kernel directamente. Esto ocurre porque add_slot_store y remove_slot_store maneja inapropiadamente la terminación drc_name "\0", también se conoce como CID-cc7a0bb058b8

References

Sources

SourceRecordLicence
CVE ListCVE-2021-28972 changed 2026-10-08CVE Terms of Use
NVDCVE-2021-28972 changed 2026-10-08Public domain