PT-2025-13297
CVE-2022-49755
·
Publicado
2025-03-27
·
Atualizado
2025-05-29
Descrição por
CVSS 3.1
7.8
AltaMétricasAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A race condition exists in the Linux kernel during fast composition switch, potentially allowing a use-after-free scenario. This occurs when
ffs ep0 write or ffs ep0 read calls ffs ep0 queue wait and takes a lock on &ffs->ev.waitq.lock, but functionfs unbind can still free ep0req without a NULL check in ffs ep0 queue wait. The issue is resolved by introducing a mutex lock to serialize execution between the two functions.Recommendations
To resolve this issue, apply the fix that introduces a mutex lock using
mutex lock(ffs->mutex) to prevent the race condition between ffs ep0 write/ffs ep0 read and functionfs unbind.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.Explorabilidade
Exploit
Impactos
Fornecedores
Produtos afetados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾