What’s Vulnerable › Vulnerabilities
CVE-2025-22082: iio: backend: make sure to NULL terminate stack buffer
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-04-16 · updated 2026-06-17
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.
Affected products
- Linux kernel: from 6.12 before 6.12.23; from 6.13 before 6.13.11; from 6.14 before 6.14.2 — fixed in 6.12.23, 6.13.11, 6.14.2
How to fix
Upgrade to a fixed version: Linux kernel 6.12.23, 6.13.11, 6.14.2. Check the vendor advisory for mitigations.
References
- 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
Get alerted when CVE-2025-22082 or the next vulnerability affects your stack