{"schema_version":"1.9.0","id":"CVE-2025-22082","published":"2025-04-16T14:12:31.529Z","modified":"2026-08-12T03:51:29.148181148Z","summary":"iio: backend: make sure to NULL terminate stack buffer","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: backend: make sure to NULL terminate stack buffer\n\nMake sure to NULL terminate the buffer in\niio_backend_debugfs_write_reg() before passing it to sscanf(). It is a\nstack variable so we should not assume it will 0 initialized.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"cdf01e0809a4c6c7877ea52401c2a6679df7aed6"},{"fixed":"df3892e5e861c43d5612728ed259634675b8a71f"},{"fixed":"04271a4d2740f98bbe36f82cd3d74677a839d1eb"},{"fixed":"fd791c81f410ab1c554686a6f486dc7a176dfe35"},{"fixed":"035b4989211dc1c8626e186d655ae8ca5141bb73"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-22082.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.12.0"},{"fixed":"6.12.23"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.13.11"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.14.0"},{"fixed":"6.14.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-22082.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/035b4989211dc1c8626e186d655ae8ca5141bb73"},{"type":"WEB","url":"https://git.kernel.org/stable/c/04271a4d2740f98bbe36f82cd3d74677a839d1eb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/df3892e5e861c43d5612728ed259634675b8a71f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fd791c81f410ab1c554686a6f486dc7a176dfe35"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22082.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22082"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22082.json"}}