CVE-2021-28972

Medium

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.

Package Linux Kernel
Published 2021-03-22
Last modified 2024-11-21
CVSS version 3.1
Patch available
Awaiting data

CVSS 3.1 score

6.7

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Weakness type

CWE-120

CVE-2021-28972 is classified as CWE-120

See CWE-120 on MITRE CWE for full details on this weakness type.

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.