PT-2026-151714
CVE-2026-99503
·
Publicado
2026-11-19
·
Atualizado
2026-11-19
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:
ata: sata fsl: Fix use-after-free of host priv on probe() failure
sata fsl host stop() releases hcr base and host priv:
static void sata fsl host stop(struct ata host *host)
{
struct sata fsl host priv *host priv = host->private data;
iounmap(host priv->hcr base);
kfree(host priv);
}->host stop() is called by the driver core through the ata host stop()
devres action which ata host start() registers, so it is called both when
the device is unbound and when probe() fails after the host has been
started.
The error exit with cleanup label of sata fsl probe() releases hcr base
and host priv as well, and it is reachable from the two
device create file() calls which are done after the host has been
activated. In that case sata fsl host stop() runs on an already freed
host priv, resulting in a use-after-free and a double iounmap()/kfree().
Add a separate error label for the failures happening after the host has
been activated, which only detaches the host and leaves hcr base and
host priv to sata fsl host stop().
Note that ata host detach() is dropped from error exit with cleanup, as
that label is now only reachable while host is still NULL.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾