Skip to content
This page tracks the Debian fix status. The vulnerability itself is described on the main CVE page. View CVE-2026-139011 →
Unrated

In the Linux kernel, the following vulnerability has been resolved: ata: libata: Do not leave ata_host_stop() registered when activation fails ata_h...

DEBIAN-CVE-2026-139011 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Debian:12linux
All versions→ Not listed
Debian:13linux
< 6.12.117-1→ 6.12.117-1
Debian:14linux
< 7.3.4-1→ 7.3.4-1
Original description The description as published by the source.

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 lac…

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details