PT-2026-163278
CVE-2026-139237
·
Publicado
2026-11-30
·
Atualizado
2026-11-30
Descrição por
Pontuação
N/A
Não disponívelNã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:
ibmveth: release the pool kobjects when probe fails
If register netdev() fails in ibmveth probe(), for example with -EINTR
when the binding task is killed, probe frees the netdev but leaves the
pool%d kobjects embedded in it registered in sysfs. Reading
/sys/devices/vio//pool0/num is then a use-after-free, and the
next probe cannot add pool0.
Put the kobjects before freeing the netdev, as ibmveth remove() does,
on this path and on the netif set real num tx queues() one.
The kobjects also have no release(). With CONFIG DEBUG KOBJECT RELEASE,
kobject put() defers their cleanup, including removing the sysfs files,
to a work item, so free netdev() can free them first, here and in
remove(). Add a release() that signals a per-pool completion, and wait
for it in both places before free netdev(). Without that config,
release() runs from kobject put() and the wait returns at once.
Found in review of the ibmveth multi-queue RX series and confirmed by
code inspection; the release() part was raised by the Sashiko review of
the first version. Tested on a POWER10 LPAR with register netdev()
forced to fail with -EINTR by a test-only module parameter (not part of
this patch): no pool%d directories remain and the device binds again. No
kernel selftests cover ibmveth.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾