В ядре Linux была устранена следующая уязвимость: tipc: уничтожить topsrv workqueues перед закрытием соединений tipc_topsrv_stop() закрытых абонентских соединений, в то время как топологические серверы отправки и получения workqueuees были еще запущены. Обратные вызовы и события подписки на Socket могут затем поставить в очередь больше работы, а работа по отправке / передаче в полете может отбросить последнюю ссылку на соединение во время прогулки conn_idr. Эта гонка привела к нескольким сбоям: добавление refcount_t на 0 от conn_get () на соединении, выпуск которого был заблокирован на idr_lock, последующий use-after-free в tipc_conn_close (), queue_work () на уже разрушенном рабочем месте от обратного вызова слушателя, готового к передаче данных, и киоск RCU в tipc_topsrv_exit_net (), в то время как ход вращается под idr_lock.
Очистите srv->listener под idr_lock, чтобы он действовал как флаг выключения, пропустите queue_work (), как только он NULL, уничтожьте рабочие очереди, чтобы смыть работу в полете, и только затем закройте оставшиеся соединения. Откажитесь от tipc_conn_lookup() после того, как этот флаг будет очищен, и сбросьте idr_lock, когда прогулка по разрушению не находит связи, поэтому событие подписки в полете не может закрепить idr_in_use, пока прогулка удерживает блокировку. v3 заменяет более узкий врезной diff Tung Quang Nguyen, размещенный 2026-09-23. Он сохраняет свой порядок сноса и добавляет отказ от поиска и разблокировку пустого идентификатора.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: tipc: destroy topsrv workqueues before closing connections tipc_topsrv_stop() closed subscriber connections while the topology server's send and receive workqueues were still running. Socket callbacks and subscription events could then queue more work, and in-flight send/recv work could drop the last connection reference during the conn_idr walk. That race produced several teardown failures: refcount_t addition on 0 from conn_get() on a connection whose release was blocked on idr_lock, a subsequent use-after-free in tipc_conn_close(), queue_work() on an already destroyed workqueue from the listener data-ready callback, and an RCU stall in tipc_topsrv_exit_net() while the walk spun under idr_lock. Clear srv->listener under idr_lock so it acts as a shutdown flag, skip queue_work() once it is NULL, destroy the workqueues to flush in-flight work, and only then close the remaining connections. Refuse tipc_conn_lookup() after that flag is cleared, and drop idr_lock when the teardown walk finds no connection, so an in-flight subscription event cannot pin idr_in_use while the walk holds the lock. v3 supersedes the narrower in-thread diff Tung Quang Nguyen posted on 2026-09-23. It keeps his teardown order and adds the lookup refusal and the empty-idr unlock.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 5
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
3.11
|
6.6.160
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
3.11
|
6.12.113
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
3.11
|
6.18.57
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
3.11
|
7.2.11
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
3.11
|
7.3
|