FKIE_CVE-2026-139011

Vulnerability from fkie_nvd - Published: 2026-11-30 14:18 - Updated: 2026-11-30 14:18
Severity
Summary
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.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/ata/libahci.c",
            "drivers/ata/libahci_platform.c",
            "drivers/ata/libata-core.c",
            "drivers/ata/libata-sff.c",
            "drivers/ata/sata_fsl.c",
            "drivers/ata/sata_qstor.c",
            "include/linux/libata.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6359fca8fdf9265e82cf740d4972ddd7dc775ee5",
              "status": "affected",
              "version": "1896b15eddb4ff7266bccf3efa981885ecf80ab1",
              "versionType": "git"
            },
            {
              "lessThan": "1f1f2ce4ea2b81955e6be8a36b161838c68643ef",
              "status": "affected",
              "version": "1896b15eddb4ff7266bccf3efa981885ecf80ab1",
              "versionType": "git"
            },
            {
              "lessThan": "9fd76c2410e86e8fe356a7c4a659cc8d09459587",
              "status": "affected",
              "version": "1896b15eddb4ff7266bccf3efa981885ecf80ab1",
              "versionType": "git"
            },
            {
              "lessThan": "62bc5f7c76b399b77ee2d94e6e20e044e76aef47",
              "status": "affected",
              "version": "1896b15eddb4ff7266bccf3efa981885ecf80ab1",
              "versionType": "git"
            },
            {
              "lessThan": "a53a677c1ddc38d8773587eb3897f44700dde03b",
              "status": "affected",
              "version": "1896b15eddb4ff7266bccf3efa981885ecf80ab1",
              "versionType": "git"
            },
            {
              "lessThan": "1b2d819c09f0bea5cff5c53ff7dcb4df47da6efd",
              "status": "affected",
              "version": "1896b15eddb4ff7266bccf3efa981885ecf80ab1",
              "versionType": "git"
            },
            {
              "lessThan": "1a27d5b8124ad852857d4080fa9271084f1d503e",
              "status": "affected",
              "version": "1896b15eddb4ff7266bccf3efa981885ecf80ab1",
              "versionType": "git"
            },
            {
              "lessThan": "d2f977008cbbae195df678ee1e70e5802f9bd0b8",
              "status": "affected",
              "version": "1896b15eddb4ff7266bccf3efa981885ecf80ab1",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/ata/libahci.c",
            "drivers/ata/libahci_platform.c",
            "drivers/ata/libata-core.c",
            "drivers/ata/libata-sff.c",
            "drivers/ata/sata_fsl.c",
            "drivers/ata/sata_qstor.c",
            "include/linux/libata.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.8"
            },
            {
              "lessThan": "3.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.275",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.63",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nata: libata: Do not leave ata_host_stop() registered when activation fails\n\nata_host_start() registers ata_host_stop() as a devres action as soon as\nit has succeeded, which hands the release of the host resources over to\ndevres: -\u003eport_stop() and -\u003ehost_stop() are then called by the driver\ncore when probe() fails.\n\nata_host_activate() and ahci_host_activate_multi_irqs() can both fail\nafter ata_host_start() has succeeded, e.g. if devm_request_irq() or\nata_host_register() fails, and they return the error with the devres\naction still registered. A driver which releases the host resources in\nits probe() error path therefore releases them twice: once itself and\nonce through -\u003ehost_stop().\n\nAll ahci-platform drivers are in that situation, e.g. ahci_probe() calls\nahci_platform_disable_resources() while ahci_host_stop() does the same\nthrough devres. This gives refcount underflow warnings from the clk,\nregulator and phy cores and, for shared resources, can disable resources\nwhich are still in use by other devices.\n\nAdd ata_host_undo_start(), which stops the ports and drops the devres\naction without calling -\u003ehost_stop(), and call it from both activation\nhelpers when they fail. Releasing the host resources on failure is then\nalways left to the caller, which is what all callers having a probe()\nerror path already assume.\n\nThis changes the semantics for the drivers which implement -\u003ehost_stop()\nwhile also completely lacking error handling for the activate host call.\nAdd activate host error handling for sata_qstor and sata_fsl. For\nsata_fsl this also means that hcr_base and host_priv are now released\nwhen activating the host fails, which -\u003ehost_stop() did not do when\nata_host_start() itself failed.\n\nNote that ata_pci_sff_activate_host() is deliberately left as is: none of\nits callers releases the host resources in its probe() error path, they\nall rely on -\u003ehost_stop() being called by devres, including\nata_pci_init_one(), which releases the devres group of the host itself."
    }
  ],
  "id": "CVE-2026-139011",
  "lastModified": "2026-11-30T14:18:04.350",
  "metrics": {},
  "published": "2026-11-30T14:18:04.350",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/1a27d5b8124ad852857d4080fa9271084f1d503e"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/1b2d819c09f0bea5cff5c53ff7dcb4df47da6efd"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/1f1f2ce4ea2b81955e6be8a36b161838c68643ef"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/62bc5f7c76b399b77ee2d94e6e20e044e76aef47"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/6359fca8fdf9265e82cf740d4972ddd7dc775ee5"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/9fd76c2410e86e8fe356a7c4a659cc8d09459587"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/a53a677c1ddc38d8773587eb3897f44700dde03b"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/d2f977008cbbae195df678ee1e70e5802f9bd0b8"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.