Linux
scsi: target: iscsi: Fix timeout on deleted connection
In the Linux kernel, the following vulnerability has been resolved: scsi: target: iscsi: Fix timeout on deleted connection NOPIN response timer may expire on a deleted connection and crash with such logs: Did not receive response to NOPIN on CID: 0, failing connection for I_T Nexus (null),i,0x00023d000125,iqn.2017-01.com.iscsi.target,t,0x3d BUG: Kernel NULL pointer dereference on read at 0x00000000 NIP strlcpy+0x8/0xb0 LR iscsit_fill_cxn_timeout_err_stats+0x5c/0xc0 [iscsi_target_mod] Call Trace: iscsit_handle_nopin_response_timeout+0xfc/0x120 [iscsi_target_mod] call_timer_fn+0x58/0x1f0 run_timer_softirq+0x740/0x860 __do_softirq+0x16c/0x420 irq_exit+0x188/0x1c0 timer_interrupt+0x184/0x410 That is because nopin response timer may be re-started on nopin timer expiration. Stop nopin timer before stopping the nopin response timer to be sure that no one of them will be re-started.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= e48354ce078c079996f89d715dfa44814b4eba01, < 571ce6b6f5cbaf7d24af03cad592fc0e2a54de35
- >= e48354ce078c079996f89d715dfa44814b4eba01, < 2c5081439c7ab8da08427befe427f0d732ebc9f9
- >= e48354ce078c079996f89d715dfa44814b4eba01, < 019ca2804f3fb49a7f8e56ea6aeaa1ff32724c27
- >= e48354ce078c079996f89d715dfa44814b4eba01, < 6815846e0c3a62116a7da9740e3a7c10edc5c7e9
- >= e48354ce078c079996f89d715dfa44814b4eba01, < fe8421e853ef289e1324fcda004751c89dd9c18a
- >= e48354ce078c079996f89d715dfa44814b4eba01, < 87389bff743c55b6b85282de91109391f43e0814
- >= e48354ce078c079996f89d715dfa44814b4eba01, < 3e6429e3707943078240a2c0c0b3ee99ea9b0d9c
- >= e48354ce078c079996f89d715dfa44814b4eba01, < 7f533cc5ee4c4436cee51dc58e81dfd9c3384418
Fixed in 571ce6b6f5cbaf7d24af03cad592fc0e2a54de35, 2c5081439c7ab8da08427befe427f0d732ebc9f9, 019ca2804f3fb49a7f8e56ea6aeaa1ff32724c27, 6815846e0c3a62116a7da9740e3a7c10edc5c7e9, fe8421e853ef289e1324fcda004751c89dd9c18a, 87389bff743c55b6b85282de91109391f43e0814, 3e6429e3707943078240a2c0c0b3ee99ea9b0d9c, 7f533cc5ee4c4436cee51dc58e81dfd9c3384418
- 3.1
Fixed in 0, 5.4.294, 5.10.238, 5.15.185, 6.1.141, 6.6.93, 6.12.31, 6.14.9, 6.15
Mitigation
Upgrade Linux to 571ce6b6f5cbaf7d24af03cad592fc0e2a54de35 or 2c5081439c7ab8da08427befe427f0d732ebc9f9 or 019ca2804f3fb49a7f8e56ea6aeaa1ff32724c27 or 6815846e0c3a62116a7da9740e3a7c10edc5c7e9 or fe8421e853ef289e1324fcda004751c89dd9c18a or 87389bff743c55b6b85282de91109391f43e0814 or 3e6429e3707943078240a2c0c0b3ee99ea9b0d9c or 7f533cc5ee4c4436cee51dc58e81dfd9c3384418 or later.
Upgrade Linux to 0 or 5.4.294 or 5.10.238 or 5.15.185 or 6.1.141 or 6.6.93 or 6.12.31 or 6.14.9 or 6.15 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.