Junglewise Threat Intelligence

CVE-2026-63887: Linux Kernel heap overflow in iSCSI target login negotiation

CVE-2026-63887 · Severity: info · CVSS 8.1 · Published 2026-07-19

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's iSCSI target implementation could allow a remote attacker to cause a system crash or potentially execute unauthorized code. The issue occurs during the login phase when the system handles specially crafted connection requests, leading to a memory overflow. This affects servers providing iSCSI storage services, potentially impacting data availability and system stability.

Technical details

A heap buffer overflow exists in the Linux kernel's iSCSI target subsystem (iscsit). The function iscsi_encode_text_output() uses sprintf() to concatenate "key=value" records into an 8192-byte response buffer (login->rsp_buf) without verifying remaining capacity. While input PDU size is capped at 8KB, an attacker can send a PDU with many small, unknown keys. Each unknown key triggers a 16-byte "NotUnderstood" response, allowing an attacker to generate up to 32KB of output, resulting in a ~24KB overflow of the kmalloc-8k slab. This can be triggered remotely during the PHASE_SECURITY or PHASE_OPERATIONAL login stages without prior authentication. The fix replaces sprintf() with snprintf() and implements explicit bounds checking.

Affected products

  • Linux Linux Kernel v4.1 to v7.1-rc2

Timeline

  • 2026-05-11: other: Patch submitted by Michael Bommarito
  • 2026-07-19: disclosed: CVE published

References

Related threats