CVE-2025-22082
Not scored
iio: backend: make sure to NULL terminate stack buffer
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.
Exploit probability
0.2%
Published
April 16, 2025
Required by
Not available
Last source change
August 12, 2026
02 / AFFECTED SOFTWARE
Affected packages
04 / EVIDENCE
Source records
Open Source Vulnerabilities
CVE-2025-22082
View original source
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.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/035b4989211dc1c8626e186d655ae8ca5141bb73
- https://git.kernel.org/stable/c/04271a4d2740f98bbe36f82cd3d74677a839d1eb
- https://git.kernel.org/stable/c/df3892e5e861c43d5612728ed259634675b8a71f
- https://git.kernel.org/stable/c/fd791c81f410ab1c554686a6f486dc7a176dfe35
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22082.json
- https://nvd.nist.gov/vuln/detail/CVE-2025-22082