{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-52989: nvmet-tcp: propagate nvmet_tcp_build_pdu_iovec() errors to its callers","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-52989","status":"final","version":"1","initial_release_date":"2026-06-24T16:29:03.398Z","current_release_date":"2026-06-28T06:37:43.647Z","revision_history":[{"date":"2026-06-24T16:29:03.398Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-tcp: propagate nvmet_tcp_build_pdu_iovec() errors to its callers\n\nCurrently, when nvmet_tcp_build_pdu_iovec() detects an out-of-bounds\nPDU length or offset, it triggers nvmet_tcp_fatal_error(cmd->queue)\nand returns early. However, because the function returns void, the\ncallers are entirely unaware that a fatal error has occurred and\nthat the cmd->recv_msg.msg_iter was left uninitialized.\n\nCallers such as nvmet_tcp_handle_h2c_data_pdu() proceed to blindly\noverwrite the queue state with queue->rcv_state = NVMET_TCP_RECV_DATA\nConsequently, the socket receiving loop may attempt to read incoming\nnetwork data into the uninitialized iterator.\n\nFix this by shifting the error handling responsibility to the callers.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-52989 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-52989"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-52989"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/3df42a854686fa06484e37ac1a3931c8e3e3453c"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/d7c8f95f599b3b38a717d2e771c3f8c174f657c3"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/f9204a2b78dd18374d3bcf9bf93d9021ce22de1b"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/c2a11441538bdbbc5aa003f190995eba93a89b88"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/046fa5c72d15cd8e2d592e275697ea399d8f76b0"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/ea8e356acb165cb1fd75537a52e1f66e5e76c538"}]},"product_tree":{"branches":[{"category":"vendor","name":"Linux","branches":[{"category":"product_name","name":"Linux","branches":[{"category":"product_version_range","name":">=1385be357e8acd09b36e026567f3a9d5c61139de <3df42a854686fa06484e37ac1a3931c8e3e3453c","product":{"name":"Linux Linux >=1385be357e8acd09b36e026567f3a9d5c61139de <3df42a854686fa06484e37ac1a3931c8e3e3453c","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=dca1a6ba0da9f472ef040525fab10fd9956db59f <d7c8f95f599b3b38a717d2e771c3f8c174f657c3","product":{"name":"Linux Linux >=dca1a6ba0da9f472ef040525fab10fd9956db59f <d7c8f95f599b3b38a717d2e771c3f8c174f657c3","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=19672ae68d52ff75347ebe2420dde1b07adca09f <f9204a2b78dd18374d3bcf9bf93d9021ce22de1b","product":{"name":"Linux Linux >=19672ae68d52ff75347ebe2420dde1b07adca09f <f9204a2b78dd18374d3bcf9bf93d9021ce22de1b","product_id":"CSAFPID-3","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=ab200d71553bdcf4de554a5985b05b2dd606bc57 <c2a11441538bdbbc5aa003f190995eba93a89b88","product":{"name":"Linux Linux >=ab200d71553bdcf4de554a5985b05b2dd606bc57 <c2a11441538bdbbc5aa003f190995eba93a89b88","product_id":"CSAFPID-4","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=52a0a98549344ca20ad81a4176d68d28e3c05a5c <046fa5c72d15cd8e2d592e275697ea399d8f76b0","product":{"name":"Linux Linux >=52a0a98549344ca20ad81a4176d68d28e3c05a5c <046fa5c72d15cd8e2d592e275697ea399d8f76b0","product_id":"CSAFPID-5","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=52a0a98549344ca20ad81a4176d68d28e3c05a5c <ea8e356acb165cb1fd75537a52e1f66e5e76c538","product":{"name":"Linux Linux >=52a0a98549344ca20ad81a4176d68d28e3c05a5c <ea8e356acb165cb1fd75537a52e1f66e5e76c538","product_id":"CSAFPID-6","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"043b4307a99f902697349128fde93b2ddde4686c","product":{"name":"Linux Linux 043b4307a99f902697349128fde93b2ddde4686c","product_id":"CSAFPID-7","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"42afe8ed8ad2de9c19457156244ef3e1eca94b5d","product":{"name":"Linux Linux 42afe8ed8ad2de9c19457156244ef3e1eca94b5d","product_id":"CSAFPID-8","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=6.1.163 <6.1.175","product":{"name":"Linux Linux >=6.1.163 <6.1.175","product_id":"CSAFPID-9","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=6.6.124 <6.6.141","product":{"name":"Linux Linux >=6.6.124 <6.6.141","product_id":"CSAFPID-10","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=6.12.70 <6.12.91","product":{"name":"Linux Linux >=6.12.70 <6.12.91","product_id":"CSAFPID-11","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=6.18.10 <6.18.33","product":{"name":"Linux Linux >=6.18.10 <6.18.33","product_id":"CSAFPID-12","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=5.10.250 <5.11","product":{"name":"Linux Linux >=5.10.250 <5.11","product_id":"CSAFPID-13","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=5.15.200 <5.16","product":{"name":"Linux Linux >=5.15.200 <5.16","product_id":"CSAFPID-14","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}}]}]},{"category":"vendor","name":"Linux","branches":[{"category":"product_name","name":"Linux","branches":[{"category":"product_version","name":"6.19","product":{"name":"Linux Linux 6.19","product_id":"CSAFPID-15","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:6.19:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"0","product":{"name":"Linux Linux 0","product_id":"CSAFPID-16","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:6.19:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.1.175","product":{"name":"Linux Linux 6.1.175","product_id":"CSAFPID-17","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:6.19:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.6.141","product":{"name":"Linux Linux 6.6.141","product_id":"CSAFPID-18","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:6.19:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.12.91","product":{"name":"Linux Linux 6.12.91","product_id":"CSAFPID-19","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:6.19:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.18.33","product":{"name":"Linux Linux 6.18.33","product_id":"CSAFPID-20","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:6.19:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"7.0.10","product":{"name":"Linux Linux 7.0.10","product_id":"CSAFPID-21","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:6.19:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"7.1","product":{"name":"Linux Linux 7.1","product_id":"CSAFPID-22","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:6.19:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-52989","title":"nvmet-tcp: propagate nvmet_tcp_build_pdu_iovec() errors to its callers","notes":[{"category":"description","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-tcp: propagate nvmet_tcp_build_pdu_iovec() errors to its callers\n\nCurrently, when nvmet_tcp_build_pdu_iovec() detects an out-of-bounds\nPDU length or offset, it triggers nvmet_tcp_fatal_error(cmd->queue)\nand returns early. However, because the function returns void, the\ncallers are entirely unaware that a fatal error has occurred and\nthat the cmd->recv_msg.msg_iter was left uninitialized.\n\nCallers such as nvmet_tcp_handle_h2c_data_pdu() proceed to blindly\noverwrite the queue state with queue->rcv_state = NVMET_TCP_RECV_DATA\nConsequently, the socket receiving loop may attempt to read incoming\nnetwork data into the uninitialized iterator.\n\nFix this by shifting the error handling responsibility to the callers.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7","CSAFPID-8","CSAFPID-9","CSAFPID-10","CSAFPID-11","CSAFPID-12","CSAFPID-13","CSAFPID-14","CSAFPID-15"],"fixed":["CSAFPID-16","CSAFPID-17","CSAFPID-18","CSAFPID-19","CSAFPID-20","CSAFPID-21","CSAFPID-22"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"},"products":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7","CSAFPID-8","CSAFPID-9","CSAFPID-10","CSAFPID-11","CSAFPID-12","CSAFPID-13","CSAFPID-14","CSAFPID-15"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: 0, 046fa5c72d15cd8e2d592e275697ea399d8f76b0, 3df42a854686fa06484e37ac1a3931c8e3e3453c, 5.11, 5.16, 6.1.175, 6.6.141, 6.12.91, 6.18.33, 7.0.10, 7.1, c2a11441538bdbbc5aa003f190995eba93a89b88, d7c8f95f599b3b38a717d2e771c3f8c174f657c3, ea8e356acb165cb1fd75537a52e1f66e5e76c538, f9204a2b78dd18374d3bcf9bf93d9021ce22de1b.","product_ids":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7","CSAFPID-8","CSAFPID-9","CSAFPID-10","CSAFPID-11","CSAFPID-12","CSAFPID-13","CSAFPID-14","CSAFPID-15"]}]}]}