CVE Catalog

CVE-2025-38082

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

5th percentile - higher than 5% of all known CVEs

Summary

In the Linux kernel's GPIO virtuser driver, there is a lack of input size validation before writing to the buffer. The simple_write_to_buffer function truncates data but does not check if the input size exceeds the buffer size, potentially leading to out-of-bounds write.

Risk Assessment

An attacker could exploit this vulnerability to write beyond the allowed kernel memory area, potentially leading to data corruption or privilege escalation.

Recommendation

Apply the Linux kernel patch that adds input size checking and writes a null terminator at the end of the buffer.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS