GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

GHSA-XGJ8-PP4R-HMXG

Vulnerability from github – Published: 2026-09-04 18:31 – Updated: 2026-09-04 18:31
VLAI
Details

In the Linux kernel, the following vulnerability has been resolved:

nvmet: pci-epf: put CQ ref on create_cq mapping failure

nvmet_pci_epf_create_cq() calls nvmet_cq_create(), which takes a reference on the controller and installs the completion queue. If the subsequent PCI address-space mapping fails or returns a too-small partial mapping, the function jumps to err_internal / err_unmap_queue without calling nvmet_cq_put(). The matching put in nvmet_pci_epf_delete_cq() is gated on NVMET_PCI_EPF_Q_LIVE, which is only set after the mapping succeeds, so teardown never releases these references. A remote PCI host that drives Create IO CQ commands with a failing PRP1/pci_addr therefore leaks the CQ and a controller reference on each attempt.

Drop the CQ reference on the mapping-failure paths. The err_internal and err_unmap_queue labels are only reachable after nvmet_cq_create() has succeeded, so this pairs the create/put correctly.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-80821"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-09-04T16:18:09Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: pci-epf: put CQ ref on create_cq mapping failure\n\nnvmet_pci_epf_create_cq() calls nvmet_cq_create(), which takes a\nreference on the controller and installs the completion queue. If the\nsubsequent PCI address-space mapping fails or returns a too-small partial\nmapping, the function jumps to err_internal / err_unmap_queue without\ncalling nvmet_cq_put(). The matching put in nvmet_pci_epf_delete_cq() is\ngated on NVMET_PCI_EPF_Q_LIVE, which is only set after the mapping\nsucceeds, so teardown never releases these references. A remote PCI host\nthat drives Create IO CQ commands with a failing PRP1/pci_addr therefore\nleaks the CQ and a controller reference on each attempt.\n\nDrop the CQ reference on the mapping-failure paths. The err_internal and\nerr_unmap_queue labels are only reachable after nvmet_cq_create() has\nsucceeded, so this pairs the create/put correctly.",
  "id": "GHSA-xgj8-pp4r-hmxg",
  "modified": "2026-09-04T18:31:27Z",
  "published": "2026-09-04T18:31:27Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-80821"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/56a7b6a6880dbabe28214ff88df8d229ca3a944a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/659ae9d02cb5d72c76f74fff7441eb8fb64d8f5c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b5f97fae2503a763fa0f953abf5f121b0fef7d0d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f31650243c1ab32394077f234685e89ed8dece84"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

Loading…

Detection rules are retrieved from Rulezet.

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.


Loading…