PT-2026-163052

CVE-2026-139011

·

تاريخ النشر

2026-11-30

·

تاريخ التحديث

2026-11-30

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

In the Linux kernel, the following vulnerability has been resolved:
ata: libata: Do not leave ata host stop() registered when activation fails
ata host start() registers ata host stop() as a devres action as soon as it has succeeded, which hands the release of the host resources over to devres: ->port stop() and ->host stop() are then called by the driver core when probe() fails.
ata host activate() and ahci host activate multi irqs() can both fail after ata host start() has succeeded, e.g. if devm request irq() or ata host register() fails, and they return the error with the devres action still registered. A driver which releases the host resources in its probe() error path therefore releases them twice: once itself and once through ->host stop().
All ahci-platform drivers are in that situation, e.g. ahci probe() calls ahci platform disable resources() while ahci host stop() does the same through devres. This gives refcount underflow warnings from the clk, regulator and phy cores and, for shared resources, can disable resources which are still in use by other devices.
Add ata host undo start(), which stops the ports and drops the devres action without calling ->host stop(), and call it from both activation helpers when they fail. Releasing the host resources on failure is then always left to the caller, which is what all callers having a probe() error path already assume.
This changes the semantics for the drivers which implement ->host stop() while also completely lacking error handling for the activate host call. Add activate host error handling for sata qstor and sata fsl. For sata fsl this also means that hcr base and host priv are now released when activating the host fails, which ->host stop() did not do when ata host start() itself failed.
Note that ata pci sff activate host() is deliberately left as is: none of its callers releases the host resources in its probe() error path, they all rely on ->host stop() being called by devres, including ata pci init one(), which releases the devres group of the host itself.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾