CVE-2026-90293 PUBLISHED

IB/isert: post the full-feature receive buffers after session registration

Assigner: Linux
Reserved: 11.09.2026 Published: 17.09.2026 Updated: 17.09.2026

In the Linux kernel, the following vulnerability has been resolved:

IB/isert: post the full-feature receive buffers after session registration

isert_put_login_tx() posts the full-feature receive buffers before __transport_register_session() runs, so an initiator that does not wait for the final Login Response can still have a SCSI command executed against an se_session whose se_tpg is NULL - the same oops as the previous patch, at target_submit+0xbe.

Post them from isert_get_rx_pdu(), which the previous patch already uses to send that response, and post them before that send: the receive queue is filled at the moment the initiator is told it may use it. Allocating there keeps the existing property that a memory allocation failure cannot happen once the final Login Response is on the wire.

The receive queue is already empty between the final Login Request and isert_post_recvm(); this moves the second point later, from a median of 92 us to 172 us over 1200 logins. Only an initiator that sends before it has been told to can reach that window, and on IB and RoCE its send is retried there until the buffers appear - isert_rdma_accept() asks for rnr_retry_count = 7. iWARP has no RNR flow control, so there the same send terminates the connection instead.

Measured over rxe, 400 login cycles per run, with an initiator that does not wait: an instrumented build counted no entries to isert_recv_done() before the buffers are posted in 10 runs, where that initiator oopsed 8 of 10 unpatched runs and 5 of 10 with only the previous patch.

Not tested: iWARP, discovery sessions over iSER, and real HCAs.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from b8d26b3be8b33682cf163274ed07479a70554633 to 962edb9a6b0dae09d33a677485a398fc7d55968c (excl.)
  • affected from b8d26b3be8b33682cf163274ed07479a70554633 to 068fe9841d2585b79d479fc7b58251d02d0b066f (excl.)
  • affected from b8d26b3be8b33682cf163274ed07479a70554633 to d4f8257c3283919ca7e149381d062b9af5f7df7d (excl.)
  • affected from b8d26b3be8b33682cf163274ed07479a70554633 to 9c21a433022219ca899d1b3cd9049991f51a6a2c (excl.)
  • affected from b8d26b3be8b33682cf163274ed07479a70554633 to 9b2c61344992c8c2b883e1eebe416cc488a19390 (excl.)
  • affected from b8d26b3be8b33682cf163274ed07479a70554633 to 6c506fee5a5f2c8719c65bcfc5e5d0862b0a1946 (excl.)
  • affected from b8d26b3be8b33682cf163274ed07479a70554633 to ad4492dcaf90a1d1a728ec5eef1a68ce5355027a (excl.)
  • affected from b8d26b3be8b33682cf163274ed07479a70554633 to 5247dde9daac7e107853b6fea043f7f47be033f7 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 3.10 is affected
  • unaffected from 0 to 3.10 (excl.)
  • unaffected from 5.10.270 to 5.10.* (incl.)
  • unaffected from 5.15.221 to 5.15.* (incl.)
  • unaffected from 6.1.188 to 6.1.* (incl.)
  • unaffected from 6.6.157 to 6.6.* (incl.)
  • unaffected from 6.12.110 to 6.12.* (incl.)
  • unaffected from 6.18.52 to 6.18.* (incl.)
  • unaffected from 7.2.6 to 7.2.* (incl.)
  • unaffected from 7.3-rc1 to * (incl.)

References