CVE-2021-27365: Buffer Overflow
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:2.6.32-754.39.1.el6 - Upgrade
Upgrade
redhat/kernel-rtto a version that resolves this vulnerability.Fixed in 0:3.10.0-1160.24.1.rt56.1161.el7 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:3.10.0-1160.24.1.el7 - Upgrade
Upgrade
redhat/kernel-altto a version that resolves this vulnerability.Fixed in 0:4.14.0-115.36.1.el7a - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:3.10.0-327.96.1.el7 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:3.10.0-514.88.1.el7 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:3.10.0-693.84.1.el7 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:3.10.0-957.72.1.el7 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:3.10.0-1062.49.1.el7 - Upgrade
Upgrade
redhat/kernel-rtto a version that resolves this vulnerability.Fixed in 0:4.18.0-240.22.1.rt7.77.el8_3 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:4.18.0-240.22.1.el8_3 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:4.18.0-147.44.1.el8_1 - Upgrade
Upgrade
redhat/kernel-rtto a version that resolves this vulnerability.Fixed in 0:4.18.0-193.51.1.rt13.101.el8_2 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:4.18.0-193.51.1.el8_2 - Upgrade
Upgrade
debian/linuxto 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.22-1Fixed in 6.12.25-1 - 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 - 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
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
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.
How do I fix CVE-2021-27365?
To fix CVE-2021-27365, upgrade your kernel to the latest available version provided by your distribution.
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.
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.
Is CVE-2021-27365 exploitable remotely?
Yes, CVE-2021-27365 can potentially be exploited remotely if the iSCSI service is exposed.