Memory corruption via snprintf length overcount
Published Jun 18, 2025 · Updated May 11, 2026
Out-of-bounds write in the ASoC SOF debug component of Linux allows local users to corrupt kernel memory through a debugfs read. The memory_info_update function adds snprintf's would-have-been output length to its buffer offset, so truncation can advance the next write beyond the allocated buffer. Reachability requires a configured SOF device and access to its memory_info debugfs file; the debugfs root is restricted to root by default.
Summary
What happened
Out-of-bounds write in the ASoC SOF debug component of Linux allows local users to corrupt kernel memory through a debugfs read. The memory_info_update function adds snprintf's would-have-been output length to its buffer offset, so truncation can advance the next write beyond the allocated buffer. Reachability requires a configured SOF device and access to its memory_info debugfs file; the debugfs root is restricted to root by default.
The record
- CVE
- CVE-2022-50051
- Published
- Jun 18, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-787, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 18, 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=5.11
- Affected versionversion=5b10b62989219aa527ee4fa555d1995a3b70981b <1eb123ce985e6cf302ac6e3f19862d132d86fa8f
- Affected versionversion=5b10b62989219aa527ee4fa555d1995a3b70981b <a67971a17604ae7de278fb09243432459afc51e1
- Affected versionversion=5b10b62989219aa527ee4fa555d1995a3b70981b <b318b9dd2ac67f39d0338ce563879d1f59a0347a
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.
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