# CVE-2021-28972: 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: Medium 6.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 54% of CVEs (2026-11-30)
- Published: 2021-03-22T16:53:17.000Z
- Modified: 2026-10-08T21:17:34.967Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- 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
- fedoraproject fedora: 32; 33; 34
- netapp cloud_backup: no versions given
- netapp fas/aff_baseboard_management_controller: no versions given
- netapp solidfire_baseboard_management_controller_firmware: no versions given

## Every score

- NVD: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.2 High `AV:L/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cc7a0bb058b85ea03db87169c60c7cfdd5d34678> (mailing-list, patch, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PTRNPQTZ4GVS46SZ4OBXY5YDOGVPSTGQ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4VCKIOXCOZGXBEZMO5LGGV5MWCHO6FT3/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T2S3I4SLRNRUQDOFYUS6IUAZMQNMPNLG/> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20210430-0003/> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-28972](https://www.cve.org/CVERecord?id=CVE-2021-28972), CVE Terms of Use, modified 2026-10-08
- NVD: [CVE-2021-28972](https://nvd.nist.gov/vuln/detail/CVE-2021-28972), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2021-28972 · Whole record: https://cve.day/CVE-2021-28972.json · Rebuilt by cve.day 2026-11-25T22:58:00.360Z
