CVE-2021-28972

kernel: Buffer overflow in hotplug/rpadlpar_sysfs.c

Published Mar 22, 2021 CVSS 3.1 · 6.7 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-15619 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.
Ubuntu USN Ubuntu USN USN-4948-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-4979-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-4982-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-4984-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-5299-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-5343-1 Linux kernel vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 8, 2026, 9:03 PM
Reserved
Mar 22, 2021, 12:00 AM
Status
Modified
Published
Mar 22, 2021, 5:15 PM
Modified
Oct 8, 2026, 9:17 PM
Severity
Moderate
Public date
Mar 22, 2021, 12:00 AM