PT-2026-98550 · Linux · Linux
CVE-2026-97610
·
Publicado
2026-09-25
·
Atualizado
2026-09-25
Nenhuma
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:
netfs: Fix uninitialized return value in netfs unbuffered write()
If preparation of the first subrequest fails,
netfs unbuffered write() exits its loop before ret is initialized. The
empty-iterator check can do the same.
For synchronous writes, netfs unbuffered write iter locked() may then
return an unrelated error instead of wreq->error. This is reachable
through CIFS if cifs prepare write() fails to reopen the file or obtain
credits.
Initialize ret to 0 so the caller returns wreq->error if no data was
written, or the number of bytes already written otherwise.
Found with Clang's -Wconditional-uninitialized.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Linux