Skip to main content
Vulnerability Database/CVE-2026-98605

CVE-2026-98605: Linux Kernel DSI Bridge Privilege Escalation

CVE-2026-98605 is a privilege escalation vulnerability in the Linux kernel Samsung DSI bridge driver affecting GPIO resource management. This article covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-98605 Overview

CVE-2026-98605 affects the Linux kernel drm/bridge subsystem, specifically the samsung-dsim Display Serial Interface (DSI) driver. The vulnerability stems from incorrect lifetime management of the Tearing Effect (TE) GPIO descriptor during DSI host attach operations. When the Exynos DSI driver was generalized into samsung-dsim, the TE GPIO acquisition switched from gpiod_get_optional() to devm_gpiod_get_optional() while retaining the matching gpiod_put() calls. This mismatch between a managed descriptor and manual release calls creates incorrect GPIO lifetime handling that can be triggered through host detach and reattach cycles.

Critical Impact

Repeated DSI host attach/detach operations can request the same GPIO without proper release, causing resource leaks and potential driver initialization failures on affected Samsung DSI hardware.

Affected Products

  • Linux kernel versions containing the generalized samsung-dsim DRM bridge driver
  • Systems using Samsung MIPI DSI controllers (including Exynos SoCs)
  • Devices relying on TE GPIO signaling for display panels

Discovery Timeline

  • 2026-10-18 - CVE-2026-98605 published to NVD
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-98605

Vulnerability Analysis

The samsung-dsim driver manages a TE GPIO used to synchronize display refresh with panel tearing effect signals. The flaw occurs at the intersection of two conflicting resource management patterns: device-managed (devm) allocation and explicit cleanup. Device-managed descriptors obtained through devm_gpiod_get_optional() are automatically released when the owning device is destroyed. Pairing them with explicit gpiod_put() calls causes a mismatch in reference counting and lifetime assumptions.

The driver's samsung_dsim_register_te_irq() function runs from the DSI host attach callback. A host detach followed by a reattach can occur without destroying the parent device. Under those conditions, a second attach attempts to acquire the GPIO again without a prior release of the managed descriptor from the first attach.

Root Cause

The root cause is improper resource lifetime management, a configuration and design flaw. The upstream fix reverts to the non-managed gpiod_get_optional() acquisition pattern and preserves the explicit gpiod_put() calls in both the request_irq() error path and in samsung_dsim_unregister_te_irq(). This restores symmetric manual acquisition and release semantics appropriate for a descriptor whose lifetime is bound to attach/detach rather than device teardown.

Attack Vector

Triggering the issue requires local control over DSI host attach and detach events on hardware exposing the samsung-dsim driver with a configured TE GPIO. The condition is not remotely exploitable and depends on specific kernel configurations and board topologies. Impact is limited to kernel resource handling on the affected driver path. See the upstream commits referenced in the Linux Kernel Commit 5759bbef and related patches for the exact code transitions.

Detection Methods for CVE-2026-98605

Indicators of Compromise

  • Kernel log entries referencing samsung-dsim GPIO acquisition failures during repeated DSI host attach cycles
  • Warnings or errors from the GPIO subsystem indicating a descriptor is already requested when samsung_dsim_register_te_irq() runs a second time
  • Display subsystem initialization failures after panel reconnect or driver module reload

Detection Strategies

  • Inventory kernel builds and identify systems running samsung-dsim with a configured TE GPIO on panel device tree nodes
  • Compare installed kernel versions against the fixed commits published on git.kernel.org stable trees
  • Monitor kernel ring buffer output through dmesg for GPIO request failures correlated with DSI attach events

Monitoring Recommendations

  • Centralize kernel log collection from embedded and Exynos-based Linux fleets to detect driver-level anomalies
  • Track vendor and distribution kernel advisories referencing drm/bridge and samsung-dsim
  • Validate that update management processes include DRM subsystem patches on devices with Samsung DSI panels

How to Mitigate CVE-2026-98605

Immediate Actions Required

  • Apply the upstream Linux kernel patches that restore gpiod_get_optional() for the TE GPIO in samsung-dsim
  • Rebuild and deploy affected kernel images on devices using Samsung DSI panels with TE GPIO configurations
  • Validate panel initialization and TE interrupt behavior after update, including suspend/resume and module reload scenarios

Patch Information

Fixes are available in the mainline and stable Linux kernel trees via the following commits: Linux Kernel Commit 5759bbef, Linux Kernel Commit 77a43e00, Linux Kernel Commit 9b796251, Linux Kernel Commit ada66789, and Linux Kernel Commit ebffd70e. Downstream distribution and vendor kernels should pick up these backports.

Workarounds

  • Avoid repeated DSI host detach and reattach cycles on affected unpatched kernels where feasible
  • Where panel configuration permits, disable TE GPIO usage in the device tree until patched kernels are deployed
  • Restrict local access to interfaces that can trigger DRM driver reinitialization on affected hardware
bash
# Verify installed kernel version and search for the samsung-dsim fix
uname -r
grep -R "samsung_dsim_register_te_irq" /lib/modules/$(uname -r)/ 2>/dev/null
dmesg | grep -iE "samsung-dsim|gpiod"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.