CVE-2025-38516
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2025-38516 is a vulnerability in the Linux kernel's pinctrl-msm driver that was discovered and disclosed on August 16, 2025. The vulnerability affects the handling of UFS-reset pins in the TLMM (Top Level Mode Multiplexer) system, where certain pins without interrupt logic are incorrectly registered as GPIO in the kernel (NVD Database).

Technical details

The vulnerability occurs when pins with intrdetectionwidth settings not equal to 1 or 2 are requested for interrupts, triggering a BUG() in the msmgpioirqsettype() function. This can be triggered from user-space using commands like gpiomon -c 0 113 on affected platforms. The issue specifically affects the pinctrl: qcom: msm component of the Linux kernel (Debian Tracker).

Impact

When exploited, this vulnerability can cause a kernel crash due to invalid requests from user-space, potentially leading to system instability and denial of service conditions (NVD Database).

Mitigation and workarounds

The issue has been fixed in various Linux distributions with specific version updates. Debian has addressed this in bookworm (security) version 6.1.147-1 and trixie (security) version 6.12.41-1. The fix involves marking certain pins as invalid for the irq chip to prevent them from being registered as available irqs (Debian Tracker).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management