CVE-2026-98605

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

State
Published
Severity
Not scored
Published
Oct 18, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e7447128ca4a250374d6721ee98e3e3cf99551a6 to before 77a43e00c57486a5212ef22d4665cafad62a5d4bAffected
  • e7447128ca4a250374d6721ee98e3e3cf99551a6 to before 5759bbef951c39d264ac0f47daa4137d01403aeaAffected
  • e7447128ca4a250374d6721ee98e3e3cf99551a6 to before ebffd70e4877bb7554974cf975a27872f2bb225fAffected
  • e7447128ca4a250374d6721ee98e3e3cf99551a6 to before 9b796251c3cca45a33a5c859c6818c58aa982277Affected
  • e7447128ca4a250374d6721ee98e3e3cf99551a6 to before ada667890773e033d2f40dc94176e3beb930b516Affected
LinuxLinux
  • 6.4Affected
  • before 6.4Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.112 through 6.12.*Not affected
  • 6.18.55 through 6.18.*Not affected
  • 7.2.9 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.