cbcvebase.
CVE-2021-28972
published 2021-03-22

CVE-2021-28972: 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…

PriorityP433medium6.7CVSS 3.1
AVLACLPRHUINSUCHIHAH
EPSS
0.86%
54.4th percentile
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

19 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 5.10.26-1 (bookworm)linux 5.10.26-1 (bookworm)
fedoraprojectfedora
fedoraprojectfedora
fedoraprojectfedora
linuxlinux_kernel< 4.4.2634.4.263
linuxlinux_kernel<= 4.9.263
linuxlinux_kernel<= 4.19.183
linuxlinux_kernel>= 0 < 5.10.26-15.10.26-1
linuxlinux_kernel>= 0 < 5.10.26-15.10.26-1
linuxlinux_kernel>= 0 < 5.10.26-15.10.26-1
linuxlinux_kernel>= 0 < 5.10.26-15.10.26-1
linuxlinux_kernel>= 0 < 5.4.0-74.835.4.0-74.83
linuxlinux_kernel>= 0 < 4.4.0-222.2554.4.0-222.255
linuxlinux_kernel>= 0 < 4.4.0-219.2524.4.0-219.252
linuxlinux_kernel>= 4.10 < 4.14.2274.14.227
linuxlinux_kernel>= 4.20 < 5.4.1085.4.108
linuxlinux_kernel>= 5.11 < 5.11.95.11.9
linuxlinux_kernel>= 5.5.0 < 5.10.265.10.26
msrccbl2_kernel_5.10.78.1-1_on_cbl_mariner_2.0

CVSS provenance

nvdv3.16.7MEDIUMCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.2HIGHAV:L/AC:L/Au:N/C:C/I:C/A:C
osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_debian6.7MEDIUM
vendor_msrc6.7MEDIUM
vendor_redhat6.7MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.