Availability loss via unterminated debugfs stack buffer
Published Apr 16, 2025 · Updated May 11, 2026
Improper null termination in affected Linux kernel branches allows local users to cause availability loss through an IIO debugfs register file. iio_backend_debugfs_write_reg() fills a fixed-size stack buffer from user input and passes it to sscanf() without appending a null terminator. The path is mode 0600 and requires root or CAP_SYS_ADMIN; published sources identify availability impact but do not specify a demonstrated crash mode.
Summary
What happened
Improper null termination in affected Linux kernel branches allows local users to cause availability loss through an IIO debugfs register file. iio_backend_debugfs_write_reg() fills a fixed-size stack buffer from user input and passes it to sscanf() without appending a null terminator. The path is mode 0600 and requires root or CAP_SYS_ADMIN; published sources identify availability impact but do not specify a demonstrated crash mode.
The record
- CVE
- CVE-2025-22082
- Published
- Apr 16, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Apr 16, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.12
- Affected versionversion=cdf01e0809a4c6c7877ea52401c2a6679df7aed6 <035b4989211dc1c8626e186d655ae8ca5141bb73
- Affected versionversion=cdf01e0809a4c6c7877ea52401c2a6679df7aed6 <04271a4d2740f98bbe36f82cd3d74677a839d1eb
- Affected versionversion=cdf01e0809a4c6c7877ea52401c2a6679df7aed6 <df3892e5e861c43d5612728ed259634675b8a71f
- Affected versionversion=cdf01e0809a4c6c7877ea52401c2a6679df7aed6 <fd791c81f410ab1c554686a6f486dc7a176dfe35
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo