CVEvulnerability

CVE-2026-52989

9.8 CRITICAL Published 2026-06-24 Modified 2026-08-21 Official page ↗
Status
Modified
Published
2026-06-24
Last modified
2026-08-21
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 (0b0ca135-0b70-47e7-9f44-1890c2a1c46c)
7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weaknesses
CWE-390, CWE-908

Description

In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: propagate nvmet_tcp_build_pdu_iovec() errors to its callers Currently, when nvmet_tcp_build_pdu_iovec() detects an out-of-bounds PDU length or offset, it triggers nvmet_tcp_fatal_error(cmd->queue) and returns early. However, because the function returns void, the callers are entirely unaware that a fatal error has occurred and that the cmd->recv_msg.msg_iter was left uninitialized. Callers such as nvmet_tcp_handle_h2c_data_pdu() proceed to blindly overwrite the queue state with queue->rcv_state = NVMET_TCP_RECV_DATA Consequently, the socket receiving loop may attempt to read incoming network data into the uninitialized iterator. Fix this by shifting the error handling responsibility to the callers.

Affected configurations

• linux linux kernel (>= 5.10.250 < 5.11) • linux linux kernel (>= 5.15.200 < 5.16) • linux linux kernel (>= 6.1.163 < 6.1.175) • linux linux kernel (>= 6.6.124 < 6.6.141) • linux linux kernel (>= 6.12.70 < 6.12.91) • linux linux kernel (>= 6.18.10 < 6.18.33) • linux linux kernel (>= 6.19.1 < 7.0.10) • linux linux kernel 6.19 • linux linux kernel 7.1

Related

Weakness · CWE (2)

  • CWE-390 Detection of Error Condition Without Action weakness
  • CWE-908 Use of Uninitialized Resource weakness

References