Description
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]
Published: 2026-10-18
Score: n/a
EPSS: n/a
KEV: No
Impact: Potential denial of service via GPIO resource exhaustion
Action: Patch
AI Analysis

Impact

The samsung-dsim driver in the Linux kernel mismanages the TE GPIO resource by using a managed descriptor but not releasing it when the DSI host is reattached. Each reattach request can acquire the GPIO again without freeing the previous descriptor, leading to a leakage of GPIO handles. This resource leakage can, over time, exhaust the available GPIO pool and cause subsequent kernel operations that depend on GPIOs to fail or the system to become unstable. The CVE description does not explicitly state a denial‑of‑service outcome, but it is inferred that the continued accumulation of unreleased descriptors could eventually result in service disruption.

Affected Systems

All Linux kernel builds that include the samsung‑dsim driver prior to the commits referenced in the advisory are affected. This includes distribution kernels and custom builds that compile the driver without the applied fix and do not specify a patched version range.

Risk and Exploitability

No EPSS score is available and the vulnerability is not listed in CISA KEV, suggesting no widespread exploitation yet. Exploitation would require repeated DSI host attach/detach cycles, which typically necessitates local or privileged access to the device that hosts the driver. While remote exploitation is unlikely, systems that permit frequent host reattachment or users with elevated privileges could induce a resource exhaustion condition that leads to a denial of service.

Generated by OpenCVE AI on October 19, 2026 at 01:51 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that incorporates the samsung‑dsim TE GPIO lifetime fix.
  • Reboot the system after installing the updated kernel to clear any stale GPIO state and ensure the driver reinitializes correctly.
  • If an immediate kernel upgrade is not possible, temporarily disable DSI host detach/reattach functionality until the patch is applied.

Generated by OpenCVE AI on October 19, 2026 at 01:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 19 Oct 2026 02:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-775

Sun, 18 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Description 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]
Title drm/bridge: samsung-dsim: fix TE GPIO lifetime for host attach
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-18T15:19:18.294Z

Reserved: 2026-09-25T10:25:14.359Z

Link: CVE-2026-98605

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:13.237

Modified: 2026-10-18T16:17:13.237

Link: CVE-2026-98605

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T02:00:10Z

Weaknesses
  • CWE-775

    Missing Release of File Descriptor or Handle after Effective Lifetime