CVE-2021-28972
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.
How to fix
- linux linux_kernel4.4.263, 4.14.227, 5.4.108, 5.10.26, 5.11.9 or later
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PTRNPQTZ4GVS46SZ4OBXY5YDOGVPSTGQ/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4VCKIOXCOZGXBEZMO5LGGV5MWCHO6FT3/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T2S3I4SLRNRUQDOFYUS6IUAZMQNMPNLG/
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | v < 4.4.263, 4.5 < v ≤ 4.9.263, 4.10 ≤ v < 4.14.227, 4.15 < v ≤ 4.19.183, 4.20 ≤ v < 5.4.108, 5.5.0 ≤ v < 5.10.26, 5.11 ≤ v < 5.11.9 | 4.4.263, 4.14.227, 5.4.108, 5.10.26, 5.11.9 |
| fedoraproject fedora | 32, 33, 34 | — |
| netapp cloud_backup | No range specified | — |
| netapp fas\/aff_baseboard_management_controller | No range specified | — |
| netapp solidfire_baseboard_management_controller_firmware | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.