CVE-2020-25284: Medium severity Linux Linux kernel vulnerability

Published Sep 13, 2020
·
Updated

A flaw was found in the capabilities check of the rados block device functionality in the Linux kernel. Incorrect capability checks could alllow a local user with root priviledges (but no capabilities) to add or remove Rados Block Devices from the system.

Other sources

The rbd block device driver in drivers/block/rbd.c in the Linux kernel through 5.8.9 used incomplete permission checking for access to rbd devices, which could be leveraged by local attackers to map or unmap rbd block devices, aka CID-f44d04e696fe.

The rbd block device driver in drivers/block/rbd.c in the Linux kernel used incomplete permission checking for access to rbd devices, which could be leveraged by local attackers to map or unmap rbd block devices.

References: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f44d04e696feaf13d192d942c4f14ad2e117065a

— Red Hat

Affected Software

80 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-305.rt7.72.el8
0:4.18.0-305.rt7.72.el8
redhat/kernel<0:4.18.0-305.el8
0:4.18.0-305.el8
Linux Linux kernel<5.8.9
Debian Debian Linux=9.0
openSUSE Leap=15.1
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-1082.86
4.4.0-1082.86
ubuntu/linux-azure<4.15.0-1100.111~14.04.1
4.15.0-1100.111~14.04.1
ubuntu/linux-lts-xenial<4.4.0-197.229~14.04.1
4.4.0-197.229~14.04.1
ubuntu/linux*
ubuntu/linux<4.4.0-197.229
4.4.0-197.229
ubuntu/linux-aws<4.4.0-1118.132
4.4.0-1118.132
ubuntu/linux-aws-hwe<4.15.0-1088.93~16.04.1
4.15.0-1088.93~16.04.1
ubuntu/linux-azure<4.15.0-1100.111~16.04.1
4.15.0-1100.111~16.04.1
ubuntu/linux-gcp<4.15.0-1088.101~16.04.1
4.15.0-1088.101~16.04.1
ubuntu/linux-hwe<4.15.0-126.129~16.04.1
4.15.0-126.129~16.04.1
ubuntu/linux-kvm<4.4.0-1084.93
4.4.0-1084.93
ubuntu/linux-oracle<4.15.0-1059.65~16.04.1
4.15.0-1059.65~16.04.1
ubuntu/linux-raspi2<4.4.0-1142.152
4.4.0-1142.152
ubuntu/linux-snapdragon<4.4.0-1146.156
4.4.0-1146.156
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1051.57
4.4.0-1051.57
ubuntu/linux-fips*
ubuntu/linux<4.15.0-126.129
4.15.0-126.129
ubuntu/linux-aws<4.15.0-1088.93
4.15.0-1088.93
ubuntu/linux-aws-5.4<5.4.0-1030.31~18.04.1
5.4.0-1030.31~18.04.1
ubuntu/linux-azure-4.15<4.15.0-1100.111
4.15.0-1100.111
ubuntu/linux-azure-5.4<5.4.0-1032.33~18.04.1
5.4.0-1032.33~18.04.1
ubuntu/linux-dell300x<4.15.0-1007.11
4.15.0-1007.11
ubuntu/linux-gcp-4.15<4.15.0-1088.101
4.15.0-1088.101
ubuntu/linux-gcp-5.4<5.4.0-1030.32~18.04.1
5.4.0-1030.32~18.04.1
ubuntu/linux-gke-4.15<4.15.0-1074.79
4.15.0-1074.79
ubuntu/linux-gke-5.4<5.4.0-1030.32~18.04.1
5.4.0-1030.32~18.04.1
ubuntu/linux-gkeop-5.4<5.4.0-1005.6
5.4.0-1005.6
ubuntu/linux-hwe-5.4<5.4.0-56.62~18.04.1
5.4.0-56.62~18.04.1
ubuntu/linux-kvm<4.15.0-1079.81
4.15.0-1079.81
ubuntu/linux-oem<4.15.0-1103.114
4.15.0-1103.114
ubuntu/linux-oracle<4.15.0-1059.65
4.15.0-1059.65
ubuntu/linux-oracle-5.4<5.4.0-1030.32~18.04.1
5.4.0-1030.32~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1023.26~18.04.1
5.4.0-1023.26~18.04.1
ubuntu/linux-raspi2<4.15.0-1074.79
4.15.0-1074.79
ubuntu/linux-snapdragon<4.15.0-1091.100
4.15.0-1091.100
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-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-fips<4.15.0-2031.32
4.15.0-2031.32
ubuntu/linux-azure-fips<4.15.0-2013.15
4.15.0-2013.15
ubuntu/linux-fips<4.15.0-1046.53
4.15.0-1046.53
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-56.62
5.4.0-56.62
ubuntu/linux-aws<5.4.0-1030.31
5.4.0-1030.31
ubuntu/linux-azure<5.4.0-1032.33
5.4.0-1032.33
ubuntu/linux-gcp<5.4.0-1030.32
5.4.0-1030.32
ubuntu/linux-kvm<5.4.0-1028.29
5.4.0-1028.29
ubuntu/linux-oem-5.6<5.6.0-1048.52
5.6.0-1048.52
ubuntu/linux-oracle<5.4.0-1030.32
5.4.0-1030.32
ubuntu/linux-raspi<5.4.0-1023.26
5.4.0-1023.26
ubuntu/linux-riscv<5.4.0-37.42
5.4.0-37.42
ubuntu/linux-raspi2*
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-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 redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-305.rt7.72.el8
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-305.el8
  3. 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
  4. Upgrade

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

    Fixed in 4.4.0-1082.86
  5. Upgrade

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

    Fixed in 4.15.0-1100.111~14.04.1
  6. Upgrade

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

    Fixed in 4.4.0-197.229~14.04.1
  7. Upgrade

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

    Fixed in 4.4.0-197.229
  8. Upgrade

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

    Fixed in 4.4.0-1118.132
  9. Upgrade

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

    Fixed in 4.15.0-1088.93~16.04.1
  10. Upgrade

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

    Fixed in 4.15.0-1100.111~16.04.1
  11. Upgrade

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

    Fixed in 4.15.0-1088.101~16.04.1
  12. Upgrade

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

    Fixed in 4.15.0-126.129~16.04.1
  13. Upgrade

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

    Fixed in 4.4.0-1084.93
  14. Upgrade

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

    Fixed in 4.15.0-1059.65~16.04.1
  15. Upgrade

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

    Fixed in 4.4.0-1142.152
  16. Upgrade

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

    Fixed in 4.4.0-1146.156
  17. Upgrade

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

    Fixed in 4.4.0-1051.57
  18. Upgrade

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

    Fixed in 4.15.0-126.129
  19. Upgrade

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

    Fixed in 4.15.0-1088.93
  20. Upgrade

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

    Fixed in 5.4.0-1030.31~18.04.1
  21. Upgrade

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

    Fixed in 4.15.0-1100.111
  22. Upgrade

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

    Fixed in 5.4.0-1032.33~18.04.1
  23. Upgrade

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

    Fixed in 4.15.0-1007.11
  24. Upgrade

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

    Fixed in 4.15.0-1088.101
  25. Upgrade

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

    Fixed in 5.4.0-1030.32~18.04.1
  26. Upgrade

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

    Fixed in 4.15.0-1074.79
  27. Upgrade

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

    Fixed in 5.4.0-1030.32~18.04.1
  28. Upgrade

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

    Fixed in 5.4.0-1005.6
  29. Upgrade

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

    Fixed in 5.4.0-56.62~18.04.1
  30. Upgrade

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

    Fixed in 4.15.0-1079.81
  31. Upgrade

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

    Fixed in 4.15.0-1103.114
  32. Upgrade

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

    Fixed in 4.15.0-1059.65
  33. Upgrade

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

    Fixed in 5.4.0-1030.32~18.04.1
  34. Upgrade

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

    Fixed in 5.4.0-1023.26~18.04.1
  35. Upgrade

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

    Fixed in 4.15.0-1074.79
  36. Upgrade

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

    Fixed in 4.15.0-1091.100
  37. Upgrade

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

    Fixed in 4.15.0-2031.32
  38. Upgrade

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

    Fixed in 4.15.0-2013.15
  39. Upgrade

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

    Fixed in 4.15.0-1046.53
  40. Upgrade

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

    Fixed in 5.4.0-56.62
  41. Upgrade

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

    Fixed in 5.4.0-1030.31
  42. Upgrade

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

    Fixed in 5.4.0-1032.33
  43. Upgrade

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

    Fixed in 5.4.0-1030.32
  44. Upgrade

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

    Fixed in 5.4.0-1028.29
  45. Upgrade

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

    Fixed in 5.6.0-1048.52
  46. Upgrade

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

    Fixed in 5.4.0-1030.32
  47. Upgrade

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

    Fixed in 5.4.0-1023.26
  48. Upgrade

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

    Fixed in 5.4.0-37.42
  49. Upgrade

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

    Fixed in 5.4.0-1069.73+fips2
  50. Upgrade

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

    Fixed in 5.4.0-1073.76+fips1
  51. Upgrade

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

    Fixed in 5.4.0-1067.71~20.04.1
  52. Configuration

    Add `install rbd /bin/true` to `/etc/modprobe.d/disable-rdb.conf` to prevent the rbd module from loading.

    Linux kernel rbd module install rbd = /bin/true
  53. Operational

    Restart the system if the rbd module is already loaded.

Event History

Sep 13, 2020
CVE Published
12:00 AM
CVE Published
via MITRE·05:28 PM
Data Sourced
via MITRE·05:28 PM
Description
Data Sourced
via OSV·06:15 PM
DescriptionSeverityAffected Software
Sep 25, 2020
Data Sourced
via Red Hat·04:45 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2020-25284?

CVE-2020-25284 has been classified as having a high severity level due to its potential to allow unauthorized manipulation of Rados Block Devices.

2

How do I fix CVE-2020-25284?

To mitigate CVE-2020-25284, upgrade to the specific patched versions of the kernel packages as provided by your Linux distribution.

3

Who is affected by CVE-2020-25284?

Users running vulnerable versions of the Linux kernel or specific distributions like Red Hat, Debian, or openSUSE are affected by CVE-2020-25284.

4

What are the impacted Linux kernel versions in CVE-2020-25284?

CVE-2020-25284 affects Linux kernel versions prior to 5.8.9 as well as specific packaged versions in various distributions.

5

Can CVE-2020-25284 be exploited remotely?

CVE-2020-25284 requires local root privileges for exploitation, therefore it cannot be exploited remotely.

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