PT-2026-162845

CVE-2026-99878

·

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:
LoongArch: Remove arch-specific smp mb {before,after} atomic()
When running BPF selftest "test progs -t timer lockup" on a LoongArch machine, the kernel intermittently experiences soft lockups and panics in hrtimer cancel().
The root cause is that the bpf timer cancel() implementation relies on smp mb after atomic() to provide a full data barrier after a relaxed atomic inc() to ensure the proper store-load ordering before performing lockless dependency checks on weakly-ordered architectures, such as on LoongArch, but the current definition of smp mb after atomic() is just a plain compiler barrier.
This allows a subsequent read to bypass the prior write due to store- load reordering, enabling concurrent CPUs to simultaneously bypass the software deadlock detection, enter hrtimer cancel(), and then trigger a severe ABBA deadlock in the hrtimer core.
Moreover, there are hundreds of smp mb after atomic() call sites across the core kernel (kernel/, drivers/, mm/, net/, fs/) that currently lack necessary full data barriers on LoongArch, which have potential risks.
To comply with the LKMM specification, fix this by removing the arch- specific definition of smp mb after atomic(), so that this macro can automatically fall back to the generic definition in asm-generic that maps to smp mb() and emits the required hardware DBAR instruction.
While at it, do the same thing for smp mb before atomic().
With this patch the BPF timer lockup selftest was stressed for millions consecutive loops on a physical LoongArch machine, without encountering any further lockups.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾