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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2021-03-22T16:53:17

Updated: 2024-08-03T21:55:12.236Z

Reserved: 2021-03-22T00:00:00

Link: CVE-2021-28972

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-03-22T17:15:15.200

Modified: 2024-11-21T06:00:28.767

Link: CVE-2021-28972

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-03-22T00:00:00Z

Links: CVE-2021-28972 - Bugzilla