{"id":"CVE-2026-89968","summary":"nvmet-tcp: reject unsolicited H2CData PDUs","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-tcp: reject unsolicited H2CData PDUs\n\nnvmet_tcp_handle_h2c_data_pdu() accepts an H2CData PDU after only checking\nthat its TTAG is a valid in-range command index and that the command's\ndata buffers are mapped. It never checks that the target has actually\nsolicited that data by sending an R2T for the command.\n\nA remote host can abuse this. It submits a write command that takes the\nR2T path and, before the target transmits the R2T, sends an H2CData PDU\nfor that command's tag. The data completes the command early, and when\nthe command then fails synchronously (e.g. a length mismatch caught by\nnvmet_check_transfer_len()), it is completed a second time. Each\ncompletion calls nvmet_tcp_queue_response(), so the same command is added\nto queue-\u003eresp_list twice while it is still linked; the second llist_add()\nmakes the node point to itself (lentry-\u003enext == lentry).\n\nnvmet_tcp_process_resp_list() then walks that self-referential node and\nadds the command to resp_send_list twice. With CONFIG_DEBUG_LIST this\ntrips the \"list_add double add\" check (kernel BUG); without it the loop\nnever terminates and the nvmet_tcp workqueue wedges (soft-lockup). It is\nremotely triggerable and needs no authentication on an allow_any_host\nsubsystem.\n\nTrack whether an R2T has been transmitted for a command and reject an\nH2CData PDU that arrives before it. The flag is cleared on command reuse\n(nvmet_tcp_get_cmd() zeroes cmd-\u003eflags) and stays set across the multiple\nH2CData PDUs of a single solicited transfer.","modified":"2026-09-17T03:47:20.459565651Z","published":"2026-09-16T10:32:48.852Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89968.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/02341ee424fb2eed16b5b8a9d247492e49335c21"},{"type":"WEB","url":"https://git.kernel.org/stable/c/14beef7d4f123fb458fc9844aa74a071871dcca6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1cbed7538946c99e585acefd11c9ba3a0bdbae05"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2b71f9193e3d3a352920ba367f1a6db345249038"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9fb527103e53fd43a8e802c2eca407869c204f7a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cade124c06f8e738e3a0df285ed2e08953e6bfaa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cf1484d9a75de6809ef331e16f525aaa41b0e16d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/db62b35cbca052860c519cbcabe7650708528738"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89968.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89968"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"872d26a391da92ed8f0c0f5cb5fef428067b7f30"},{"fixed":"02341ee424fb2eed16b5b8a9d247492e49335c21"},{"fixed":"cade124c06f8e738e3a0df285ed2e08953e6bfaa"},{"fixed":"14beef7d4f123fb458fc9844aa74a071871dcca6"},{"fixed":"9fb527103e53fd43a8e802c2eca407869c204f7a"},{"fixed":"2b71f9193e3d3a352920ba367f1a6db345249038"},{"fixed":"cf1484d9a75de6809ef331e16f525aaa41b0e16d"},{"fixed":"1cbed7538946c99e585acefd11c9ba3a0bdbae05"},{"fixed":"db62b35cbca052860c519cbcabe7650708528738"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89968.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.10.270"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.221"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.51"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89968.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}