{"id":"CVE-2026-98605","aliases":["CVE-2026-98605"],"related":[],"kind":"vulnerability","state":"published","title":"drm/bridge: samsung-dsim: fix TE GPIO lifetime for host attach","summary":"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]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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]","source":"cvelist"}],"published":"2026-10-18T15:19:18.294Z","modified":"2026-10-19T10:19:22.317Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e7447128ca4a250374d6721ee98e3e3cf99551a6","fixed":"77a43e00c57486a5212ef22d4665cafad62a5d4b","status":"affected"},{"type":"git","introduced":"e7447128ca4a250374d6721ee98e3e3cf99551a6","fixed":"5759bbef951c39d264ac0f47daa4137d01403aea","status":"affected"},{"type":"git","introduced":"e7447128ca4a250374d6721ee98e3e3cf99551a6","fixed":"ebffd70e4877bb7554974cf975a27872f2bb225f","status":"affected"},{"type":"git","introduced":"e7447128ca4a250374d6721ee98e3e3cf99551a6","fixed":"9b796251c3cca45a33a5c859c6818c58aa982277","status":"affected"},{"type":"git","introduced":"e7447128ca4a250374d6721ee98e3e3cf99551a6","fixed":"ada667890773e033d2f40dc94176e3beb930b516","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.4","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.55","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.9","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/77a43e00c57486a5212ef22d4665cafad62a5d4b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5759bbef951c39d264ac0f47daa4137d01403aea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ebffd70e4877bb7554974cf975a27872f2bb225f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9b796251c3cca45a33a5c859c6818c58aa982277","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ada667890773e033d2f40dc94176e3beb930b516","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98605","url":"https://www.cve.org/CVERecord?id=CVE-2026-98605","licence":"CVE Terms of Use","modified":"2026-10-19T09:22:32.426Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98605","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98605","licence":"Public domain","modified":"2026-10-19T10:19:22.317Z"}],"updatedAt":"2026-11-25T22:59:45.242Z","epss":{"score":0.00168,"percentile":0.0638,"date":"2026-12-01T12:00:22.000Z"}}