CVE-2021-27365: Buffer Overflow

Published Feb 18, 2021
·
Updated

A flaw was found in the Linux kernel. A heap buffer overflow in the iSCSI subsystem is triggered by setting an iSCSI string attribute to a value larger than one page and then trying to read it. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Other sources

A heap buffer overflow vulnerability was found in the linux kernel in the iSCSI subsystem. The vulnerability is triggered by setting an iSCSI string attribute to a value larger than one page, and then trying to read it.

— Red Hat

An issue was discovered in the Linux kernel through 5.11.3. Certain iSCSI data structures do not have appropriate length constraints or checks, and can exceed the PAGESIZE value. An unprivileged user can send a Netlink message that is associated with iSCSI, and has a length up to the maximum length of a Netlink message.

Affected Software

115 affected componentsFixes available
redhat/kernel<0:2.6.32-754.39.1.el6
0:2.6.32-754.39.1.el6
redhat/kernel-rt<0:3.10.0-1160.24.1.rt56.1161.el7
0:3.10.0-1160.24.1.rt56.1161.el7
redhat/kernel<0:3.10.0-1160.24.1.el7
0:3.10.0-1160.24.1.el7
redhat/kernel-alt<0:4.14.0-115.36.1.el7a
0:4.14.0-115.36.1.el7a
redhat/kernel<0:3.10.0-327.96.1.el7
0:3.10.0-327.96.1.el7
redhat/kernel<0:3.10.0-514.88.1.el7
0:3.10.0-514.88.1.el7
redhat/kernel<0:3.10.0-693.84.1.el7
0:3.10.0-693.84.1.el7
redhat/kernel<0:3.10.0-957.72.1.el7
0:3.10.0-957.72.1.el7
redhat/kernel<0:3.10.0-1062.49.1.el7
0:3.10.0-1062.49.1.el7
redhat/kernel-rt<0:4.18.0-240.22.1.rt7.77.el8_3
0:4.18.0-240.22.1.rt7.77.el8_3
redhat/kernel<0:4.18.0-240.22.1.el8_3
0:4.18.0-240.22.1.el8_3
redhat/kernel<0:4.18.0-147.44.1.el8_1
0:4.18.0-147.44.1.el8_1
redhat/kernel-rt<0:4.18.0-193.51.1.rt13.101.el8_2
0:4.18.0-193.51.1.rt13.101.el8_2
redhat/kernel<0:4.18.0-193.51.1.el8_2
0:4.18.0-193.51.1.el8_2
Linux Linux kernel<=5.11.3
Debian Debian Linux=9.0
Oracle Tekelec Platform Distribution>=7.4.0<=7.7.1
NetApp Solidfire Baseboard Management Controller Firmware
NetApp Solidfire Baseboard Management Controller
NetApp Cloud Backup
Linux Linux kernel<4.4.260
Linux Linux kernel>=4.5<4.9.260
Linux Linux kernel>=4.10<4.14.224
Linux Linux kernel>=4.15<4.19.179
Linux Linux kernel>=4.20<5.4.103
Linux Linux kernel>=5.5<5.10.21
Linux Linux kernel>=5.11<5.11.4
All of the following
NetApp Solidfire Baseboard Management Controller Firmware
NetApp Solidfire Baseboard Management Controller
ubuntu/linux<3.13.0-185.236
3.13.0-185.236
ubuntu/linux-aws<4.4.0-1088.92
4.4.0-1088.92
ubuntu/linux-azure<4.15.0-1110.122~14.04.1
4.15.0-1110.122~14.04.1
ubuntu/linux-lts-xenial<4.4.0-206.238~14.04.1
4.4.0-206.238~14.04.1
ubuntu/linux<4.4.0-206.238
4.4.0-206.238
ubuntu/linux-aws<4.4.0-1124.138
4.4.0-1124.138
ubuntu/linux-aws-hwe<4.15.0-1096.103~16.04.1
4.15.0-1096.103~16.04.1
ubuntu/linux-azure<4.15.0-1110.122~16.04.1
4.15.0-1110.122~16.04.1
ubuntu/linux-gcp<4.15.0-1095.108~16.04.1
4.15.0-1095.108~16.04.1
ubuntu/linux-hwe<4.15.0-139.143~16.04.1
4.15.0-139.143~16.04.1
ubuntu/linux-kvm<4.4.0-1090.99
4.4.0-1090.99
ubuntu/linux-oracle<4.15.0-1067.75~16.04.1
4.15.0-1067.75~16.04.1
ubuntu/linux-raspi2<4.4.0-1148.158
4.4.0-1148.158
ubuntu/linux-snapdragon<4.4.0-1152.162
4.4.0-1152.162
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1058.64
4.4.0-1058.64
ubuntu/linux-fips*
ubuntu/linux<4.15.0-139.143
4.15.0-139.143
ubuntu/linux-aws<4.15.0-1096.103
4.15.0-1096.103
ubuntu/linux-aws-5.4<5.4.0-1041.43~18.04.1
5.4.0-1041.43~18.04.1
ubuntu/linux-azure-4.15<4.15.0-1110.122
4.15.0-1110.122
ubuntu/linux-azure-5.4<5.4.0-1043.45~18.04.1
5.4.0-1043.45~18.04.1
ubuntu/linux-dell300x<4.15.0-1015.19
4.15.0-1015.19
ubuntu/linux-gcp-4.15<4.15.0-1095.108
4.15.0-1095.108
ubuntu/linux-gcp-5.4<5.4.0-1040.43~18.04.1
5.4.0-1040.43~18.04.1
ubuntu/linux-gke-5.3<5.3.0-1041.44
5.3.0-1041.44
ubuntu/linux-gke-5.4<5.4.0-1039.41~18.04.1
5.4.0-1039.41~18.04.1
ubuntu/linux-gkeop-5.4<5.4.0-1012.13~18.04.1
5.4.0-1012.13~18.04.1
ubuntu/linux-hwe<5.3.0-72.68
5.3.0-72.68
ubuntu/linux-hwe-5.4<5.4.0-70.78~18.04.1
5.4.0-70.78~18.04.1
ubuntu/linux-kvm<4.15.0-1087.89
4.15.0-1087.89
ubuntu/linux-oracle<4.15.0-1067.75
4.15.0-1067.75
ubuntu/linux-oracle-5.4<5.4.0-1041.44~18.04.1
5.4.0-1041.44~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1032.35~18.04.1
5.4.0-1032.35~18.04.1
ubuntu/linux-raspi2<4.15.0-1081.86
4.15.0-1081.86
ubuntu/linux-raspi2-5.3<5.3.0-1038.40
5.3.0-1038.40
ubuntu/linux-snapdragon<4.15.0-1098.107
4.15.0-1098.107
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-edge*
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-fips<4.15.0-2039.41
4.15.0-2039.41
ubuntu/linux-azure-fips<4.15.0-2022.25
4.15.0-2022.25
ubuntu/linux-fips<4.15.0-1055.63
4.15.0-1055.63
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-70.78
5.4.0-70.78
ubuntu/linux-aws<5.4.0-1041.43
5.4.0-1041.43
ubuntu/linux-azure<5.4.0-1043.45
5.4.0-1043.45
ubuntu/linux-gcp<5.4.0-1040.43
5.4.0-1040.43
ubuntu/linux-gke<5.4.0-1039.41
5.4.0-1039.41
ubuntu/linux-gkeop<5.4.0-1012.13
5.4.0-1012.13
ubuntu/linux-hwe-5.8<5.8.0-48.54~20.04.1
5.8.0-48.54~20.04.1
ubuntu/linux-kvm<5.4.0-1036.37
5.4.0-1036.37
ubuntu/linux-oem-5.10<5.10.0-1019.20
5.10.0-1019.20
ubuntu/linux-oem-5.6<5.6.0-1052.56
5.6.0-1052.56
ubuntu/linux-oracle<5.4.0-1041.44
5.4.0-1041.44
ubuntu/linux-raspi<5.4.0-1032.35
5.4.0-1032.35
ubuntu/linux-riscv-5.8<5.8.0-20.22~20.04.1
5.8.0-20.22~20.04.1
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-gcp-fips*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-raspi-realtime*
debian/linux<5.10.24-1
5.10.24-1
debian/linux<5.10.24-1
5.10.24-1
debian/linux<5.10.24-1
5.10.24-1
debian/linux
4.9.258-14.19.181-15.10.24-1
debian/linux-4.19
4.19.181-1~deb9u1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 0:2.6.32-754.39.1.el6
  2. Upgrade

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

    Fixed in 0:3.10.0-1160.24.1.rt56.1161.el7
  3. Upgrade

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

    Fixed in 0:3.10.0-1160.24.1.el7
  4. Upgrade

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

    Fixed in 0:4.14.0-115.36.1.el7a
  5. Upgrade

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

    Fixed in 0:3.10.0-327.96.1.el7
  6. Upgrade

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

    Fixed in 0:3.10.0-514.88.1.el7
  7. Upgrade

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

    Fixed in 0:3.10.0-693.84.1.el7
  8. Upgrade

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

    Fixed in 0:3.10.0-957.72.1.el7
  9. Upgrade

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

    Fixed in 0:3.10.0-1062.49.1.el7
  10. Upgrade

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

    Fixed in 0:4.18.0-240.22.1.rt7.77.el8_3
  11. Upgrade

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

    Fixed in 0:4.18.0-240.22.1.el8_3
  12. Upgrade

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

    Fixed in 0:4.18.0-147.44.1.el8_1
  13. Upgrade

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

    Fixed in 0:4.18.0-193.51.1.rt13.101.el8_2
  14. Upgrade

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

    Fixed in 0:4.18.0-193.51.1.el8_2
  15. Upgrade

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

    Fixed in 3.13.0-185.236
  16. Upgrade

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

    Fixed in 4.4.0-1088.92
  17. Upgrade

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

    Fixed in 4.15.0-1110.122~14.04.1
  18. Upgrade

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

    Fixed in 4.4.0-206.238~14.04.1
  19. Upgrade

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

    Fixed in 4.4.0-206.238
  20. Upgrade

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

    Fixed in 4.4.0-1124.138
  21. Upgrade

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

    Fixed in 4.15.0-1096.103~16.04.1
  22. Upgrade

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

    Fixed in 4.15.0-1110.122~16.04.1
  23. Upgrade

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

    Fixed in 4.15.0-1095.108~16.04.1
  24. Upgrade

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

    Fixed in 4.15.0-139.143~16.04.1
  25. Upgrade

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

    Fixed in 4.4.0-1090.99
  26. Upgrade

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

    Fixed in 4.15.0-1067.75~16.04.1
  27. Upgrade

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

    Fixed in 4.4.0-1148.158
  28. Upgrade

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

    Fixed in 4.4.0-1152.162
  29. Upgrade

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

    Fixed in 4.4.0-1058.64
  30. Upgrade

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

    Fixed in 4.15.0-139.143
  31. Upgrade

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

    Fixed in 4.15.0-1096.103
  32. Upgrade

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

    Fixed in 5.4.0-1041.43~18.04.1
  33. Upgrade

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

    Fixed in 4.15.0-1110.122
  34. Upgrade

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

    Fixed in 5.4.0-1043.45~18.04.1
  35. Upgrade

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

    Fixed in 4.15.0-1015.19
  36. Upgrade

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

    Fixed in 4.15.0-1095.108
  37. Upgrade

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

    Fixed in 5.4.0-1040.43~18.04.1
  38. Upgrade

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

    Fixed in 5.3.0-1041.44
  39. Upgrade

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

    Fixed in 5.4.0-1039.41~18.04.1
  40. Upgrade

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

    Fixed in 5.4.0-1012.13~18.04.1
  41. Upgrade

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

    Fixed in 5.3.0-72.68
  42. Upgrade

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

    Fixed in 5.4.0-70.78~18.04.1
  43. Upgrade

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

    Fixed in 4.15.0-1087.89
  44. Upgrade

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

    Fixed in 4.15.0-1067.75
  45. Upgrade

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

    Fixed in 5.4.0-1041.44~18.04.1
  46. Upgrade

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

    Fixed in 5.4.0-1032.35~18.04.1
  47. Upgrade

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

    Fixed in 4.15.0-1081.86
  48. Upgrade

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

    Fixed in 5.3.0-1038.40
  49. Upgrade

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

    Fixed in 4.15.0-1098.107
  50. Upgrade

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

    Fixed in 4.15.0-2039.41
  51. Upgrade

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

    Fixed in 4.15.0-2022.25
  52. Upgrade

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

    Fixed in 4.15.0-1055.63
  53. Upgrade

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

    Fixed in 5.4.0-70.78
  54. Upgrade

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

    Fixed in 5.4.0-1041.43
  55. Upgrade

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

    Fixed in 5.4.0-1043.45
  56. Upgrade

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

    Fixed in 5.4.0-1040.43
  57. Upgrade

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

    Fixed in 5.4.0-1039.41
  58. Upgrade

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

    Fixed in 5.4.0-1012.13
  59. Upgrade

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

    Fixed in 5.8.0-48.54~20.04.1
  60. Upgrade

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

    Fixed in 5.4.0-1036.37
  61. Upgrade

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

    Fixed in 5.10.0-1019.20
  62. Upgrade

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

    Fixed in 5.6.0-1052.56
  63. Upgrade

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

    Fixed in 5.4.0-1041.44
  64. Upgrade

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

    Fixed in 5.4.0-1032.35
  65. Upgrade

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

    Fixed in 5.8.0-20.22~20.04.1
  66. Upgrade

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

    Fixed in 5.4.0-1069.73+fips2
  67. Upgrade

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

    Fixed in 5.4.0-1073.76+fips1
  68. Upgrade

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

    Fixed in 5.4.0-1067.71~20.04.1
  69. Upgrade

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

    Fixed in 5.10.24-1
  70. Upgrade

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

    Fixed in 4.9.258-1Fixed in 4.19.181-1Fixed in 5.10.24-1
  71. Upgrade

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

    Fixed in 4.19.181-1~deb9u1
  72. Configuration

    Add the following line to /etc/modprobe.d/disable-libiscsi.conf to prevent the libiscsi kernel module from auto-loading: install libiscsi /bin/true. (This mitigation may not be suitable if the system requires iSCSI.)

    Linux kernel module loader (modprobe) for libiscsi install libiscsi /bin/true = Disable auto-loading of libiscsi
  73. Operational

    If the libiscsi modules are loaded, restart the system after applying the mitigation/config change so the modules are no longer in use.

Event History

Feb 18, 2021
Data Sourced
10:33 AM
DescriptionSeverityAffected Software
Mar 5, 2021
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyWeakness
Mar 7, 2021
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
CVE Published
via MITRE·04:22 AM
Data Sourced
via MITRE·04:22 AM
Description
Data Sourced
via OSV·05:15 AM
DescriptionSeverityAffected Software
Dec 10, 2021
Data Sourced
via NVD·06:13 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
06:13 PM
Affected Software
Apr 17, 2022
Data Sourced
via Red Hat·09:09 PM
DescriptionSeverityAffected Software
Nov 21, 2024
Updated
via NVD·05:57 AM
RemedyAffected Software
Jul 30, 2026
Updated
via NVD·07:20 PM
Affected Software
Nov 12, 2026
Updated
via OSV·05:22 PM
Affected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2021-27365?

CVE-2021-27365 has a high severity due to its potential impact on data confidentiality and integrity.

2

How do I fix CVE-2021-27365?

To fix CVE-2021-27365, upgrade your kernel to the latest available version provided by your distribution.

3

What are the affected operating systems for CVE-2021-27365?

CVE-2021-27365 affects various versions of the Linux kernel across Red Hat, Debian, and Oracle systems.

4

What types of systems are primarily impacted by CVE-2021-27365?

CVE-2021-27365 primarily impacts systems using the iSCSI subsystem in the Linux kernel.

5

Is CVE-2021-27365 exploitable remotely?

Yes, CVE-2021-27365 can potentially be exploited remotely if the iSCSI service is exposed.

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