What’s Vulnerable › Vulnerabilities

CVE-2025-22082: iio: backend: make sure to NULL terminate stack buffer

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

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

Get alerted when CVE-2025-22082 or the next vulnerability affects your stack