nvmet-tcp: reject unsolicited H2CData PDUs (Linux Linux)

CVE-2026-89968
HIGH 7.5

At a glance

Source
NVD
EPSS
EPSS 0.82 % · percentile 57 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: reject unsolicited H2CData PDUs nvmet_tcp_handle_h2c_data_pdu() accepts an H2CData PDU after only checking that its TTAG is a valid in-range command index and that the command's data buffers are mapped. It never checks that the target has actually solicited that data by sending an R2T for the command. A remote host can abuse this. It submits a write command that takes the R2T path and, before the target transmits the R2T, sends an H2CData PDU for that command's tag. The data completes the command early, and when the command then fails synchronously (e.g. a length mismatch caught by nvmet_check_transfer_len()), it is completed a second time. Each completion calls nvmet_tcp_queue_response(), so the same command is added to queue->resp_list twice while it is still linked; the second llist_add() makes the node point to itself (lentry->next == lentry). nvmet_tcp_process_resp_list() then walks that self-referential node and adds the command to resp_send_list twice. With CONFIG_DEBUG_LIST this trips the "list_add double add" check (kernel BUG); without it the loop never terminates and the nvmet_tcp workqueue wedges (soft-lockup). It is remotely triggerable and needs no authentication on an allow_any_host subsystem. Track whether an R2T has been transmitted for a command and reject an H2CData PDU that arrives before it. The flag is cleared on command reuse (nvmet_tcp_get_cmd() zeroes cmd->flags) and stays set across the multiple H2CData PDUs of a single solicited transfer.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 02341ee424fb2eed16b5b8a9d247492e49335c21 ; affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < cade124c06f8e738e3a0df285ed2e08953e6bfaa ; affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 14beef7d4f123fb458fc9844aa74a071871dcca6 ; affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 9fb527103e53fd43a8e802c2eca407869c204f7a ; affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 2b71f9193e3d3a352920ba367f1a6db345249038 ; affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < cf1484d9a75de6809ef331e16f525aaa41b0e16d
Linux · Linuxaffected 5.0 ; unaffected 0 < 5.0 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD