CVE-2025-22082
iio: backend: make sure to NULL terminate stack buffer
Check your servers for CVE-2025-22082
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-22082 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.1% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from cdf01e0809a4c6c7877ea52401c2a6679df7aed6, before df3892e5e861c43d5612728ed259634675b8a71f affected from cdf01e0809a4c6c7877ea52401c2a6679df7aed6, before 04271a4d2740f98bbe36f82cd3d74677a839d1eb affected from cdf01e0809a4c6c7877ea52401c2a6679df7aed6, before fd791c81f410ab1c554686a6f486dc7a176dfe35 affected from cdf01e0809a4c6c7877ea52401c2a6679df7aed6, before 035b4989211dc1c8626e186d655ae8ca5141bb73
Other versions: unaffected
|
| Linux |
affected 6.12 unaffected before 6.12 unaffected from 6.12.23 up to and including 6.12.* unaffected from 6.13.11 up to and including 6.13.* unaffected from 6.14.2 up to and including 6.14.* unaffected 6.15 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-22082 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-22082
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-22082
trivy image --scanners vuln IMAGE | grep CVE-2025-22082
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/df3892e5e861c43d5612728ed259634675b8a71f git.kernel.org
- https://git.kernel.org/stable/c/04271a4d2740f98bbe36f82cd3d74677a839d1eb git.kernel.org
- https://git.kernel.org/stable/c/fd791c81f410ab1c554686a6f486dc7a176dfe35 git.kernel.org
- https://git.kernel.org/stable/c/035b4989211dc1c8626e186d655ae8ca5141bb73 git.kernel.org
Source: the record CVE-2025-22082 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse