PT-2026-151714

CVE-2026-99503

·

Published

2026-11-19

·

Updated

2026-11-19

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

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.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾