{"api_version":"1","generated_at":"2026-09-17T23:44:36+00:00","cve":"CVE-2026-90294","urls":{"html":"https://cve.report/CVE-2026-90294","api":"https://cve.report/api/cve/CVE-2026-90294.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-90294","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-90294"},"summary":{"title":"IB/isert: delay the final Login Response until the session is registered","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nIB/isert: delay the final Login Response until the session is registered\n\nisert_put_login_tx() puts the final Login Response on the wire before\n__transport_register_session(), which iscsi_post_login_handler() reaches\nonly after iscsi_target_do_login() returns.  An initiator that issues a\nSCSI command as soon as it sees that response can have it executed against\nan se_session whose se_tpg is still NULL, and the ib-comp-wq worker oopses\non the NULL dereference.\n\n Oops: general protection fault, probably for non-canonical address 0xdffffc000000000f: 0000 [#1] SMP KASAN NOPTI\n KASAN: null-ptr-deref in range [0x0000000000000078-0x000000000000007f]\n CPU: 0 UID: 0 PID: 178 Comm: kworker/0:1H Not tainted 7.2.0-rc5-V2CTL-gf5098b6bae76 #10 PREEMPT(lazy)\n Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014\n Workqueue: ib-comp-wq ib_cq_poll_work\n RIP: 0010:target_submit+0xbe/0x390\n Code: fa 48 c1 ea 03 80 3c 02 00 0f 85 89 02 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 64 24 18 49 8d 7c 24 78 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 5a 02 00 00 48 8d 7b 78 4d 8b 6c 24 78 48 b8 00\n RSP: 0018:ffff8881058cfa78 EFLAGS: 00010206\n RAX: dffffc0000000000 RBX: ffff88810c78c6f0 RCX: ffffffff964bb363\n RDX: 000000000000000f RSI: 00000000fffffe00 RDI: 0000000000000078\n RBP: 1ffff11020b19f52 R08: 0000000000000001 R09: ffffed1020b19f52\n R10: 0000000000000003 R11: ffff88810596c000 R12: 0000000000000000\n R13: ffff88810c61b000 R14: ffff88810c6a3400 R15: ffff88810c61b044\n FS:  0000000000000000(0000) GS:ffff8881822b2000(0000) knlGS:0000000000000000\n CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n CR2: 00007f1f1b83c000 CR3: 000000006fe72001 CR4: 0000000000770ef0\n PKRU: 55555554\n Call Trace:\n  <TASK>\n  ? __pfx__raw_spin_lock_bh+0x10/0x10\n  ? __pfx_target_submit+0x10/0x10\n  ? mutex_lock+0x81/0xe0\n  ? __pfx_mutex_lock+0x10/0x10\n  ? iscsit_execute_cmd+0x650/0x850\n  iscsit_sequence_cmd+0x186/0x3d0\n  iscsit_process_scsi_cmd+0x87/0x300\n  isert_recv_done+0x1002/0x2390\n  ? __pfx_isert_recv_done+0x10/0x10\n  ? rxe_poll_cq+0x253/0x3d0\n  ? finish_task_switch.isra.0+0x1dc/0xa70\n  __ib_process_cq+0xe1/0x390\n  ib_cq_poll_work+0x46/0x150\n  process_one_work+0x633/0x1030\n  ? assign_work+0x11d/0x370\n  worker_thread+0x45b/0xd10\n  ? __pfx_worker_thread+0x10/0x10\n  ? __pfx_worker_thread+0x10/0x10\n  kthread+0x2c6/0x3b0\n  ? recalc_sigpending+0x15c/0x1e0\n  ? __pfx_kthread+0x10/0x10\n  ret_from_fork+0x36e/0x5a0\n  ? __pfx_ret_from_fork+0x10/0x10\n  ? __switch_to+0x572/0xdd0\n  ? __pfx_kthread+0x10/0x10\n  ret_from_fork_asm+0x1a/0x30\n  </TASK>\n Modules linked in:\n ---[ end trace 0000000000000000 ]---\n\nDelay the final Login Response instead.  isert_get_rx_pdu() runs from\niscsi_target_rx_thread() after conn->rx_login_comp, completed by\niscsi_post_login_handler() after __transport_register_session(); iscsi-TCP\nand cxgbit already take PDUs from that thread, isert alone does not.  The\nbuffers are still posted first, so the initiator's first command does not\nmeet an empty receive queue and nothing depends on RNR flow control, and\nthe header and payload live in isert_conn, not in the struct iscsi_login\nthat iscsi_target_nego_release() frees first.\n\nOver rxe, 400 login cycles per run, the oops appeared in 10 of 20\nunpatched runs and in none of 20 runs with this patch.  An\ninitiator that never waits is handled by the next patch.\n\nNot tested: iWARP, discovery sessions over iSER, and real HCAs.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-17 17:17:26","updated_at":"2026-09-17 17:17:26"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/0d2efc355982064855f24f73f9fbb6c65ca4a5c7","name":"https://git.kernel.org/stable/c/0d2efc355982064855f24f73f9fbb6c65ca4a5c7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e148dbac43308d9e4313070bfc5b355d03134809","name":"https://git.kernel.org/stable/c/e148dbac43308d9e4313070bfc5b355d03134809","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/11694889c4bab47047a60690ceb70d7551ed5b2e","name":"https://git.kernel.org/stable/c/11694889c4bab47047a60690ceb70d7551ed5b2e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f84e9adf4d9f4c0c79ef4a7d9e0c5c08b1337033","name":"https://git.kernel.org/stable/c/f84e9adf4d9f4c0c79ef4a7d9e0c5c08b1337033","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a6c19af05c170f267eca1d01c3c72c84ba7860ae","name":"https://git.kernel.org/stable/c/a6c19af05c170f267eca1d01c3c72c84ba7860ae","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a18fb8d540b3e631cb7e50e55f3c462c05b3a114","name":"https://git.kernel.org/stable/c/a18fb8d540b3e631cb7e50e55f3c462c05b3a114","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4397ea31e3b0d017c2b9b876b326df0b3eb845bf","name":"https://git.kernel.org/stable/c/4397ea31e3b0d017c2b9b876b326df0b3eb845bf","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/464f5afa92d071a226f88424803b0fcf88093ede","name":"https://git.kernel.org/stable/c/464f5afa92d071a226f88424803b0fcf88093ede","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-90294","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90294","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b8d26b3be8b33682cf163274ed07479a70554633 e148dbac43308d9e4313070bfc5b355d03134809 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b8d26b3be8b33682cf163274ed07479a70554633 a18fb8d540b3e631cb7e50e55f3c462c05b3a114 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b8d26b3be8b33682cf163274ed07479a70554633 0d2efc355982064855f24f73f9fbb6c65ca4a5c7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b8d26b3be8b33682cf163274ed07479a70554633 f84e9adf4d9f4c0c79ef4a7d9e0c5c08b1337033 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b8d26b3be8b33682cf163274ed07479a70554633 11694889c4bab47047a60690ceb70d7551ed5b2e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b8d26b3be8b33682cf163274ed07479a70554633 a6c19af05c170f267eca1d01c3c72c84ba7860ae git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b8d26b3be8b33682cf163274ed07479a70554633 4397ea31e3b0d017c2b9b876b326df0b3eb845bf git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b8d26b3be8b33682cf163274ed07479a70554633 464f5afa92d071a226f88424803b0fcf88093ede git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.10","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.10 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.270 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.221 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.188 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.157 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.110 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.52 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.6 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/infiniband/ulp/isert/ib_isert.c","drivers/infiniband/ulp/isert/ib_isert.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"e148dbac43308d9e4313070bfc5b355d03134809","status":"affected","version":"b8d26b3be8b33682cf163274ed07479a70554633","versionType":"git"},{"lessThan":"a18fb8d540b3e631cb7e50e55f3c462c05b3a114","status":"affected","version":"b8d26b3be8b33682cf163274ed07479a70554633","versionType":"git"},{"lessThan":"0d2efc355982064855f24f73f9fbb6c65ca4a5c7","status":"affected","version":"b8d26b3be8b33682cf163274ed07479a70554633","versionType":"git"},{"lessThan":"f84e9adf4d9f4c0c79ef4a7d9e0c5c08b1337033","status":"affected","version":"b8d26b3be8b33682cf163274ed07479a70554633","versionType":"git"},{"lessThan":"11694889c4bab47047a60690ceb70d7551ed5b2e","status":"affected","version":"b8d26b3be8b33682cf163274ed07479a70554633","versionType":"git"},{"lessThan":"a6c19af05c170f267eca1d01c3c72c84ba7860ae","status":"affected","version":"b8d26b3be8b33682cf163274ed07479a70554633","versionType":"git"},{"lessThan":"4397ea31e3b0d017c2b9b876b326df0b3eb845bf","status":"affected","version":"b8d26b3be8b33682cf163274ed07479a70554633","versionType":"git"},{"lessThan":"464f5afa92d071a226f88424803b0fcf88093ede","status":"affected","version":"b8d26b3be8b33682cf163274ed07479a70554633","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/infiniband/ulp/isert/ib_isert.c","drivers/infiniband/ulp/isert/ib_isert.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.10"},{"lessThan":"3.10","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.270","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.221","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.188","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.157","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.110","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.52","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.270","versionStartIncluding":"3.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.221","versionStartIncluding":"3.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.188","versionStartIncluding":"3.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.157","versionStartIncluding":"3.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.110","versionStartIncluding":"3.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.52","versionStartIncluding":"3.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.6","versionStartIncluding":"3.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"3.10","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nIB/isert: delay the final Login Response until the session is registered\n\nisert_put_login_tx() puts the final Login Response on the wire before\n__transport_register_session(), which iscsi_post_login_handler() reaches\nonly after iscsi_target_do_login() returns.  An initiator that issues a\nSCSI command as soon as it sees that response can have it executed against\nan se_session whose se_tpg is still NULL, and the ib-comp-wq worker oopses\non the NULL dereference.\n\n Oops: general protection fault, probably for non-canonical address 0xdffffc000000000f: 0000 [#1] SMP KASAN NOPTI\n KASAN: null-ptr-deref in range [0x0000000000000078-0x000000000000007f]\n CPU: 0 UID: 0 PID: 178 Comm: kworker/0:1H Not tainted 7.2.0-rc5-V2CTL-gf5098b6bae76 #10 PREEMPT(lazy)\n Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014\n Workqueue: ib-comp-wq ib_cq_poll_work\n RIP: 0010:target_submit+0xbe/0x390\n Code: fa 48 c1 ea 03 80 3c 02 00 0f 85 89 02 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 64 24 18 49 8d 7c 24 78 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 5a 02 00 00 48 8d 7b 78 4d 8b 6c 24 78 48 b8 00\n RSP: 0018:ffff8881058cfa78 EFLAGS: 00010206\n RAX: dffffc0000000000 RBX: ffff88810c78c6f0 RCX: ffffffff964bb363\n RDX: 000000000000000f RSI: 00000000fffffe00 RDI: 0000000000000078\n RBP: 1ffff11020b19f52 R08: 0000000000000001 R09: ffffed1020b19f52\n R10: 0000000000000003 R11: ffff88810596c000 R12: 0000000000000000\n R13: ffff88810c61b000 R14: ffff88810c6a3400 R15: ffff88810c61b044\n FS:  0000000000000000(0000) GS:ffff8881822b2000(0000) knlGS:0000000000000000\n CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n CR2: 00007f1f1b83c000 CR3: 000000006fe72001 CR4: 0000000000770ef0\n PKRU: 55555554\n Call Trace:\n  <TASK>\n  ? __pfx__raw_spin_lock_bh+0x10/0x10\n  ? __pfx_target_submit+0x10/0x10\n  ? mutex_lock+0x81/0xe0\n  ? __pfx_mutex_lock+0x10/0x10\n  ? iscsit_execute_cmd+0x650/0x850\n  iscsit_sequence_cmd+0x186/0x3d0\n  iscsit_process_scsi_cmd+0x87/0x300\n  isert_recv_done+0x1002/0x2390\n  ? __pfx_isert_recv_done+0x10/0x10\n  ? rxe_poll_cq+0x253/0x3d0\n  ? finish_task_switch.isra.0+0x1dc/0xa70\n  __ib_process_cq+0xe1/0x390\n  ib_cq_poll_work+0x46/0x150\n  process_one_work+0x633/0x1030\n  ? assign_work+0x11d/0x370\n  worker_thread+0x45b/0xd10\n  ? __pfx_worker_thread+0x10/0x10\n  ? __pfx_worker_thread+0x10/0x10\n  kthread+0x2c6/0x3b0\n  ? recalc_sigpending+0x15c/0x1e0\n  ? __pfx_kthread+0x10/0x10\n  ret_from_fork+0x36e/0x5a0\n  ? __pfx_ret_from_fork+0x10/0x10\n  ? __switch_to+0x572/0xdd0\n  ? __pfx_kthread+0x10/0x10\n  ret_from_fork_asm+0x1a/0x30\n  </TASK>\n Modules linked in:\n ---[ end trace 0000000000000000 ]---\n\nDelay the final Login Response instead.  isert_get_rx_pdu() runs from\niscsi_target_rx_thread() after conn->rx_login_comp, completed by\niscsi_post_login_handler() after __transport_register_session(); iscsi-TCP\nand cxgbit already take PDUs from that thread, isert alone does not.  The\nbuffers are still posted first, so the initiator's first command does not\nmeet an empty receive queue and nothing depends on RNR flow control, and\nthe header and payload live in isert_conn, not in the struct iscsi_login\nthat iscsi_target_nego_release() frees first.\n\nOver rxe, 400 login cycles per run, the oops appeared in 10 of 20\nunpatched runs and in none of 20 runs with this patch.  An\ninitiator that never waits is handled by the next patch.\n\nNot tested: iWARP, discovery sessions over iSER, and real HCAs."}],"providerMetadata":{"dateUpdated":"2026-09-17T16:08:20.664Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/e148dbac43308d9e4313070bfc5b355d03134809"},{"url":"https://git.kernel.org/stable/c/a18fb8d540b3e631cb7e50e55f3c462c05b3a114"},{"url":"https://git.kernel.org/stable/c/0d2efc355982064855f24f73f9fbb6c65ca4a5c7"},{"url":"https://git.kernel.org/stable/c/f84e9adf4d9f4c0c79ef4a7d9e0c5c08b1337033"},{"url":"https://git.kernel.org/stable/c/11694889c4bab47047a60690ceb70d7551ed5b2e"},{"url":"https://git.kernel.org/stable/c/a6c19af05c170f267eca1d01c3c72c84ba7860ae"},{"url":"https://git.kernel.org/stable/c/4397ea31e3b0d017c2b9b876b326df0b3eb845bf"},{"url":"https://git.kernel.org/stable/c/464f5afa92d071a226f88424803b0fcf88093ede"}],"title":"IB/isert: delay the final Login Response until the session is registered","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-90294","datePublished":"2026-09-17T16:08:20.664Z","dateReserved":"2026-09-11T19:38:34.798Z","dateUpdated":"2026-09-17T16:08:20.664Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-17 17:17:26","lastModifiedDate":"2026-09-17 17:17:26","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"90294","Ordinal":"1","Title":"IB/isert: delay the final Login Response until the session is re","CVE":"CVE-2026-90294","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"90294","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nIB/isert: delay the final Login Response until the session is registered\n\nisert_put_login_tx() puts the final Login Response on the wire before\n__transport_register_session(), which iscsi_post_login_handler() reaches\nonly after iscsi_target_do_login() returns.  An initiator that issues a\nSCSI command as soon as it sees that response can have it executed against\nan se_session whose se_tpg is still NULL, and the ib-comp-wq worker oopses\non the NULL dereference.\n\n Oops: general protection fault, probably for non-canonical address 0xdffffc000000000f: 0000 [#1] SMP KASAN NOPTI\n KASAN: null-ptr-deref in range [0x0000000000000078-0x000000000000007f]\n CPU: 0 UID: 0 PID: 178 Comm: kworker/0:1H Not tainted 7.2.0-rc5-V2CTL-gf5098b6bae76 #10 PREEMPT(lazy)\n Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014\n Workqueue: ib-comp-wq ib_cq_poll_work\n RIP: 0010:target_submit+0xbe/0x390\n Code: fa 48 c1 ea 03 80 3c 02 00 0f 85 89 02 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 64 24 18 49 8d 7c 24 78 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 5a 02 00 00 48 8d 7b 78 4d 8b 6c 24 78 48 b8 00\n RSP: 0018:ffff8881058cfa78 EFLAGS: 00010206\n RAX: dffffc0000000000 RBX: ffff88810c78c6f0 RCX: ffffffff964bb363\n RDX: 000000000000000f RSI: 00000000fffffe00 RDI: 0000000000000078\n RBP: 1ffff11020b19f52 R08: 0000000000000001 R09: ffffed1020b19f52\n R10: 0000000000000003 R11: ffff88810596c000 R12: 0000000000000000\n R13: ffff88810c61b000 R14: ffff88810c6a3400 R15: ffff88810c61b044\n FS:  0000000000000000(0000) GS:ffff8881822b2000(0000) knlGS:0000000000000000\n CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n CR2: 00007f1f1b83c000 CR3: 000000006fe72001 CR4: 0000000000770ef0\n PKRU: 55555554\n Call Trace:\n  <TASK>\n  ? __pfx__raw_spin_lock_bh+0x10/0x10\n  ? __pfx_target_submit+0x10/0x10\n  ? mutex_lock+0x81/0xe0\n  ? __pfx_mutex_lock+0x10/0x10\n  ? iscsit_execute_cmd+0x650/0x850\n  iscsit_sequence_cmd+0x186/0x3d0\n  iscsit_process_scsi_cmd+0x87/0x300\n  isert_recv_done+0x1002/0x2390\n  ? __pfx_isert_recv_done+0x10/0x10\n  ? rxe_poll_cq+0x253/0x3d0\n  ? finish_task_switch.isra.0+0x1dc/0xa70\n  __ib_process_cq+0xe1/0x390\n  ib_cq_poll_work+0x46/0x150\n  process_one_work+0x633/0x1030\n  ? assign_work+0x11d/0x370\n  worker_thread+0x45b/0xd10\n  ? __pfx_worker_thread+0x10/0x10\n  ? __pfx_worker_thread+0x10/0x10\n  kthread+0x2c6/0x3b0\n  ? recalc_sigpending+0x15c/0x1e0\n  ? __pfx_kthread+0x10/0x10\n  ret_from_fork+0x36e/0x5a0\n  ? __pfx_ret_from_fork+0x10/0x10\n  ? __switch_to+0x572/0xdd0\n  ? __pfx_kthread+0x10/0x10\n  ret_from_fork_asm+0x1a/0x30\n  </TASK>\n Modules linked in:\n ---[ end trace 0000000000000000 ]---\n\nDelay the final Login Response instead.  isert_get_rx_pdu() runs from\niscsi_target_rx_thread() after conn->rx_login_comp, completed by\niscsi_post_login_handler() after __transport_register_session(); iscsi-TCP\nand cxgbit already take PDUs from that thread, isert alone does not.  The\nbuffers are still posted first, so the initiator's first command does not\nmeet an empty receive queue and nothing depends on RNR flow control, and\nthe header and payload live in isert_conn, not in the struct iscsi_login\nthat iscsi_target_nego_release() frees first.\n\nOver rxe, 400 login cycles per run, the oops appeared in 10 of 20\nunpatched runs and in none of 20 runs with this patch.  An\ninitiator that never waits is handled by the next patch.\n\nNot tested: iWARP, discovery sessions over iSER, and real HCAs.","Type":"Description","Title":"IB/isert: delay the final Login Response until the session is re"}]}}}