GHSA-7P9H-67R4-584R

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

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

drm/bridge: samsung-dsim: fix TE GPIO lifetime for host attach

When the Exynos DSI driver was generalized into samsung-dsim, the TE GPIO acquisition was switched from gpiod_get_optional() to devm_gpiod_get_optional() while keeping the matching gpiod_put() calls. That combination is wrong for a managed descriptor.

However, dropping the puts and keeping the managed get is also wrong: samsung_dsim_register_te_irq() runs from the DSI host attach callback, and host detach/reattach can happen without destroying the device that owns the managed action. A second attach would then request the GPIO again without having released it.

Switch back to a non-managed gpiod_get_optional() and keep the explicit gpiod_put() on the request_irq() error path and in samsung_dsim_unregister_te_irq().

[Luca: remove unnecessary comment]

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-98605"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-10-18T16:17:13Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/bridge: samsung-dsim: fix TE GPIO lifetime for host attach\n\nWhen the Exynos DSI driver was generalized into samsung-dsim, the TE\nGPIO acquisition was switched from gpiod_get_optional() to\ndevm_gpiod_get_optional() while keeping the matching gpiod_put() calls.\nThat combination is wrong for a managed descriptor.\n\nHowever, dropping the puts and keeping the managed get is also wrong:\nsamsung_dsim_register_te_irq() runs from the DSI host attach callback,\nand host detach/reattach can happen without destroying the device that\nowns the managed action. A second attach would then request the GPIO\nagain without having released it.\n\nSwitch back to a non-managed gpiod_get_optional() and keep the explicit\ngpiod_put() on the request_irq() error path and in\nsamsung_dsim_unregister_te_irq().\n\n[Luca: remove unnecessary comment]",
  "id": "GHSA-7p9h-67r4-584r",
  "modified": "2026-10-18T18:31:56Z",
  "published": "2026-10-18T18:31:56Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98605"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5759bbef951c39d264ac0f47daa4137d01403aea"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/77a43e00c57486a5212ef22d4665cafad62a5d4b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9b796251c3cca45a33a5c859c6818c58aa982277"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ada667890773e033d2f40dc94176e3beb930b516"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ebffd70e4877bb7554974cf975a27872f2bb225f"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



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
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.