{"id":"CVE-2026-98605","summary":"drm/bridge: samsung-dsim: fix TE GPIO lifetime for host attach","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]","modified":"2026-10-20T02:31:05.994425871Z","published":"2026-10-18T15:19:18.294Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98605.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"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"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98605.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98605"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e7447128ca4a250374d6721ee98e3e3cf99551a6"},{"fixed":"77a43e00c57486a5212ef22d4665cafad62a5d4b"},{"fixed":"5759bbef951c39d264ac0f47daa4137d01403aea"},{"fixed":"ebffd70e4877bb7554974cf975a27872f2bb225f"},{"fixed":"9b796251c3cca45a33a5c859c6818c58aa982277"},{"fixed":"ada667890773e033d2f40dc94176e3beb930b516"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98605.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.4.0"},{"fixed":"6.6.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.112"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.55"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98605.json"}}],"schema_version":"1.9.0"}