PT-2026-162733

CVE-2026-138873

·

Publicado

2026-11-30

·

Atualizado

2026-11-30

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:
ext4: fix ABBA deadlock in ext4 rmdir()
We observe the following ABBA deadlock (casefolding enabled):
INFO: task jbd2/dm-13-8:447 blocked for more than 720 seconds. task:jbd2/dm-13-8 state:D stack:0 pid:447 tgid:447 ppid:2 Call Trace: schedule+0xc2c/0xe60 schedule+0x40/0xe0 jbd2 journal wait updates+0x8f/0xf0 jbd2 journal commit transaction+0x321/0x1850 kjournald2+0xa9/0x230 kthread+0x226/0x2a0 ret from fork+0x101/0x1e0 ret from fork asm+0x1a/0x30
INFO: task Thread-10:4161 blocked for more than 720 seconds. task:Thread-10 state:D stack:0 pid:4161 tgid:3848 ppid:540 Call Trace: schedule+0xc2c/0xe60 schedule+0x40/0xe0 wait transaction locked+0x8c/0xd0 start this handle+0x252/0x870 jbd2 journal start+0x120/0x280 ext4 journal start sb+0x11a/0x250 ext4 evict inode+0x208/0x760 iput+0x222/0x5c0 dput+0x293/0x690 fput+0x145/0x2b0 task work run+0x7a/0xb0 exit to user mode loop+0xc0/0xd0 do syscall 64+0x14b/0xf10 entry SYSCALL 64 after hwframe+0x76/0x7e
NMI backtrace for cpu 0 CPU: 0 UID: 1010216 PID: 4160 Comm: Thread-7 RIP: 0010:d walk+0x0/0x290 [..] Call Trace: shrink dcache parent+0xb2/0x100 d invalidate+0x50/0x110 ext4 rmdir+0x3a2/0x3d0 vfs rmdir+0x9d/0x1d0 do rmdir+0xf0/0x330 x64 sys unlinkat+0x34/0x50 do syscall 64+0x61/0xf10
The problem is that ext4 rmdir() calls d invalidate() before stopping the jbd2 transaction handle. Because d invalidate() traverses child dentries it can encounter dying or in-use dentries. If a concurrent thread executing dentry kill() on a child dentry invokes ext4 evict inode(), it requests a new transaction handle via ext4 journal start(), which waits for all running handles to close. However, the thread executing ext4 rmdir() still holds its active transaction handle while looping in shrink dcache parent() waiting for the dying child dentry to complete eviction.
Stop transaction handle in ext4 rmdir() before calling d invalidate().
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾