CVE-2021-28972

MEDIUMCVSS 6.7/10EPSS 0.86%

Last modified

CVE-2021-28972 is a medium-severity vulnerability rated 6.7/10 on the CVSS scale. 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.. EPSS estimates a 0.86% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
6.7/10

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
0.86%

53.8th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
LinuxLinux Kernel< 4.4.263
LinuxLinux Kernel> 4.5, <= 4.9.263
LinuxLinux Kernel>= 4.10, < 4.14.227
LinuxLinux Kernel> 4.15, <= 4.19.183
LinuxLinux Kernel>= 4.20, < 5.4.108
LinuxLinux Kernel>= 5.5.0, < 5.10.26
LinuxLinux Kernel>= 5.11, < 5.11.9
FedoraprojectFedora32
FedoraprojectFedora33
FedoraprojectFedora34
NetappCloud BackupAll versions
NetappFas\/Aff Baseboard Management ControllerAll versions
NetappSolidfire Baseboard Management Controller FirmwareAll versions

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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 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.
How severe is CVE-2021-28972?
CVE-2021-28972 has a CVSS score of 6.7/10 (MEDIUM severity). The EPSS model estimates a 0.86% probability of exploitation in the next 30 days.
How do I fix CVE-2021-28972?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-28972?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST