Ad

CVE-2026-99541

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

В ядре Linux устранена следующая уязвимость: ksmbd: fix OOB read and cross-share confusion in ksmbd_validate_name_reconnect() ksmbd_validate_name_reconnect() indexes ab_pathname[share->path_sz + 1] без проверки, что путь длиннее, чем share->path_sz + 1 (d_path() заполняет буфер с конца). Прочный fp не привязан к своему первоначальному общему ресурсу, поэтому клиент может сохранить файл от общего ресурса с коротким маршрутом и повторно подключить его к общему ресурсу с длинным маршрутом, заставляя strcmp () читать буфер PATH_MAX - с достаточно длинным путем общего ресурса это обрабатывает ядро, а на отображаемой странице он также дает оракул байт-равенства на соседней куче (повторное подключение происходит именно тогда, когда запрошенная строка out-of-bounds). Одинаковый вариант с устойчивым fp у корня share читает 1 байт мимо буфера (strlen(ab_pathname) share->path_sz).

Проверьте, прежде чем сравнивать: путь должен быть длиннее, чем share->path_sz, он должен начинаться с share->path, а следующий символ должен быть '/'. Сам share root принимается только для пустого имени.

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

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix OOB read and cross-share confusion in ksmbd_validate_name_reconnect() ksmbd_validate_name_reconnect() indexes ab_pathname[share->path_sz + 1] without checking that the path is longer than share->path_sz + 1 (d_path() fills the buffer from the end). A durable fp is not bound to its original share, so a client can preserve a file from a short-path share and reconnect it on a long-path share, making strcmp() read past the PATH_MAX buffer - with a long enough share path this oopses the kernel, and on a mapped page it also gives a byte-equality oracle on adjacent heap (the reconnect succeeds exactly when the out-of-bounds string equals the requested name). A same-share variant with the durable fp at the share root reads 1 byte past the buffer (strlen(ab_pathname) == share->path_sz). Check before comparing: the path must be longer than share->path_sz, it must start with share->path, and the next character must be '/'. The share root itself is accepted only for an empty name.