nvmet-tcp: propagate nvmet_tcp_build_pdu_iovec() errors to its callers

Summary

CVECVE-2026-52989
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-06-24 17:17:09 UTC
Updated2026-07-15 01:16:25 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 7 HIGH from ADP

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS: 0.003420000 probability, percentile 0.262520000 (date 2026-07-13)

Problem Types: CWE-908 | CWE-390 | CWE-390 Detection of Error Condition Without Action


VersionSourceTypeScoreSeverityVector
3.1ADPCVSS7HIGHCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1416baaa9-dc9f-4396-8d5f-8c081fb06d67Secondary9.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
3.10b0ca135-0b70-47e7-9f44-1890c2a1c46cSecondary7HIGHCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1CNADECLARED9.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 1385be357e8acd09b36e026567f3a9d5c61139de 3df42a854686fa06484e37ac1a3931c8e3e3453c git Not specified
CNA Linux Linux affected dca1a6ba0da9f472ef040525fab10fd9956db59f d7c8f95f599b3b38a717d2e771c3f8c174f657c3 git Not specified
CNA Linux Linux affected 19672ae68d52ff75347ebe2420dde1b07adca09f f9204a2b78dd18374d3bcf9bf93d9021ce22de1b git Not specified
CNA Linux Linux affected ab200d71553bdcf4de554a5985b05b2dd606bc57 c2a11441538bdbbc5aa003f190995eba93a89b88 git Not specified
CNA Linux Linux affected 52a0a98549344ca20ad81a4176d68d28e3c05a5c 046fa5c72d15cd8e2d592e275697ea399d8f76b0 git Not specified
CNA Linux Linux affected 52a0a98549344ca20ad81a4176d68d28e3c05a5c ea8e356acb165cb1fd75537a52e1f66e5e76c538 git Not specified
CNA Linux Linux affected 043b4307a99f902697349128fde93b2ddde4686c git Not specified
CNA Linux Linux affected 42afe8ed8ad2de9c19457156244ef3e1eca94b5d git Not specified
CNA Linux Linux affected 6.1.163 6.1.175 semver Not specified
CNA Linux Linux affected 6.6.124 6.6.141 semver Not specified
CNA Linux Linux affected 6.12.70 6.12.91 semver Not specified
CNA Linux Linux affected 6.18.10 6.18.33 semver Not specified
CNA Linux Linux affected 5.10.250 5.11 semver Not specified
CNA Linux Linux affected 5.15.200 5.16 semver Not specified
CNA Linux Linux affected 6.19 Not specified
CNA Linux Linux unaffected 6.19 semver Not specified
CNA Linux Linux unaffected 6.1.175 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.141 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.91 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.33 6.18.* semver Not specified
CNA Linux Linux unaffected 7.0.10 7.0.* semver Not specified
CNA Linux Linux unaffected 7.1 * original_commit_for_fix Not specified
ADP Red Hat Red Hat Enterprise Linux 10 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 6 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 9 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 9 Not specified Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/ea8e356acb165cb1fd75537a52e1f66e5e76c538 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/d7c8f95f599b3b38a717d2e771c3f8c174f657c3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
bugzilla.redhat.com/show_bug.cgi 0b0ca135-0b70-47e7-9f44-1890c2a1c46c bugzilla.redhat.com Issue Tracking, Third Party Advisory
security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52989.json 0b0ca135-0b70-47e7-9f44-1890c2a1c46c security.access.redhat.com Third Party Advisory
git.kernel.org/stable/c/c2a11441538bdbbc5aa003f190995eba93a89b88 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
access.redhat.com/security/cve/CVE-2026-52989 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com Third Party Advisory
git.kernel.org/stable/c/f9204a2b78dd18374d3bcf9bf93d9021ce22de1b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/046fa5c72d15cd8e2d592e275697ea399d8f76b0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/3df42a854686fa06484e37ac1a3931c8e3e3453c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
ADP2026-06-24T00:00:00.000ZReported to Red Hat.
ADP2026-06-24T00:00:00.000ZMade public.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report