CVE-2021-28972: Buffer Overflow

Published Mar 22, 2021
·
Updated

In drivers/pci/hotplug/rpadlparsysfs.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 addslotstore and removeslotstore mishandle drcname '\0' termination, aka CID-cc7a0bb058b8.

Affected Software

94 affected componentsFixes available
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
NetApp Fas\/aff Baseboard Management Controller
NetApp Solidfire Baseboard Management Controller Firmware
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
ubuntu/linux-aws<4.4.0-1099.104
4.4.0-1099.104
ubuntu/linux-azure<4.15.0-1115.128~14.04.1
4.15.0-1115.128~14.04.1
ubuntu/linux-lts-xenial<4.4.0-219.252~14.04.1
4.4.0-219.252~14.04.1
ubuntu/linux*
ubuntu/linux<4.4.0-219.252
4.4.0-219.252
ubuntu/linux-aws<4.4.0-1135.149
4.4.0-1135.149
ubuntu/linux-aws-hwe<4.15.0-1103.110~16.04.1
4.15.0-1103.110~16.04.1
ubuntu/linux-azure<4.15.0-1115.128~16.04.1
4.15.0-1115.128~16.04.1
ubuntu/linux-gcp<4.15.0-1100.113~16.04.1
4.15.0-1100.113~16.04.1
ubuntu/linux-hwe<4.15.0-144.148~16.04.1
4.15.0-144.148~16.04.1
ubuntu/linux-kvm<4.4.0-1100.109
4.4.0-1100.109
ubuntu/linux-oracle<4.15.0-1072.80~16.04.1
4.15.0-1072.80~16.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1069.75
4.4.0-1069.75
ubuntu/linux-fips*
ubuntu/linux<4.15.0-144.148
4.15.0-144.148
ubuntu/linux-aws<4.15.0-1103.110
4.15.0-1103.110
ubuntu/linux-aws-5.4<5.4.0-1049.51~18.04.1
5.4.0-1049.51~18.04.1
ubuntu/linux-azure-4.15<4.15.0-1115.128
4.15.0-1115.128
ubuntu/linux-azure-5.4<5.4.0-1048.50~18.04.1
5.4.0-1048.50~18.04.1
ubuntu/linux-dell300x<4.15.0-1022.26
4.15.0-1022.26
ubuntu/linux-gcp-4.15<4.15.0-1100.113
4.15.0-1100.113
ubuntu/linux-gcp-5.4<5.4.0-1044.47~18.04.2
5.4.0-1044.47~18.04.2
ubuntu/linux-gke-5.4<5.4.0-1044.46~18.04.1
5.4.0-1044.46~18.04.1
ubuntu/linux-gkeop-5.4<5.4.0-1016.17~18.04.1
5.4.0-1016.17~18.04.1
ubuntu/linux-hwe-5.4<5.4.0-74.83~18.04.1
5.4.0-74.83~18.04.1
ubuntu/linux-kvm<4.15.0-1092.94
4.15.0-1092.94
ubuntu/linux-oracle<4.15.0-1072.80
4.15.0-1072.80
ubuntu/linux-oracle-5.4<5.4.0-1046.50~18.04.2
5.4.0-1046.50~18.04.2
ubuntu/linux-raspi-5.4<5.4.0-1036.39~18.04.1
5.4.0-1036.39~18.04.1
ubuntu/linux-raspi2<4.15.0-1086.91
4.15.0-1086.91
ubuntu/linux-snapdragon<4.15.0-1103.112
4.15.0-1103.112
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-azure*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gcp-edge*
ubuntu/linux-gke-4.15*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-fips<4.15.0-2045.47
4.15.0-2045.47
ubuntu/linux-azure-fips<4.15.0-2027.30
4.15.0-2027.30
ubuntu/linux-fips<4.15.0-1060.68
4.15.0-1060.68
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-74.83
5.4.0-74.83
ubuntu/linux-aws<5.4.0-1049.51
5.4.0-1049.51
ubuntu/linux-azure<5.4.0-1048.50
5.4.0-1048.50
ubuntu/linux-bluefield<5.4.0-1012.15
5.4.0-1012.15
ubuntu/linux-gcp<5.4.0-1044.47
5.4.0-1044.47
ubuntu/linux-gke<5.4.0-1044.46
5.4.0-1044.46
ubuntu/linux-gkeop<5.4.0-1016.17
5.4.0-1016.17
ubuntu/linux-hwe-5.8<5.8.0-55.62~20.04.1
5.8.0-55.62~20.04.1
ubuntu/linux-kvm<5.4.0-1040.41
5.4.0-1040.41
ubuntu/linux-oem-5.10<5.10.0-1025.26
5.10.0-1025.26
ubuntu/linux-oracle<5.4.0-1046.50
5.4.0-1046.50
ubuntu/linux-raspi<5.4.0-1036.39
5.4.0-1036.39
ubuntu/linux-riscv-5.8<5.8.0-26.28~20.04.1
5.8.0-26.28~20.04.1
ubuntu/linux-azure-fde-5.15<5.15.0-1114.123~20.04.1
5.15.0-1114.123~20.04.1
ubuntu/linux-oem-5.6*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-aws-fips<5.4.0-1069.73+fips2
5.4.0-1069.73+fips2
ubuntu/linux-azure-fips<5.4.0-1073.76+fips1
5.4.0-1073.76+fips1
ubuntu/linux-gcp-fips<5.4.0-1067.71~20.04.1
5.4.0-1067.71~20.04.1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-raspi-realtime*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  2. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1099.104
  3. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1115.128~14.04.1
  4. Upgrade

    Upgrade ubuntu/linux-lts-xenial to a version that resolves this vulnerability.

    Fixed in 4.4.0-219.252~14.04.1
  5. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.4.0-219.252
  6. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1135.149
  7. Upgrade

    Upgrade ubuntu/linux-aws-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-1103.110~16.04.1
  8. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1115.128~16.04.1
  9. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 4.15.0-1100.113~16.04.1
  10. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-144.148~16.04.1
  11. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.4.0-1100.109
  12. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1072.80~16.04.1
  13. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.4.0-1069.75
  14. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.15.0-144.148
  15. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.15.0-1103.110
  16. Upgrade

    Upgrade ubuntu/linux-aws-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1049.51~18.04.1
  17. Upgrade

    Upgrade ubuntu/linux-azure-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1115.128
  18. Upgrade

    Upgrade ubuntu/linux-azure-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1048.50~18.04.1
  19. Upgrade

    Upgrade ubuntu/linux-dell300x to a version that resolves this vulnerability.

    Fixed in 4.15.0-1022.26
  20. Upgrade

    Upgrade ubuntu/linux-gcp-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1100.113
  21. Upgrade

    Upgrade ubuntu/linux-gcp-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1044.47~18.04.2
  22. Upgrade

    Upgrade ubuntu/linux-gke-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1044.46~18.04.1
  23. Upgrade

    Upgrade ubuntu/linux-gkeop-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1016.17~18.04.1
  24. Upgrade

    Upgrade ubuntu/linux-hwe-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-74.83~18.04.1
  25. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.15.0-1092.94
  26. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1072.80
  27. Upgrade

    Upgrade ubuntu/linux-oracle-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1046.50~18.04.2
  28. Upgrade

    Upgrade ubuntu/linux-raspi-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1036.39~18.04.1
  29. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1086.91
  30. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.15.0-1103.112
  31. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2045.47
  32. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2027.30
  33. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-1060.68
  34. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 5.4.0-74.83
  35. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.4.0-1049.51
  36. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.4.0-1048.50
  37. Upgrade

    Upgrade ubuntu/linux-bluefield to a version that resolves this vulnerability.

    Fixed in 5.4.0-1012.15
  38. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.4.0-1044.47
  39. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 5.4.0-1044.46
  40. Upgrade

    Upgrade ubuntu/linux-gkeop to a version that resolves this vulnerability.

    Fixed in 5.4.0-1016.17
  41. Upgrade

    Upgrade ubuntu/linux-hwe-5.8 to a version that resolves this vulnerability.

    Fixed in 5.8.0-55.62~20.04.1
  42. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1040.41
  43. Upgrade

    Upgrade ubuntu/linux-oem-5.10 to a version that resolves this vulnerability.

    Fixed in 5.10.0-1025.26
  44. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.4.0-1046.50
  45. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.4.0-1036.39
  46. Upgrade

    Upgrade ubuntu/linux-riscv-5.8 to a version that resolves this vulnerability.

    Fixed in 5.8.0-26.28~20.04.1
  47. Upgrade

    Upgrade ubuntu/linux-azure-fde-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1114.123~20.04.1
  48. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1069.73+fips2
  49. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1073.76+fips1
  50. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1067.71~20.04.1

Event History

Mar 22, 2021
CVE Published
via MITRE·04:53 PM
Data Sourced
via MITRE·04:53 PM
Description
Data Sourced
via OSV·05:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-28972?

CVE-2021-28972 has a high severity due to the user-tolerable buffer overflow vulnerability that poses significant risks to system security.

2

How do I fix CVE-2021-28972?

To fix CVE-2021-28972, you should upgrade your Linux kernel to versions 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.119-1, or 6.12.10-1.

3

Which systems are affected by CVE-2021-28972?

CVE-2021-28972 affects various versions of the Linux kernel up to 5.11.8, including specific Fedora and NetApp versions.

4

What type of vulnerability is CVE-2021-28972?

CVE-2021-28972 is classified as a buffer overflow vulnerability in the RPA PCI Hotplug driver.

5

Can CVE-2021-28972 lead to privileged access?

Yes, CVE-2021-28972 can allow userspace to write data into the kernel stack frame, potentially leading to privilege escalation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203