{"id":"CVE-2026-98605","revision":"5e4f4525bdef4a2da902b7ad9484167e","records":[{"revision":"5e4f4525bdef4a2da902b7ad9484167e","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-98605","aliases":[],"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":0,"publishedAt":"2026-10-18T15:19:18.294+00:00","modifiedAt":"2026-10-19T09:22:32.426+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/gpu/drm/bridge/samsung-dsim.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"e7447128ca4a250374d6721ee98e3e3cf99551a6\",\n                            \"lessThan\": \"77a43e00c57486a5212ef22d4665cafad62a5d4b\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"e7447128ca4a250374d6721ee98e3e3cf99551a6\",\n                            \"lessThan\": \"5759bbef951c39d264ac0f47daa4137d01403aea\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"e7447128ca4a250374d6721ee98e3e3cf99551a6\",\n                            \"lessThan\": \"ebffd70e4877bb7554974cf975a27872f2bb225f\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"e7447128ca4a250374d6721ee98e3e3cf99551a6\",\n                            \"lessThan\": \"9b796251c3cca45a33a5c859c6818c58aa982277\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"e7447128ca4a250374d6721ee98e3e3cf99551a6\",\n                            \"lessThan\": \"ada667890773e033d2f40dc94176e3beb930b516\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/gpu/drm/bridge/samsung-dsim.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.4\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.4\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.158\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.112\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.55\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.9\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98605","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-98605","identifiers":["CVE-2026-98605"]},"retained":false,"historicalAffected":[]}],"coverage":[]}