Ad

CVE-2026-98450

NONE EPSS 0.18%
Обновлено 30 октября 2026
Linux
Параметр Значение
Поставщик Linux
Публичный эксплойт Нет

In the Linux kernel, the following vulnerability has been resolved: smb: client: close completed creates on compound wait errors compound_send_recv() waits for responses in order. Если более позднее ожидание прерывается, или если более поздний MID выходит из строя во время синхронизации ответа, более ранний CREATE может уже открыть удаленный обработчик. Более ранняя середина затем высвобождается без вызова handle_cancelled_mid(), оставляя удаленный обработчик открытым, потому что FID не был скопирован вызывающему абоненту.

Пометка выполнена ранее середины, как отменено, когда соединение ждать или MID синхронизация прерывается. Сохраняйте их буферы отклика, пока MIDs синхронизирован, и передавайте их только после синхронизации обработанных ответов, поэтому путь высвобождения может проверить успешные ответы CREATE и очередь SMB2_close () после более позднего сбоя. Учетная запись удаленно открывается только после того, как выделена ближайшая работа и до того, как она поставлена в очередь, так как абонент еще не обновил num_remote_opens.

Отметьте create+close соединение, используемое smb2_unlink(), чтобы оно не закрывалось снова. Ответы Non-CREATE и соединения, которые уже включают близко, сохраняют свое существующее поведение.

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

In the Linux kernel, the following vulnerability has been resolved: smb: client: close completed creates on compound wait errors compound_send_recv() waits for responses in order. If a later wait is interrupted, or if a later MID fails during response synchronization, an earlier CREATE may already have opened a remote handle. The earlier mid is then released without invoking handle_cancelled_mid(), leaving the remote handle open because no FID was copied to the caller. Mark completed earlier mids as cancelled when a compound wait or MID synchronization aborts. Keep their response buffers attached while the MIDs are synchronized, and transfer them only after synchronization of the processed responses, so the release path can inspect successful CREATE responses and queue SMB2_close() after a later failure. Account for a remote open only after the close work is allocated and before it is queued, since the caller has not yet updated num_remote_opens. Mark the create+close compound used by smb2_unlink() so it is not closed again. Non-CREATE responses and compounds that already include a close keep their existing behavior.