NONE

CVE-2026-23047

Обновлено 4 февраля 2026

В ядре Linux устранена следующая уязвимость: libceph: заставить Calc_target() установить t->pause, а не просто очистить его В настоящее время Calc_target() очищает t->pause, если запрос не должен быть выполнен. больше не поставлен на паузу, но никогда не устанавливает t->pause, хотя и может определить, когда запрос следует приостановить. Настройка t->pause оставлена в __submit_request(), который подходит для обычных запросов, но не работать с задержкой запросов - поскольку __submit_request() не работает при задержке запросов lreq->t.paused некуда устанавливать. Одним из последствий этого является то, что часы не восстанавливаются пауза -> переходы без паузы в случаях, когда запросы были приостановлены достаточно долго, чтобы (приостановленный) запрос на отмену просмотра истечет по тайм-ауту и последующий запрос (повторного) просмотра для перехода в состояние паузы. На вершине часы не восстанавливаются, rbd_reregister_watch() зависает с rbd_dev->watch_mutex удерживается: rbd_register_watch __rbd_register_watch ceph_osdc_watch linger_reg_commit_wait Он ожидает завершения lreq->reg_commit_wait, но для этого случается, что соответствующий запрос должен оказаться в списке Need_resend_linger и быть исключенным, когда запросы возобновляются. На это нет шансов если рассматриваемый запрос никогда не помечен как приостановленный. Тот факт, что rbd_dev->watch_mutex остается удаленным навсегда, тогда предотвращает несопоставление изображения - «rbd unmap» неизбежно зависает в состоянии D при попытке захватить мьютекс.

Показать оригинальное описание (английский)

In the Linux kernel, the following vulnerability has been resolved: libceph: make calc_target() set t->paused, not just clear it Currently calc_target() clears t->paused if the request shouldn't be paused anymore, but doesn't ever set t->paused even though it's able to determine when the request should be paused. Setting t->paused is left to __submit_request() which is fine for regular requests but doesn't work for linger requests -- since __submit_request() doesn't operate on linger requests, there is nowhere for lreq->t.paused to be set. One consequence of this is that watches don't get reestablished on paused -> unpaused transitions in cases where requests have been paused long enough for the (paused) unwatch request to time out and for the subsequent (re)watch request to enter the paused state. On top of the watch not getting reestablished, rbd_reregister_watch() gets stuck with rbd_dev->watch_mutex held: rbd_register_watch __rbd_register_watch ceph_osdc_watch linger_reg_commit_wait It's waiting for lreq->reg_commit_wait to be completed, but for that to happen the respective request needs to end up on need_resend_linger list and be kicked when requests are unpaused. There is no chance for that if the request in question is never marked paused in the first place. The fact that rbd_dev->watch_mutex remains taken out forever then prevents the image from getting unmapped -- "rbd unmap" would inevitably hang in D state on an attempt to grab the mutex.