PT-2026-151736

CVE-2026-99525

·

Publicado

2026-11-19

·

Atualizado

2026-11-19

Descrição por

Pontuação
N/A
Não disponível

Não há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.

In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix use-after-free in cifs ses add channel()
The error path of cifs ses add channel() calls cifs put tcp session() before cifs chan clear need reconnect(). The latter reaches cifs ses get chan index(), which dereferences server->terminate; if the put was the final reference, TCP Server Info is already freed and this is a use-after-free. Same put-then-use pattern as the recently fixed sibling in commit 717e0a25036b ("cifs: Fix server use-after-free in cifs chan skip or disable()").
Move the put last, but do not read chan->server after dropping chan lock: chan points into ses->chans[], and once chan count is decremented a concurrent add channel can reuse the slot and overwrite the pointer, so the put would act on the new channel's server. Cache the pointer under chan lock, clear the reconnect bit and decrement chan count while still holding the reference, and release it after the unlock.
This issue was discovered by Tencent CodeBuddy Security.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾