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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| linux linux_kernel | before 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.9 | NVD |
| fedoraproject fedora | 32, 33, 34 | NVD |
| netapp cloud_backup | Not specified | NVD |
| netapp fas/aff_baseboard_management_controller | Not specified | NVD |
| netapp solidfire_baseboard_management_controller_firmware | Not specified | NVD |
All scores
| NVD | 6.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.2high CVSS:2.0 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-28972 changed 2026-10-08 | CVE Terms of Use |
| NVD | CVE-2021-28972 changed 2026-10-08 | Public domain |