CVE-2021-28972
MediumIn 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.
CVSS 3.1 score
6.7
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-120CVE-2021-28972 is classified as CWE-120
See CWE-120 on MITRE CWE for full details on this weakness type.
References
The following references provide additional information about CVE-2021-28972 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
-
-
Third Party Advisory
-
PatchKernel patch commithttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cc7a0bb058b85ea03db87169c60c7cfdd5d34678
Frequently asked questions
-
What is CVE-2021-28972?
CVE-2021-28972 is a Medium severity Linux kernel vulnerability with a CVSS score of 6.7 out of 10 . CVE-2021-28972 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2021-28972?
CVE-2021-28972 has a CVSS score of 6.7 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2021-28972?
No patch is currently available for CVE-2021-28972. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2021-28972 actively exploited?
No — CVE-2021-28972 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.