{"id":"CVE-2026-98605","state":"PUBLISHED","title":"drm/bridge: samsung-dsim: fix TE GPIO lifetime for host attach","description":"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]","publishedAt":"2026-10-18T15:19:18.294Z","updatedAt":"2026-10-19T09:22:32.426Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e7447128ca4a250374d6721ee98e3e3cf99551a6","status":"affected","lessThan":"77a43e00c57486a5212ef22d4665cafad62a5d4b","versionType":"git"},{"version":"e7447128ca4a250374d6721ee98e3e3cf99551a6","status":"affected","lessThan":"5759bbef951c39d264ac0f47daa4137d01403aea","versionType":"git"},{"version":"e7447128ca4a250374d6721ee98e3e3cf99551a6","status":"affected","lessThan":"ebffd70e4877bb7554974cf975a27872f2bb225f","versionType":"git"},{"version":"e7447128ca4a250374d6721ee98e3e3cf99551a6","status":"affected","lessThan":"9b796251c3cca45a33a5c859c6818c58aa982277","versionType":"git"},{"version":"e7447128ca4a250374d6721ee98e3e3cf99551a6","status":"affected","lessThan":"ada667890773e033d2f40dc94176e3beb930b516","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/bridge/samsung-dsim.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.4","versionType":"semver"},{"version":"6.6.158","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.112","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.55","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.9","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/bridge/samsung-dsim.c"]}],"references":["https://git.kernel.org/stable/c/77a43e00c57486a5212ef22d4665cafad62a5d4b","https://git.kernel.org/stable/c/5759bbef951c39d264ac0f47daa4137d01403aea","https://git.kernel.org/stable/c/ebffd70e4877bb7554974cf975a27872f2bb225f","https://git.kernel.org/stable/c/9b796251c3cca45a33a5c859c6818c58aa982277","https://git.kernel.org/stable/c/ada667890773e033d2f40dc94176e3beb930b516"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98605.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98605","state":"PUBLISHED","datePublished":"2026-10-18T15:19:18.294Z","dateUpdated":"2026-10-19T09:22:32.426Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.359Z"},"containers":{"cna":{"title":"drm/bridge: samsung-dsim: fix TE GPIO lifetime for host attach","descriptions":[{"lang":"en","value":"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]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e7447128ca4a250374d6721ee98e3e3cf99551a6","status":"affected","lessThan":"77a43e00c57486a5212ef22d4665cafad62a5d4b","versionType":"git"},{"version":"e7447128ca4a250374d6721ee98e3e3cf99551a6","status":"affected","lessThan":"5759bbef951c39d264ac0f47daa4137d01403aea","versionType":"git"},{"version":"e7447128ca4a250374d6721ee98e3e3cf99551a6","status":"affected","lessThan":"ebffd70e4877bb7554974cf975a27872f2bb225f","versionType":"git"},{"version":"e7447128ca4a250374d6721ee98e3e3cf99551a6","status":"affected","lessThan":"9b796251c3cca45a33a5c859c6818c58aa982277","versionType":"git"},{"version":"e7447128ca4a250374d6721ee98e3e3cf99551a6","status":"affected","lessThan":"ada667890773e033d2f40dc94176e3beb930b516","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/bridge/samsung-dsim.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.4","versionType":"semver"},{"version":"6.6.158","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.112","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.55","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.9","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/bridge/samsung-dsim.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/77a43e00c57486a5212ef22d4665cafad62a5d4b"},{"url":"https://git.kernel.org/stable/c/5759bbef951c39d264ac0f47daa4137d01403aea"},{"url":"https://git.kernel.org/stable/c/ebffd70e4877bb7554974cf975a27872f2bb225f"},{"url":"https://git.kernel.org/stable/c/9b796251c3cca45a33a5c859c6818c58aa982277"},{"url":"https://git.kernel.org/stable/c/ada667890773e033d2f40dc94176e3beb930b516"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:22:32.426Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.6.158"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.12.112"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.18.55"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"7.2.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}