CVE-2021-27364: Out-of-bounds read in Linux kernel iSCSI Netlink processing
- Vendors
- NetAppDebian ProjectLinuxOracle CorporationCanonical
CVE-2021-27364 is an out-of-bounds read vulnerability in the Linux kernel iSCSI subsystem, affecting unpatched kernels through 5.11.3. Insufficient validation of user-controlled Netlink lengths and offsets in iscsi_if_recv_msg() and the libiscsi send_pdu processing path allows a local unprivileged user to trigger reads outside an allocated heap buffer. The flaw permits reading up to 8192 bytes at a controllable 32-bit offset from the original buffer, potentially exposing kernel memory or causing a kernel panic.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can cause a system-wide denial of service through an invalid kernel memory read and may disclose sensitive kernel memory, including addresses or other data useful in subsequent attacks. A kernel-panic proof of concept was demonstrated. Information disclosure is less directly established: the out-of-bounds data is copied into another buffer rather than returned directly to the initiating user. Recovering that data through an attacker-controlled iSCSI target was proposed but not demonstrated. This vulnerability alone does not establish arbitrary code execution or privilege escalation; the demonstrated root exploit involving related iSCSI vulnerabilities used CVE-2021-27365 and CVE-2021-27363.
Mitigation
If you can’t patch tonight, do this now.
Where iSCSI is not required, prevent the libiscsi module from loading using a modprobe install override that substitutes a no-op command. If the module is already loaded, reboot after applying the configuration; active use can prevent unloading. Restrict automatic loading of the iSCSI transport and RDMA modules as additional defense in depth, using platform-supported module-loading controls. Blocking these modules can disrupt systems that depend on iSCSI storage and is not an appropriate workaround for those deployments.
Remediation
Patch, then assume compromise.
Install a distribution-supported kernel update explicitly fixing CVE-2021-27364 and reboot into the updated kernel. Fixed packages include RHEL 7 kernel 3.10.0-1160.24.1.el7, RHEL 8.1 EUS kernel 4.18.0-147.44.1.el8_1, and RHEL 8.2 EUS kernel 4.18.0-193.51.1.el8_2. Fedora supplied fixes in its 5.10.21 stable kernel updates. On supported Red Hat deployments, a matching kpatch live update can patch the running kernel without a conventional reboot. Select updates for the specific distribution, support stream, architecture, and kernel build rather than relying only on the upstream version number.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-27364 exploited in the wild?
- As of Oct 30, 2026, Mallory has no reports of CVE-2021-27364 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2021-27364?
- Yes. As of Oct 30, 2026, Mallory has reports of a public exploit for CVE-2021-27364.
- Is there a patch for CVE-2021-27364?
- Install a distribution-supported kernel update explicitly fixing CVE-2021-27364 and reboot into the updated kernel. Fixed packages include RHEL 7 kernel 3.10.0-1160.24.1.el7, RHEL 8.1 EUS kernel 4.18.0-147.44.1.el8_1, and RHEL 8.2 EUS kernel 4.18.0-193.51.1.el8_2.
- What products are affected by CVE-2021-27364?
- Linux Kernel, NetApp Cloud Backup, Debian Project Debian Linux, NetApp Solidfire Baseboard Management Controller Firmware, Oracle Corporation Tekelec Platform Distribution, and 1 more.
- How severe is CVE-2021-27364?
- CVE-2021-27364 has a CVSS v3.1 score of 7.1 (High) and an EPSS score of 0.97% (60th percentile) as of Oct 30, 2026.
Recent activity
23 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.