CVE-2025-38667
JSON

7.8high

iio: fix potential out-of-bound write

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 6d5dd486c715908b5a6ed02315a15ff044a91025 before 81a635b6eccd6fc889f6d07ab9583b705f739ce1, from 6d5dd486c715908b5a6ed02315a15ff044a91025 before 16285a0931869baa618b1f5d304e1e9d090470a8, 6.15
Not affected: before 6.15, from 6.15.9 up to 6.15.*, from 6.16 up to *
CVE List
linux linux_kernelfrom 6.15 before 6.15.9, 6.16NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: iio: se corrige una posible escritura fuera de límite. El búfer está configurado a 20 caracteres. Si quien llama escribe más caracteres, el recuento se trunca al espacio máximo disponible en "simple_write_to_buffer". Para protegerse del acceso fuera de límite, compruebe que el tamaño de entrada se ajuste al búfer y añada un terminador cero después de copiar, al final de los datos copiados.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-38667 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-38667 changed 2026-07-30Public domain