PT-2025-13297 · Linux+3 · Linux Kernel+3
Publicado
2025-03-27
·
Atualizado
2025-05-29
·
CVE-2022-49755
CVSS v3.1
7.8
Alta
| Vetor | AV: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.Exploit
Use After Free
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Astra Linux
Linux Kernel
Red Os
Suse