CVE-2021-28972
Last modified
CVE-2021-28972 is a medium-severity vulnerability rated 6.7/10 on the CVSS scale. 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.. EPSS estimates a 0.86% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 4.4.263 |
| Linux | Linux Kernel | > 4.5, <= 4.9.263 |
| Linux | Linux Kernel | >= 4.10, < 4.14.227 |
| Linux | Linux Kernel | > 4.15, <= 4.19.183 |
| Linux | Linux Kernel | >= 4.20, < 5.4.108 |
| Linux | Linux Kernel | >= 5.5.0, < 5.10.26 |
| Linux | Linux Kernel | >= 5.11, < 5.11.9 |
| Fedoraproject | Fedora | 32 |
| Fedoraproject | Fedora | 33 |
| Fedoraproject | Fedora | 34 |
| Netapp | Cloud Backup | All versions |
| Netapp | Fas\/Aff Baseboard Management Controller | All versions |
| Netapp | Solidfire Baseboard Management Controller Firmware | All versions |
References
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cc7a0bb058b85ea03db87169c60c7cfdd5d34678Mailing List, Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20210430-0003/Third Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cc7a0bb058b85ea03db87169c60c7cfdd5d34678Mailing List, Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20210430-0003/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-28972?
How severe is CVE-2021-28972?
How do I fix CVE-2021-28972?
Are you affected by CVE-2021-28972?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
