CVE-2025-22082
JSON

5.5medium

iio: backend: make sure to NULL terminate stack buffer

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: iio: backend: make sure to NULL terminate stack buffer Make sure to NULL terminate the buffer in iio_backend_debugfs_write_reg() before passing it to sscanf(). It is a stack variable so we should not assume it will 0 initialized.

Affected

Product or packageVersionsReported by
Linux Linuxfrom cdf01e0809a4c6c7877ea52401c2a6679df7aed6 before df3892e5e861c43d5612728ed259634675b8a71f, from cdf01e0809a4c6c7877ea52401c2a6679df7aed6 before 04271a4d2740f98bbe36f82cd3d74677a839d1eb, from cdf01e0809a4c6c7877ea52401c2a6679df7aed6 before fd791c81f410ab1c554686a6f486dc7a176dfe35, from cdf01e0809a4c6c7877ea52401c2a6679df7aed6 before 035b4989211dc1c8626e186d655ae8ca5141bb73, 6.12
Not affected: before 6.12, from 6.12.23 up to 6.12.*, from 6.13.11 up to 6.13.*, from 6.14.2 up to 6.14.*, from 6.15 up to *
CVE List
linux linux_kernelfrom 6.12 before 6.12.23, from 6.13 before 6.13.11, from 6.14 before 6.14.2NVD

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: iio: backend: make sure to NULL terminate stack buffer Make sure to NULL terminate the buffer in iio_backend_debugfs_write_reg() before passing it to sscanf(). It is a stack variable so we should not assume it will 0 initialized.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: iio: backend: asegúrese de terminar el búfer de pila con valor NULL. Asegúrese de terminar el búfer con valor NULL en iio_backend_debugfs_write_reg() antes de pasarlo a sscanf(). Al ser una variable de pila, no debemos asumir que se inicializará a 0.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-22082 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-22082 changed 2026-06-17Public domain