CVE Catalog

CVE-2025-38667

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.14%

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

Summary

In the IIO (Industrial I/O) subsystem in the Linux kernel, a potential out-of-bound write vulnerability was found. The buffer is 20 characters long, and the simple_write_to_buffer function truncates data, but there is no check whether the input data fits in the buffer before copying.

Risk Assessment

An attacker could write data beyond the allocated buffer, potentially leading to kernel memory corruption, system crash, or arbitrary code execution.

Recommendation

Update the Linux kernel to a version containing the fix that adds a check of the input data size before copying and adds a null terminator at the end of the copied data.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: iio: fix potential out-of-bound write The buffer is set to 20 characters. If a caller write more characters, count is truncated to the max available space in "simple_write_to_buffer". To protect from OoB access, check that the input size fit into buffer and add a zero terminator after copy to the end of the copied data.

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