{"id":"CVE-2026-52989","aliases":["CVE-2026-52989"],"related":[],"kind":"vulnerability","state":"published","title":"nvmet-tcp: propagate nvmet_tcp_build_pdu_iovec() errors to its callers","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-06-24T16:29:03.398Z","modified":"2026-08-24T12:07:11.778Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-390","CWE-908"],"affected":[{"ranges":[{"type":"git","introduced":"1385be357e8acd09b36e026567f3a9d5c61139de","fixed":"3df42a854686fa06484e37ac1a3931c8e3e3453c","status":"affected"},{"type":"git","introduced":"dca1a6ba0da9f472ef040525fab10fd9956db59f","fixed":"d7c8f95f599b3b38a717d2e771c3f8c174f657c3","status":"affected"},{"type":"git","introduced":"19672ae68d52ff75347ebe2420dde1b07adca09f","fixed":"f9204a2b78dd18374d3bcf9bf93d9021ce22de1b","status":"affected"},{"type":"git","introduced":"ab200d71553bdcf4de554a5985b05b2dd606bc57","fixed":"c2a11441538bdbbc5aa003f190995eba93a89b88","status":"affected"},{"type":"git","introduced":"52a0a98549344ca20ad81a4176d68d28e3c05a5c","fixed":"046fa5c72d15cd8e2d592e275697ea399d8f76b0","status":"affected"},{"type":"git","introduced":"52a0a98549344ca20ad81a4176d68d28e3c05a5c","fixed":"ea8e356acb165cb1fd75537a52e1f66e5e76c538","status":"affected"},{"type":"git","version":"043b4307a99f902697349128fde93b2ddde4686c","status":"affected"},{"type":"git","version":"42afe8ed8ad2de9c19457156244ef3e1eca94b5d","status":"affected"},{"type":"semver","introduced":"6.1.163","fixed":"6.1.175","status":"affected"},{"type":"semver","introduced":"6.6.124","fixed":"6.6.141","status":"affected"},{"type":"semver","introduced":"6.12.70","fixed":"6.12.91","status":"affected"},{"type":"semver","introduced":"6.18.10","fixed":"6.18.33","status":"affected"},{"type":"semver","introduced":"5.10.250","fixed":"5.11","status":"affected"},{"type":"semver","introduced":"5.15.200","fixed":"5.16","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.19","status":"unaffected"},{"type":"semver","introduced":"6.1.175","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.141","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.91","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.33","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.10","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"kernel","cpe":"cpe:/o:redhat:enterprise_linux:10","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"kernel","cpe":"cpe:/o:redhat:enterprise_linux:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"kernel","cpe":"cpe:/o:redhat:enterprise_linux:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"kernel-rt","cpe":"cpe:/o:redhat:enterprise_linux:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"kernel","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"kernel-rt","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"kernel","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"kernel-rt","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.10.250","fixed":"5.11"},{"status":"affected","introduced":"5.15.200","fixed":"5.16"},{"status":"affected","introduced":"6.1.163","fixed":"6.1.175"},{"status":"affected","introduced":"6.6.124","fixed":"6.6.141"},{"status":"affected","introduced":"6.12.70","fixed":"6.12.91"},{"status":"affected","introduced":"6.18.10","fixed":"6.18.33"},{"status":"affected","introduced":"6.19.1","fixed":"7.0.10"},{"status":"affected","version":"6.19"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/3df42a854686fa06484e37ac1a3931c8e3e3453c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d7c8f95f599b3b38a717d2e771c3f8c174f657c3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f9204a2b78dd18374d3bcf9bf93d9021ce22de1b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c2a11441538bdbbc5aa003f190995eba93a89b88","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/046fa5c72d15cd8e2d592e275697ea399d8f76b0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ea8e356acb165cb1fd75537a52e1f66e5e76c538","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-52989","tags":["third-party-advisory","vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2492443","tags":["issue-tracking","third-party-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52989.json","tags":["third-party-advisory","x-sadp-csaf-vex"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-52989","url":"https://www.cve.org/CVERecord?id=CVE-2026-52989","licence":"CVE Terms of Use","modified":"2026-08-24T12:07:11.778Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-52989","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52989","licence":"Public domain","modified":"2026-08-21T13:18:17.153Z"}],"updatedAt":"2026-11-25T22:59:25.643Z","epss":{"score":0.00356,"percentile":0.31373,"date":"2026-12-01T12:00:22.000Z"}}