CVE-2025-38082

published 18 Jun 2025 · updated 5 Aug 2026

gpio: virtuser: fix potential out-of-bound write

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 7118be7c6072f40391923543fdd1563b8d56377c, Kernel afe090366f470f77e140ff3407db813f57852c04 and Kernel b96feaaa0fda1e3871b438143c3446954b32d3a7.

In the Linux kernel, the following vulnerability has been resolved: gpio: virtuser: fix potential out-of-bound write If the caller wrote more characters, count is truncated to the max available space in "simple_write_to_buffer". Check that the input size does not exceed the buffer size. Write a zero termination afterwards.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.11, >=91581c4b3f29e2e22aeb1a62e842d529ca638b2d <7118be7c6072f40391923543fdd1563b8d56377c, >=91581c4b3f29e2e22aeb1a62e842d529ca638b2d <afe090366f470f77e140ff3407db813f57852c04, >=91581c4b3f29e2e22aeb1a62e842d529ca638b2d <b96feaaa0fda1e3871b438143c3446954b32d3a77118be7c6072f40391923543fdd1563b8d56377c, afe090366f470f77e140ff3407db813f57852c04, b96feaaa0fda1e3871b438143c3446954b32d3a7

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38082 severity on Zeptric[![CVE-2025-38082](https://zeptric.io/badge/cve/CVE-2025-38082.svg)](https://zeptric.io/cve/CVE-2025-38082)