Buffer overflow in Linux Kernel
CVE-2021-28972
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.7 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.008, 57.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/ (Patch, Mailing List, Vendor Advisory)
- FEDORA-2021-e636ce53df (vendor-advisory)
- FEDORA-2021-68b0dd2373 (vendor-advisory)
- FEDORA-2021-9503fffad9 (vendor-advisory)
- security.netapp.com/advisory/ntap-20210430-0003/ (Third Party Advisory)