CVE-2021-27365
kernel: heap buffer overflow in the iSCSI subsystem
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · March 5, 2021
Updated · July 31, 2026
Description
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.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
The LIBISCSI module will be auto-loaded when required, its use can be disabled by preventing the module from loading with the following instructions:
# echo "install libiscsi /bin/true" >> /etc/modprobe.d/disable-libiscsi.conf
The system will need to be restarted if the libiscsi modules are loaded. In most circumstances, the libiscsi kernel modules will be unable to be unloaded while any network interfaces are active and the protocol is in use.
If the system requires iscsi to work correctly, this mitigation may not be suitable.
If you need further assistance, see KCS article https://access.redhat.com/solutions/41278 or contact Red Hat Global Support Services.
CVSS / CWE
CVSS 3.1 · 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-788 · Access of Memory Location After End of Buffer