PT-2026-151714
CVE-2026-99503
·
تاريخ النشر
2026-11-19
·
تاريخ التحديث
2026-11-19
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
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.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾