PT-2026-161466

Publicado

2026-11-19

·

Atualizado

2026-11-19

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:
phy: core: Fix race-condition between of phy get() and try module get()
Sashiko asked during a patch review if the existing usage pattern had a race condition; specifically in of phy get() if it was possible between returning from of phy get() and running try module get() that a module might be unbound leading to use-after-free.
Looking at the code this appears to be so, there is no linkage between the phy and module under a synchronisation primitive.
Using the phy provider mutex in phy get() will ensure there is a link between the returned phy pointer and the module get() bumping the module reference count.
Amend phy get(), of phy get() and devm of phy get by index() to fix the same usage pattern.
phy provider unregister() must take the phy provider mutex so amending phy get()/of phy get() to take that same mutex guarantees there is no use-after-free.
Fornecedores
Produtos afetados
Identificadores relacionados
AZL-114887
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾