In the Linux kernel, the following vulnerability has been resolved: scsi: iscsi: Fix conn use after free during resets If we haven’t done a unbind target call we can race where iscsi_conn_teardown wakes up the EH thread and then frees the conn while those threads are still accessing the conn ehwait. We can only do one TMF per session so this just moves the TMF fields from the conn to the session. We can then rely on the iscsi_session_teardown->iscsi_remove_session->__iscsi_unbind_session call to remove the target and it’s devices, and know after that point there is no device or scsi-ml callout trying to access the session.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Debian | 12 | all | linux | < 5.14.6-1 | linux_5.14.6-1_all.deb |
Debian | 11 | all | linux | < 5.10.70-1 | linux_5.10.70-1_all.deb |
Debian | 999 | all | linux | < 5.14.6-1 | linux_5.14.6-1_all.deb |
Debian | 13 | all | linux | < 5.14.6-1 | linux_5.14.6-1_all.deb |