CVE-2025-22082: Linux kernel · iio: backend: make sure to NULL terminate stack buffer
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 29 Oct 2026, 23:35 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to ensure the stack buffer is NULL terminated before use. Users should update to the fixed kernel version once available. Since this is a kernel-level issue, applying the official kernel patch or upgrading to a patched kernel release is the recommended remediation.
Description
CVE-2025-22082 is a medium severity vulnerability in the Linux kernel's Industrial I/O (iio) subsystem. It involves a stack buffer that is not properly NULL terminated before being passed to sscanf(), which may lead to undefined behavior or denial of service. The issue arises because the stack variable is not guaranteed to be zero-initialized. This flaw has been resolved by ensuring the buffer is NULL terminated before use.
References
- nvd.nist.gov/vuln/detail/CVE-2025-22082 (opens in a new tab)
- git.kernel.org/stable/c/035b4989211dc1c8626e186d655ae8ca5141bb73 (opens in a new tab)
- git.kernel.org/stable/c/04271a4d2740f98bbe36f82cd3d74677a839d1eb (opens in a new tab)
- git.kernel.org/stable/c/df3892e5e861c43d5612728ed259634675b8a71f (opens in a new tab)
- git.kernel.org/stable/c/fd791c81f410ab1c554686a6f486dc7a176dfe35 (opens in a new tab)