Local kernel memory corruption via negative array index
Published Mar 27, 2025 · Updated Aug 5, 2026
Array-index underflow in Linux 6.1 through 6.1.10 allows local users to corrupt kernel memory via an SOF mtrace debugfs write. The sof_ipc4_priority_mask_dfs_write() parser accepts a negative signed id, checks only the upper bound, then indexes before logs_priorities_mask. Reachability requires write access to the SOF mtrace logs_priorities_mask debugfs node; exploitation permits kernel compromise or a host panic.
Summary
What happened
Array-index underflow in Linux 6.1 through 6.1.10 allows local users to corrupt kernel memory via an SOF mtrace debugfs write. The sof_ipc4_priority_mask_dfs_write() parser accepts a negative signed id, checks only the upper bound, then indexes before logs_priorities_mask. Reachability requires write access to the SOF mtrace logs_priorities_mask debugfs node; exploitation permits kernel compromise or a host panic.
The record
- CVE
- CVE-2023-52987
- Published
- Mar 27, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-129, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 27, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 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.1
- Affected versionversion=f4ea22f7aa7536560097d765be56445933d07e0d <d52f34784e4e2f6e77671a9f104d8a69a3b5d24c
- Affected versionversion=f4ea22f7aa7536560097d765be56445933d07e0d <ea57680af47587397f5005d7758022441ed66d54
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