PT-2025-18567

CVE-2022-49850

·

Publicado

2025-05-01

·

Atualizado

2025-07-10

Descrição por

CVSS 3.1
5.5
Média
MétricasAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A semaphore deadlock can occur in the Linux kernel if nilfs get block() detects metadata corruption while locating data blocks and a superblock writeback occurs at the same time. This happens due to the hierarchical lock acquisition in the order rwsem A -> rwsem B. The deadlock occurs when another task starts updating the superblock, causing it to writelock rwsem B and then try to readlock rwsem A in nilfs count free blocks(). However, there is no need to take rwsem A in nilfs count free blocks() because it only reads a single integer data on a shared struct with nilfs sufile get ncleansegs().
Recommendations As a temporary workaround, consider disabling the nilfs count free blocks() function until a patch is available. To resolve the issue, the nilfs count free blocks() function has been modified to not take the semaphore, thus preventing the deadlock.
Explorabilidade
Exploit
Correção
Impactos
Fornecedores
Produtos afetados
Enumeração de fraquezas
Identificadores relacionados
OESA-2025-1513
SUSE-SU-2025:01918-1
SUSE-SU-2025:01966-1
SUSE-SU-2025:02173-1
SUSE-SU-2025_02173-1
SUSE-SU-2025:02262-1
SUSE-SU-2025_02262-1
SUSE-SU-2025:2173-1
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾