В ядре Linux устранена следующая уязвимость:
scsi: iscsi: исправлено использование conn после освобождения во время перезагрузки. Если мы не выполнили целевой вызов отмены привязки, мы можем участвовать в гонках, где
iscsi_conn_teardown пробуждает поток EH, а затем освобождает соединение, пока
эти потоки все еще имеют доступ к conn ehwait. Мы можем выполнить только один TMF за сеанс, поэтому это просто перемещает поля TMF из
подключение к сеансу.
Тогда мы можем положиться на
iscsi_session_teardown->iscsi_remove_session->__iscsi_unbind_session вызов
удалить цель и ее устройства и знать, что после этого есть
ни одно устройство или вызов scsi-ml не пытаются получить доступ к сеансу.
Показать оригинальное описание (EN)
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.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 5
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
— |
4.19.198
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
4.20
|
5.4.134
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.5
|
5.10.52
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.11
|
5.12.19
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.13
|
5.13.4
|