CVE-2025-22082

high

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.

References

https://git.kernel.org/stable/c/fd791c81f410ab1c554686a6f486dc7a176dfe35

https://git.kernel.org/stable/c/df3892e5e861c43d5612728ed259634675b8a71f

https://git.kernel.org/stable/c/04271a4d2740f98bbe36f82cd3d74677a839d1eb

https://git.kernel.org/stable/c/035b4989211dc1c8626e186d655ae8ca5141bb73

Details

Source: Mitre, NVD

Published: 2025-04-16

Updated: 2025-04-17

Risk Information

CVSS v2

Base Score: 4.9

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 7.1

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Severity: High

EPSS

EPSS: 0.00018