PT-2026-151732

CVE-2026-99521

·

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:
rapidio: mport cdev: fix use-after-free in mport mm close()
A use-after-free vulnerability was identified in mport mm close() in drivers/rapidio/devices/rio mport cdev.c, identical to the pattern previously addressed in dma req free().
This is observable from userspace when an application creates an mmap mapping via the RapidIO character device and subsequently unmaps it (or terminates, triggering exit mmap()). During munmap, mport mm close() is invoked and drops the mapping reference via kref put().
If kref put() drops the last reference, mport release mapping() is called, which frees the underlying rio mport mapping structure. The subsequent mutex unlock() then dereferences map->md to unlock buf mutex, leading to a use-after-free:
mport mm close() -> mutex lock(&map->md->buf mutex); ... -> kref put(&map->ref, mport release mapping); /* map is freed / -> mutex unlock(&map->md->buf mutex); / UAF: map used */
Fix this by caching map->md before kref put() and using the cached pointer for mutex unlocking, ensuring that freed memory is not accessed.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾