In the Linux kernel, the following vulnerability has been resolved: smb: client: close handle after create-context parsing failure SMB2_open() accounts a successful CREATE response as a remote open before parsing its create contexts. Если smb2_parse_contexts () отклоняет искаженные контекстные данные, SMB2_open () возвращается без закрытия ручки, оставляя ручку на стороне сервера открытой, а num_remote_opens повышенным. Закройте обработчик после неудачного анализа контекста после CREATE, чтобы путь ошибки освободил удаленный ресурс и уравновесил открытый счетчик.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: smb: client: close handle after create-context parsing failure SMB2_open() accounts a successful CREATE response as a remote open before parsing its create contexts. If smb2_parse_contexts() rejects malformed context data, SMB2_open() returns without closing the handle, leaving the server-side handle open and num_remote_opens elevated. Close the handle after a post-CREATE context parsing failure so the error path releases the remote resource and balances the open count.