Local privilege escalation via negative write index
Published Dec 24, 2025 · Updated Dec 24, 2025
Out-of-bounds access in the Linux kernel user_events subsystem allows local users to gain kernel privileges via a negative write index. user_events_write_core treats the first four write bytes as a signed index but checks only whether it is below the array count, letting negative values index before the per-file event array. Exploitation requires local write access to tracefs user_events_data; the resulting bogus event-pointer dereference can disclose or corrupt kernel memory or panic the system.
Summary
What happened
Out-of-bounds access in the Linux kernel user_events subsystem allows local users to gain kernel privileges via a negative write index. user_events_write_core treats the first four write bytes as a signed index but checks only whether it is below the array count, letting negative values index before the per-file event array. Exploitation requires local write access to tracefs user_events_data; the resulting bogus event-pointer dereference can disclose or corrupt kernel memory or panic the system.
The record
- CVE
- CVE-2023-54139
- Published
- Dec 24, 2025
- Updated
- Dec 24, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 24, 2025CVE publishedPublication date reported by the CVE source.
- Dec 24, 2025Record 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.18
- Affected versionversion=7f5a08c79df35e68f1a43033450c5050f12bc155 <0489c2b2c3104b89f078dbcec8c744dfc157d3e9
- Affected versionversion=7f5a08c79df35e68f1a43033450c5050f12bc155 <4fe46b5adf18e3dc606e62c9e6a0413398a17572
- Affected versionversion=7f5a08c79df35e68f1a43033450c5050f12bc155 <cd98c93286a30cc4588dfd02453bec63c2f4acf4
- Affected versionversion=7f5a08c79df35e68f1a43033450c5050f12bc155 <fa7f2f5d1739452280c22727c4384a52b72ab5de
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