PT-2026-163389

CVE-2026-139348

·

Publicado

2026-11-30

·

Atualizado

2026-11-30

Descrição por

CVSS 3.1
7.8
Alta
MétricasAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
In the Linux kernel, the following vulnerability has been resolved:
net/smc: hold a reference on net device returned by pnet find base ndev()
pnet find base ndev() resolves the base net device for stacked devices under RTNL, then drops the lock and returns the raw pointer without taking a reference. All three callers dereference the pointer after RTNL has been released, creating a use-after-free window if the device is concurrently unregistered.
Take a reference with netdev hold() before dropping RTNL and add the matching netdev put() in every return path of the three callers:
  • smc pnet add eth()
  • smc pnet find roce by pnetid()
  • smc pnet find ism by pnetid()
Found by code analysis, confirmed with a proof-of-concept that triggers a KASAN slab-use-after-free report.
Explorabilidade
Correção
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾