CVE-2021-28972

Medium

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.

SeverityMedium
CVSS6.7
Exploit probability—
ProductLinux Kernel
PublishedMar 22, 2021
First seenMar 22, 2021

How to fix

Affected products

ProductAffected versionsFixed in
linux linux_kernelv < 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.94.4.263, 4.14.227, 5.4.108, 5.10.26, 5.11.9
fedoraproject fedora32, 33, 34—
netapp cloud_backupNo range specified—
netapp fas\/aff_baseboard_management_controllerNo range specified—
netapp solidfire_baseboard_management_controller_firmwareNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2021-28972 · Linux Kernel · Dark Radar