{"api_version":"1","generated_at":"2026-10-22T09:49:59+00:00","cve":"CVE-2026-98605","urls":{"html":"https://cve.report/CVE-2026-98605","api":"https://cve.report/api/cve/CVE-2026-98605.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98605","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98605"},"summary":{"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]","state":"PUBLISHED","assigner":"Linux","published_at":"2026-10-18 16:17:13","updated_at":"2026-10-19 10:19:22"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/5759bbef951c39d264ac0f47daa4137d01403aea","name":"https://git.kernel.org/stable/c/5759bbef951c39d264ac0f47daa4137d01403aea","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/77a43e00c57486a5212ef22d4665cafad62a5d4b","name":"https://git.kernel.org/stable/c/77a43e00c57486a5212ef22d4665cafad62a5d4b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9b796251c3cca45a33a5c859c6818c58aa982277","name":"https://git.kernel.org/stable/c/9b796251c3cca45a33a5c859c6818c58aa982277","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ada667890773e033d2f40dc94176e3beb930b516","name":"https://git.kernel.org/stable/c/ada667890773e033d2f40dc94176e3beb930b516","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ebffd70e4877bb7554974cf975a27872f2bb225f","name":"https://git.kernel.org/stable/c/ebffd70e4877bb7554974cf975a27872f2bb225f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98605","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98605","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e7447128ca4a250374d6721ee98e3e3cf99551a6 77a43e00c57486a5212ef22d4665cafad62a5d4b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e7447128ca4a250374d6721ee98e3e3cf99551a6 5759bbef951c39d264ac0f47daa4137d01403aea git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e7447128ca4a250374d6721ee98e3e3cf99551a6 ebffd70e4877bb7554974cf975a27872f2bb225f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e7447128ca4a250374d6721ee98e3e3cf99551a6 9b796251c3cca45a33a5c859c6818c58aa982277 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e7447128ca4a250374d6721ee98e3e3cf99551a6 ada667890773e033d2f40dc94176e3beb930b516 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.4","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.4 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.158 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.112 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.55 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.9 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/gpu/drm/bridge/samsung-dsim.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"77a43e00c57486a5212ef22d4665cafad62a5d4b","status":"affected","version":"e7447128ca4a250374d6721ee98e3e3cf99551a6","versionType":"git"},{"lessThan":"5759bbef951c39d264ac0f47daa4137d01403aea","status":"affected","version":"e7447128ca4a250374d6721ee98e3e3cf99551a6","versionType":"git"},{"lessThan":"ebffd70e4877bb7554974cf975a27872f2bb225f","status":"affected","version":"e7447128ca4a250374d6721ee98e3e3cf99551a6","versionType":"git"},{"lessThan":"9b796251c3cca45a33a5c859c6818c58aa982277","status":"affected","version":"e7447128ca4a250374d6721ee98e3e3cf99551a6","versionType":"git"},{"lessThan":"ada667890773e033d2f40dc94176e3beb930b516","status":"affected","version":"e7447128ca4a250374d6721ee98e3e3cf99551a6","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/gpu/drm/bridge/samsung-dsim.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.4"},{"lessThan":"6.4","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.158","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.112","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.55","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.9","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.158","versionStartIncluding":"6.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.112","versionStartIncluding":"6.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.55","versionStartIncluding":"6.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.9","versionStartIncluding":"6.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3","versionStartIncluding":"6.4","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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]"}],"providerMetadata":{"dateUpdated":"2026-10-19T09:22:32.426Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}],"title":"drm/bridge: samsung-dsim: fix TE GPIO lifetime for host attach","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-98605","datePublished":"2026-10-18T15:19:18.294Z","dateReserved":"2026-09-25T10:25:14.359Z","dateUpdated":"2026-10-19T09:22:32.426Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-18 16:17:13","lastModifiedDate":"2026-10-19 10:19:22","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98605","Ordinal":"1","Title":"drm/bridge: samsung-dsim: fix TE GPIO lifetime for host attach","CVE":"CVE-2026-98605","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98605","Ordinal":"1","NoteData":"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]","Type":"Description","Title":"drm/bridge: samsung-dsim: fix TE GPIO lifetime for host attach"}]}}}