{"id":"CVE-2025-22082","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.","modified":"2026-03-20T12:41:19.081210Z","published":"2025-04-16T14:12:31.529Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22082.json","cna_assigner":"Linux"},"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"}],"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/osv-test-cve-osv-conversion/osv-output/CVE-2025-22082.json"}}],"schema_version":"1.7.5"}