Ad

CVE-2026-93811

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

В ядре Linux устранена следующая уязвимость: ksmbd: утечка памяти Fix acl.sd_buf и некорректная обработка ошибок sd_size. Когда ndr_decode_v4_ntacl() терпит неудачу, код переходит в free_n_data, который освобождает только n.data, пропуская kfree(acl.sd_buf) и пропуская буфер. Zero-initialize struct xattr_ntacl acl, переупорядочить метки ошибок в out_free, чтобы освободить acl.sd_buf на всех путях ошибок. 2. если (acl.sd_size <sizeof(struct smb_ntsd)) является истинным, исходный код вернул успех без освобождения sd_buf и оставил устаревший *pntsd.

Установите rc -EINVAL перед переходом к out_free для возврата кода ошибки и свободного буфера.

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

In the Linux kernel, the following vulnerability has been resolved: ksmbd: Fix acl.sd_buf memory leak and invalid sd_size error handling 1. When ndr_decode_v4_ntacl() fails, the code jumped to free_n_data which only freed n.data, skipping kfree(acl.sd_buf) and leaking the buffer. Zero-initialize struct xattr_ntacl acl, reorder error labels to out_free to release acl.sd_buf on all error paths. 2. if (acl.sd_size < sizeof(struct smb_ntsd)) is true, original code returned success without freeing sd_buf and left stale *pntsd. Set rc = -EINVAL before jumping to out_free to return error code and free buffer.