CVE-2025-38082

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

HIGH
7.8
CVSS Score
Published: June 18, 2025 at 09:35 AM UTC
Updated: August 5, 2026 at 12:44 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.11 ≤ v < 6.12.326.11 ≤ v < 6.14.106.11 ≤ v < 6.156.13 ≤ v < 6.14.106.15 rc16.15 rc26.15 rc36.15 rc46.15 rc56.15 rc691581c4b3f29e2e22aeb1a62e842d529ca638b2d
Vendor states this is fixed in 7118be7c6072f40391923543fdd1563b8d56377c (fixed)
Vendor states this is fixed in afe090366f470f77e140ff3407db813f57852c04 (fixed)
Vendor states this is fixed in b96feaaa0fda1e3871b438143c3446954b32d3a7 (fixed)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.12.32 (unaffected)
Vendor states this is fixed in 6.14.10 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7118be7c6072f40391923543fdd1563b8d56377c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/afe090366f470f77e140ff3407db813f57852c04
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b96feaaa0fda1e3871b438143c3446954b32d3a7

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card