CVE-2025-22082

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

31 Oct 2025, 20:58

Type Values Removed Values Added
First Time Linux linux Kernel
Linux
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE NVD-CWE-Other
References () https://git.kernel.org/stable/c/035b4989211dc1c8626e186d655ae8ca5141bb73 - () https://git.kernel.org/stable/c/035b4989211dc1c8626e186d655ae8ca5141bb73 - Patch
References () https://git.kernel.org/stable/c/04271a4d2740f98bbe36f82cd3d74677a839d1eb - () https://git.kernel.org/stable/c/04271a4d2740f98bbe36f82cd3d74677a839d1eb - Patch
References () https://git.kernel.org/stable/c/df3892e5e861c43d5612728ed259634675b8a71f - () https://git.kernel.org/stable/c/df3892e5e861c43d5612728ed259634675b8a71f - Patch
References () https://git.kernel.org/stable/c/fd791c81f410ab1c554686a6f486dc7a176dfe35 - () https://git.kernel.org/stable/c/fd791c81f410ab1c554686a6f486dc7a176dfe35 - Patch
Summary
  • (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.
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

16 Apr 2025, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2025-04-16 15:16

Updated : 2025-10-31 20:58


NVD link : CVE-2025-22082

Mitre link : CVE-2025-22082

CVE.ORG link : CVE-2025-22082


JSON object : View

Products Affected

linux

  • linux_kernel