CVE-2021-28972

Aliases:UBUNTU-CVE-2021-28972DEBIAN-CVE-2021-28972
Modified
Published: 22 Mar 2021, 16:53
Last modified:03 Aug 2024, 21:55

Vulnerability Summary

Overall Risk (default)
medium
29/100
CVSS Score
7.2 HIGH
v2.0 (nvd)
EPSS Score
0.8% LOW
1% probability +0.75%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

22 Mar 2021, 16:53
Published
Vulnerability first disclosed
03 Aug 2024, 21:55
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1MEDIUMScore: 6.7CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • v2.0HIGHScore: 7.2AV:L/AC:L/Au:N/C:C/I:C/A:C

EPSS Trends

Current EPSS score: 0.80% Percentile: 55%

Techniques & Countermeasures

  • CWE-120Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

    The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.

Affected Systems

  • debianlinux

    < 5.10.26-1 | < 5.10.26-1 | < 5.10.26-1 | < 5.10.26-1

  • ubuntulinux

    all | < 4.4.0-219.252 | < 4.15.0-144.148 | < 5.4.0-74.83

  • ubuntulinux-aws

    < 4.4.0-1099.104 | < 4.4.0-1135.149 | < 4.15.0-1103.110 | < 5.4.0-1049.51

  • ubuntulinux-aws-5.0

    all

  • ubuntulinux-aws-5.3

    all

  • ubuntulinux-aws-5.4

    < 5.4.0-1049.51~18.04.1

  • ubuntulinux-aws-fips

    < 4.15.0-2045.47 | all | < 5.4.0-1069.73+fips2

  • ubuntulinux-aws-hwe

    < 4.15.0-1103.110~16.04.1

  • ubuntulinux-azure

    < 4.15.0-1115.128~14.04.1 | < 4.15.0-1115.128~16.04.1 | all | < 5.4.0-1048.50

  • ubuntulinux-azure-4.15

    < 4.15.0-1115.128

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.4

    < 5.4.0-1048.50~18.04.1

  • ubuntulinux-azure-edge

    all

  • ubuntulinux-azure-fde-5.15

    < 5.15.0-1114.123~20.04.1

  • ubuntulinux-azure-fips

    < 4.15.0-2027.30 | all | < 5.4.0-1073.76+fips1

  • ubuntulinux-bluefield

    all | < 5.4.0-1012.15

  • ubuntulinux-dell300x

    < 4.15.0-1022.26

  • ubuntulinux-fips

    < 4.4.0-1069.75 | all | < 4.15.0-1060.68

  • ubuntulinux-gcp

    < 4.15.0-1100.113~16.04.1 | all | < 5.4.0-1044.47

  • ubuntulinux-gcp-4.15

    < 4.15.0-1100.113

  • ubuntulinux-gcp-5.3

    all

  • ubuntulinux-gcp-5.4

    < 5.4.0-1044.47~18.04.2

  • ubuntulinux-gcp-edge

    all

  • ubuntulinux-gcp-fips

    all | < 5.4.0-1067.71~20.04.1

  • ubuntulinux-gke

    < 5.4.0-1044.46

  • ubuntulinux-gke-4.15

    all

  • ubuntulinux-gke-5.4

    < 5.4.0-1044.46~18.04.1

  • ubuntulinux-gkeop

    < 5.4.0-1016.17

  • ubuntulinux-gkeop-5.4

    < 5.4.0-1016.17~18.04.1

  • ubuntulinux-hwe

    < 4.15.0-144.148~16.04.1 | all

  • ubuntulinux-hwe-5.4

    < 5.4.0-74.83~18.04.1

  • ubuntulinux-hwe-5.8

    < 5.8.0-55.62~20.04.1

  • ubuntulinux-hwe-edge

    all | all

  • ubuntulinux-intel-iot-realtime

    all

  • ubuntulinux-kvm

    < 4.4.0-1100.109 | < 4.15.0-1092.94 | < 5.4.0-1040.41

  • ubuntulinux-lts-xenial

    < 4.4.0-219.252~14.04.1

  • ubuntulinux-oem

    all

  • ubuntulinux-oem-5.10

    < 5.10.0-1025.26

  • ubuntulinux-oem-5.6

    all

  • ubuntulinux-oracle

    < 4.15.0-1072.80~16.04.1 | < 4.15.0-1072.80 | < 5.4.0-1046.50

  • ubuntulinux-oracle-5.0

    all

  • ubuntulinux-oracle-5.3

    all

  • ubuntulinux-oracle-5.4

    < 5.4.0-1046.50~18.04.2

  • ubuntulinux-raspi

    < 5.4.0-1036.39

  • ubuntulinux-raspi-5.4

    < 5.4.0-1036.39~18.04.1

  • ubuntulinux-raspi-realtime

    all

  • ubuntulinux-raspi2

    < 4.15.0-1086.91 | all

  • ubuntulinux-realtime

    all

  • ubuntulinux-riscv

    all

  • ubuntulinux-riscv-5.8

    < 5.8.0-26.28~20.04.1

Showing first 50 affected entries in server-rendered view.

References (15)