CVE Wiki Pixee · CVE intelligence
← All CVEs

CVE-2026-52989

Critical · CVSS 9.8

Linux Kernel — CWE-390 Detection of Error Condition Without Action / uninitialized iterator use after fatal error in nvmet-tcp PDU handling

CVSS
9.8
nvd
EPSS
0.34%
26th pct
KEV
No
Class
oss containerizable
CWE-908, CWE-390

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.

Search profile — drives PoC discovery

Symbols nvmet_tcp_build_pdu_iovecnvmet_tcp_fatal_errornvmet_tcp_handle_h2c_data_pduNVMET_TCP_RECV_DATArecv_msg.msg_iterrcv_statenvmet_tcp_queuecmd->queue
Keywords CVE-2026-52989nvmet-tcpnvmet_tcp_build_pdu_iovecnvmet_tcp_fatal_erroruninitialized msg_iterout-of-bounds PDU lengthnvmet_tcp_handle_h2c_data_pduNVMET_TCP_RECV_DATALinux kernel nvmet tcp PDU iovec error propagationnvmet tcp fatal error void return
Versions: Linux Kernel versions prior to fixes at commits 046fa5c72d15, 3df42a854686, c2a11441538b, d7c8f95f599b, ea8e356acb16

Affected packages

Linux Kernel 0 → 6.1.175
Linux Kernel 6.13.0 → 6.18.33
Linux Kernel 6.19.0 → 7.0.10
Linux Kernel 6.2.0 → 6.6.141
Linux Kernel 6.7.0 → 6.12.91

References

Status: enriched · ingested 2026-07-11T00:00:26.000Z · profiled 2026-07-11T00:30:26.000Z